feat: Add app frame template

- All frame pages use app frame template
- Add form page to frames and add header
This commit is contained in:
sthag 2025-06-23 22:08:31 +02:00
parent 0c37acf47f
commit e572f64259
6 changed files with 29 additions and 70 deletions

View file

@ -18,7 +18,7 @@
{% endblock %}
</head>
<body class="{{ bodyClass }}">
<body class="{{ bodyClass if bodyClass else 'body_frame' }}">
{% block body %}{% endblock %}
{% block script %}

View file

@ -0,0 +1,17 @@
<!-- frame.app.template -->
{% extends "hippie/_app.njk" %}
{% import "hippie/macros/_io.njk" as io %}
{% block head %}
{{ super() }}
{% endblock %}
{% block links %}
{{ super() }}
<link href="/vendor/bootstrap-icons/font/bootstrap-icons.min.css" rel="stylesheet">
<link href="{{ pageBase }}css/ui.css" media="all" rel="stylesheet"/>
{% endblock %}
{% block script %}
{{ super() }}
{% endblock %}