diff --git a/app/templates/about.html b/app/templates/about.html index 2dc50691..0b2eed38 100644 --- a/app/templates/about.html +++ b/app/templates/about.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends 'base.html' %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/auth/change_password.html b/app/templates/auth/change_password.html index 2bec7762..57db80c7 100644 --- a/app/templates/auth/change_password.html +++ b/app/templates/auth/change_password.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/auth/login.html b/app/templates/auth/login.html index d636e053..1764e2d2 100644 --- a/app/templates/auth/login.html +++ b/app/templates/auth/login.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends 'base.html' %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/auth/register.html b/app/templates/auth/register.html index 35e6a2ab..3c720079 100644 --- a/app/templates/auth/register.html +++ b/app/templates/auth/register.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/auth/reset_password.html b/app/templates/auth/reset_password.html index 261e37db..fdf1215a 100644 --- a/app/templates/auth/reset_password.html +++ b/app/templates/auth/reset_password.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} @@ -5,7 +6,7 @@
-Login : {{user.user_name}}
-Nom : {{user.nom or ""}}
-Prénom : {{user.prenom or ""}}
-Mail : {{user.email}}
-Roles : {{user.get_roles_string()}}
-Dept : {{user.dept or ""}}
-Dernière modif mot de passe:
-{{user.date_modif_passwd.isoformat() if user.date_modif_passwd else ""}}
-Date d'expiration:
-{{user.date_expiration.isoformat() if user.date_expiration else "(sans limite)"}}
+ Login : {{user.user_name}}
+ Nom : {{user.nom or ""}}
+ Prénom : {{user.prenom or ""}}
+ Mail : {{user.email}}
+ Roles : {{user.get_roles_string()}}
+ Dept : {{user.dept or ""}}
+ Dernière modif mot de passe:
+ {{user.date_modif_passwd.isoformat() if user.date_modif_passwd else ""}}
+ Date d'expiration:
+ {{user.date_expiration.isoformat() if user.date_expiration else "(sans limite)"}}
Se déconnecter: -logout -
+Se déconnecter: + logout +
{% endif %} {# Liste des permissions #} {% if current_user.has_permission(Permission.ScoUsersAdmin, dept) %} diff --git a/app/templates/base.html b/app/templates/base.html index 815ba7b7..adf70171 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends 'bootstrap/base.html' %} {% block styles %} diff --git a/app/templates/but/bulletin.html b/app/templates/but/bulletin.html index 27146ed4..ff0682fc 100644 --- a/app/templates/but/bulletin.html +++ b/app/templates/but/bulletin.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "sco_page.html" %} {% block styles %} diff --git a/app/templates/but/refcomp_assoc.html b/app/templates/but/refcomp_assoc.html index 1b30d463..9f8335be 100644 --- a/app/templates/but/refcomp_assoc.html +++ b/app/templates/but/refcomp_assoc.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/but/refcomp_load.html b/app/templates/but/refcomp_load.html index caac1a5e..9bf70470 100644 --- a/app/templates/but/refcomp_load.html +++ b/app/templates/but/refcomp_load.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/but/refcomp_show.html b/app/templates/but/refcomp_show.html index 07e45543..fb7357d2 100644 --- a/app/templates/but/refcomp_show.html +++ b/app/templates/but/refcomp_show.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "sco_page.html" %} {% block app_content %} diff --git a/app/templates/but/refcomp_table.html b/app/templates/but/refcomp_table.html index 2095dc9f..6c7b05f0 100644 --- a/app/templates/but/refcomp_table.html +++ b/app/templates/but/refcomp_table.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "sco_page.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/config_dept.html b/app/templates/config_dept.html index c602c5f3..bb5ed80c 100644 --- a/app/templates/config_dept.html +++ b/app/templates/config_dept.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% macro render_field(field) %}Oups... ScoDoc version {{SCOVERSION}} a - un problème, désolé.
+Oups... ScoDoc version + {{SCOVERSION}} + a un problème, désolé.
{{date}}
Si le problème persiste, contacter l'administrateur de votre site, diff --git a/app/templates/error_access_denied.html b/app/templates/error_access_denied.html index 5a765b76..516361d5 100644 --- a/app/templates/error_access_denied.html +++ b/app/templates/error_access_denied.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends 'base.html' %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/formsemestre_header.html b/app/templates/formsemestre_header.html index 441a3287..aa8464ef 100644 --- a/app/templates/formsemestre_header.html +++ b/app/templates/formsemestre_header.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {# Description un semestre (barre de menu et infos) #}