webs unified
This commit is contained in:
22
web/templates/ui/base.html
Normal file
22
web/templates/ui/base.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{#
|
||||
The shell every full page extends. A page template overrides `title`,
|
||||
optionally `head` (extra scripts) and `body_class`, and always `content`.
|
||||
|
||||
Every page struct must carry a `nav: crate::ui::Nav` field, because the
|
||||
navbar component below reads it.
|
||||
#}
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block title %}Komp Accounting{% endblock %} · Komp Accounting</title>
|
||||
<link rel="stylesheet" href="/static/app.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/htmx.org@2/dist/htmx.min.js"></script>
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% include "ui/navbar.html" %}
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user