1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-19 18:31:16 +00:00

Add base templates

This commit is contained in:
Mo 2022-10-09 02:58:28 +02:00
parent a47db07f3b
commit 4ba9c3e5bb
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{% from "macros.jinja.html" import information %}
{% extends "base.jinja.html" %}
{% block pre_content %}
{{ information(current_user, active_semester_str, role="admin")}}
<hr>
{% endblock %}

View file

@ -0,0 +1,8 @@
{% from "macros.jinja.html" import information %}
{% extends "base.jinja.html" %}
{% block pre_content %}
{{ information(current_user, active_semester_str, role="assistant")}}
<hr>
{% endblock %}

View file

@ -0,0 +1,10 @@
{% from "macros.jinja.html" import render_footer %}
{% extends "admin/master.html" %}
{% block body %}
{% block pre_content %}{% endblock %}
{% block content required %}{% endblock %}
{{ render_footer(footer) }}
{% endblock %}