2026-02-17 08:42:33 +00:00
|
|
|
<!doctype html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
{% if title %}
|
|
|
|
|
<title>{{ title }}</title>
|
|
|
|
|
{% else %}
|
2026-02-19 16:42:57 +00:00
|
|
|
<title>{{ get_setting('butterbox_name') }}</title>
|
2026-02-17 08:42:33 +00:00
|
|
|
{% endif %}
|
2026-02-19 16:42:57 +00:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma.min.css') }}">
|
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/butter_styles.css') }}">
|
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='font-awesome-4.7.0/css/font-awesome.min.css') }}">
|
|
|
|
|
<script src="{{ url_for('static', filename='navbar.js') }}"></script>
|
2026-02-17 08:42:33 +00:00
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="container">
|
2026-02-18 13:17:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<nav class="navbar" role="navigation" aria-label="main navigation">
|
2026-02-19 16:42:57 +00:00
|
|
|
|
2026-02-18 13:17:22 +00:00
|
|
|
<div class="navbar-brand">
|
2026-02-19 16:42:57 +00:00
|
|
|
<a class="navbar-item" href="/"><img class="image" src="{{ get_setting('butterbox_logo') }}"></a>
|
|
|
|
|
<a role="button" class="navbar-burger" is-active="true" aria-label="menu" aria-expanded="false" data-target="navbarBasic">
|
2026-02-18 13:17:22 +00:00
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
2026-02-19 16:42:57 +00:00
|
|
|
<div id="navbarBasic" class="navbar-menu">
|
2026-02-18 13:17:22 +00:00
|
|
|
<div class="navbar-start">
|
2026-02-19 16:42:57 +00:00
|
|
|
<a href="{{ url_for('admin') }}" class="navbar-item">Admin
|
2026-02-18 13:17:22 +00:00
|
|
|
</a>
|
2026-02-19 16:42:57 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="navbar-end">
|
|
|
|
|
{% block navbar_logout %}{% endblock %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-02-18 13:17:22 +00:00
|
|
|
</nav>
|
2026-02-17 08:42:33 +00:00
|
|
|
|
2026-02-17 15:05:59 +00:00
|
|
|
<div class="content"> </div>
|
2026-02-17 08:42:33 +00:00
|
|
|
{% with messages = get_flashed_messages() %}
|
|
|
|
|
{% if messages %}
|
|
|
|
|
<div class="notification">
|
|
|
|
|
<ul>
|
|
|
|
|
{% for message in messages %}
|
|
|
|
|
<li>{{ message }}</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endwith %}
|
2026-02-17 15:05:59 +00:00
|
|
|
|
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
|
|
2026-02-17 08:42:33 +00:00
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|