diff --git a/advlabdb/routes.py b/advlabdb/routes.py
index 53ef7f6..56aef3e 100644
--- a/advlabdb/routes.py
+++ b/advlabdb/routes.py
@@ -8,7 +8,9 @@ from .models import Semester
@app.context_processor
def util_processor():
- return dict(active_semester_repr=active_semester_repr, current_user=current_user)
+ author_email = "mo8it@proton.me"
+ footer = f"
This website is still under development (beta release)! If you have any questions, find any bugs or want some feature, please write a formless email to Mo Bitar: {author_email}
"
+ return dict(active_semester_repr=active_semester_repr, current_user=current_user, footer=footer)
@app.route("/")
diff --git a/advlabdb/templates/actions.html b/advlabdb/templates/actions.html
index a430add..5d8da97 100644
--- a/advlabdb/templates/actions.html
+++ b/advlabdb/templates/actions.html
@@ -2,7 +2,7 @@
{% extends "admin/master.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="admin")}}
+ {{ information(current_user, active_semester_repr, role="admin") }}
@@ -10,4 +10,6 @@
{{ form.csrf_token }}
{{ form.manualUpdateFinalExperimentAndPartMarksSubmit }}
+
+ {{ footer|safe }}
{% endblock body %}
diff --git a/advlabdb/templates/admin_create.html b/advlabdb/templates/admin_create.html
index 83de68c..5fc796c 100644
--- a/advlabdb/templates/admin_create.html
+++ b/advlabdb/templates/admin_create.html
@@ -2,6 +2,9 @@
{% extends "admin/model/create.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="admin")}}
+ {{ information(current_user, active_semester_repr, role="admin") }}
+
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/admin_details.html b/advlabdb/templates/admin_details.html
index 7c5e7a5..e8b3272 100644
--- a/advlabdb/templates/admin_details.html
+++ b/advlabdb/templates/admin_details.html
@@ -2,6 +2,9 @@
{% extends "admin/model/details.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="admin")}}
+ {{ information(current_user, active_semester_repr, role="admin") }}
+
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/admin_edit.html b/advlabdb/templates/admin_edit.html
index cc7909d..46f3015 100644
--- a/advlabdb/templates/admin_edit.html
+++ b/advlabdb/templates/admin_edit.html
@@ -2,6 +2,9 @@
{% extends "admin/model/edit.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="admin")}}
+ {{ information(current_user, active_semester_repr, role="admin") }}
+
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/admin_index.html b/advlabdb/templates/admin_index.html
index b6405fa..71c25c1 100644
--- a/advlabdb/templates/admin_index.html
+++ b/advlabdb/templates/admin_index.html
@@ -2,11 +2,13 @@
{% extends "admin/index.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="admin")}}
+ {{ information(current_user, active_semester_repr, role="admin") }}
- {{missing_final_experiment_marks(number_of_missing_final_experiment_marks, number_of_all_experiment_marks)}}
+ {{ missing_final_experiment_marks(number_of_missing_final_experiment_marks, number_of_all_experiment_marks) }}
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/admin_list.html b/advlabdb/templates/admin_list.html
index 6c4b324..14c6fa2 100644
--- a/advlabdb/templates/admin_list.html
+++ b/advlabdb/templates/admin_list.html
@@ -2,6 +2,9 @@
{% extends "admin/model/list.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="admin")}}
+ {{ information(current_user, active_semester_repr, role="admin") }}
+
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/assistant_create.html b/advlabdb/templates/assistant_create.html
index edf8fe6..e6a7cd7 100644
--- a/advlabdb/templates/assistant_create.html
+++ b/advlabdb/templates/assistant_create.html
@@ -2,6 +2,9 @@
{% extends "admin/model/create.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="assistant")}}
+ {{ information(current_user, active_semester_repr, role="assistant") }}
+
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/assistant_details.html b/advlabdb/templates/assistant_details.html
index 4d2ca18..1d90ede 100644
--- a/advlabdb/templates/assistant_details.html
+++ b/advlabdb/templates/assistant_details.html
@@ -2,6 +2,9 @@
{% extends "admin/model/details.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="assistant")}}
+ {{ information(current_user, active_semester_repr, role="assistant") }}
+
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/assistant_edit.html b/advlabdb/templates/assistant_edit.html
index a5be786..655c843 100644
--- a/advlabdb/templates/assistant_edit.html
+++ b/advlabdb/templates/assistant_edit.html
@@ -2,6 +2,9 @@
{% extends "admin/model/edit.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="assistant")}}
+ {{ information(current_user, active_semester_repr, role="assistant") }}
+
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/assistant_index.html b/advlabdb/templates/assistant_index.html
index a6068df..32649bc 100644
--- a/advlabdb/templates/assistant_index.html
+++ b/advlabdb/templates/assistant_index.html
@@ -2,11 +2,13 @@
{% extends "admin/index.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="assistant")}}
+ {{ information(current_user, active_semester_repr, role="assistant") }}
{{missing_final_experiment_marks(number_of_missing_final_experiment_marks, number_of_all_experiment_marks)}}
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/assistant_list.html b/advlabdb/templates/assistant_list.html
index 62098e0..c557120 100644
--- a/advlabdb/templates/assistant_list.html
+++ b/advlabdb/templates/assistant_list.html
@@ -2,6 +2,9 @@
{% extends "admin/model/list.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="assistant")}}
+ {{ information(current_user, active_semester_repr, role="assistant") }}
+
{{ super() }}
+
+ {{ footer|safe }}
{% endblock %}
diff --git a/advlabdb/templates/import.html b/advlabdb/templates/import.html
index 005986c..bf48787 100644
--- a/advlabdb/templates/import.html
+++ b/advlabdb/templates/import.html
@@ -2,7 +2,7 @@
{% extends "admin/master.html" %}
{% block body %}
- {{information(current_user, active_semester_repr, role="admin")}}
+ {{ information(current_user, active_semester_repr, role="admin") }}
@@ -21,4 +21,6 @@
{{ form.file.description }}
+
+ {{ footer|safe }}
{% endblock body %}