mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Add assistant_container
This commit is contained in:
parent
5ec7df9069
commit
00ef2890c6
2 changed files with 13 additions and 1 deletions
|
@ -194,7 +194,7 @@ class AssistantUserView(SecureAssistantModelView):
|
||||||
class AssistantDocsView(SecureAssistantBaseView):
|
class AssistantDocsView(SecureAssistantBaseView):
|
||||||
@expose("/")
|
@expose("/")
|
||||||
def index(self):
|
def index(self):
|
||||||
return self.render("docs/assistant.html")
|
return self.render("docs/assistant_container.html")
|
||||||
|
|
||||||
|
|
||||||
assistantSpace.add_view(
|
assistantSpace.add_view(
|
||||||
|
|
12
advlabdb/templates/docs/assistant_container.html
Normal file
12
advlabdb/templates/docs/assistant_container.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{% from "macros.html" import information %}
|
||||||
|
{% extends "admin/master.html" %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
{{ information(current_user, active_semester_repr, role="assistant") }}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
{% include "docs/assistant.html" %}
|
||||||
|
|
||||||
|
{{ footer|safe }}
|
||||||
|
{% endblock body %}
|
Loading…
Reference in a new issue