diff --git a/advlabdb/templates/admin_base.jinja.html b/advlabdb/templates/admin_base.jinja.html new file mode 100644 index 0000000..90519f4 --- /dev/null +++ b/advlabdb/templates/admin_base.jinja.html @@ -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")}} + +
+{% endblock %} diff --git a/advlabdb/templates/assistant_base.jinja.html b/advlabdb/templates/assistant_base.jinja.html new file mode 100644 index 0000000..33d7f90 --- /dev/null +++ b/advlabdb/templates/assistant_base.jinja.html @@ -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")}} + +
+{% endblock %} diff --git a/advlabdb/templates/base.jinja.html b/advlabdb/templates/base.jinja.html new file mode 100644 index 0000000..9f09525 --- /dev/null +++ b/advlabdb/templates/base.jinja.html @@ -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 %}