Files
escarmouche/templates/base.html
T
2023-02-05 09:57:26 -05:00

33 lines
1.1 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ledger</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.27.5/css/uikit.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.27.5/js/uikit.min.js"></script>
<script src="https://unpkg.com/htmx.org@1.8.5"></script>
</head>
<body>
<nav class="uk-navbar">
<a href="/" class="uk-navbar-brand">Ledger</a>
<ul class="uk-navbar-nav">
{% set nav_bar_items = [{'id': 'overview', 'label': 'Overview'},
{'id': 'actions', 'label': 'Actions'}]%}
{% for itm in nav_bar_items %}
<li class="{% if active_navbar_item == itm.id %}uk-active"{% else %} uk-parent {% endif %}"><a href="{{ itm.id }}">{{ itm.label }}</a></li>
{% endfor %}
</ul>
</nav>
<div class="uk-grid">
<div class="uk-width-2-3 uk-container-center">
{% block body %}
{% endblock %}
</div>
</div>
</body>
</html>