mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Add base templates
This commit is contained in:
parent
a47db07f3b
commit
4ba9c3e5bb
3 changed files with 26 additions and 0 deletions
8
advlabdb/templates/admin_base.jinja.html
Normal file
8
advlabdb/templates/admin_base.jinja.html
Normal 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 %}
|
8
advlabdb/templates/assistant_base.jinja.html
Normal file
8
advlabdb/templates/assistant_base.jinja.html
Normal 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 %}
|
10
advlabdb/templates/base.jinja.html
Normal file
10
advlabdb/templates/base.jinja.html
Normal 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 %}
|
Loading…
Reference in a new issue