overseer/views/layout.twig

39 lines
1.3 KiB
Twig
Raw Permalink Normal View History

2022-11-01 18:09:46 -04:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %} | Overseer</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<link rel="stylesheet" href="/css/gargoyle.css">
2022-11-01 18:09:46 -04:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
2022-11-04 17:53:42 -04:00
<script src="/js/nechryael.min.js"></script>
2022-11-01 18:09:46 -04:00
</head>
<body>
<!-- global navigation -->
<nav id="nav-bar">
<div class="nav-bar-left">
2022-11-01 18:09:46 -04:00
<ul>
<li class="site-logo">Overseer</li>
<li class="nav-link"><a href="/">Home</a></li>
2022-11-02 13:45:40 -04:00
<li class="nav-link"><a href="/item/search">Search</a></li>
<li class="nav-link"><a href="/item/add">Add Item</a></li>
<li class="nav-link"><a href="/license/add">Add License</a></li>
2022-11-01 18:09:46 -04:00
</ul>
</div>
</nav>
{% if flash != null %}
<div class="flash-message {{ flash.type }}">
<p>{{ flash.msg }}</p>
</div>
{% endif %}
2022-11-01 18:09:46 -04:00
<!-- main content -->
<div id="main-content" class="container fluid">
2022-11-01 18:09:46 -04:00
{% block content %}{% endblock %}
</div>
</body>
</html>