forked from ScoDoc/ScoDoc
Add modeline to all jinja2 templates
This commit is contained in:
parent
0fe5cdb409
commit
25deaaae7f
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'base.html' %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'base.html' %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
@ -5,14 +6,14 @@
|
||||
|
||||
<h2>Utilisateur: {{user.user_name}} ({{'actif' if user.active else 'fermé'}})</h2>
|
||||
<p>
|
||||
<b>Login :</b> {{user.user_name}}<br/>
|
||||
<b>Nom :</b> {{user.nom or ""}}<br/>
|
||||
<b>Prénom :</b> {{user.prenom or ""}}<br/>
|
||||
<b>Mail :</b> {{user.email}}<br/>
|
||||
<b>Roles :</b> {{user.get_roles_string()}}<br/>
|
||||
<b>Dept :</b> {{user.dept or ""}}<br/>
|
||||
<b>Login :</b> {{user.user_name}}<br>
|
||||
<b>Nom :</b> {{user.nom or ""}}<br>
|
||||
<b>Prénom :</b> {{user.prenom or ""}}<br>
|
||||
<b>Mail :</b> {{user.email}}<br>
|
||||
<b>Roles :</b> {{user.get_roles_string()}}<br>
|
||||
<b>Dept :</b> {{user.dept or ""}}<br>
|
||||
<b>Dernière modif mot de passe:</b>
|
||||
{{user.date_modif_passwd.isoformat() if user.date_modif_passwd else ""}}<br/>
|
||||
{{user.date_modif_passwd.isoformat() if user.date_modif_passwd else ""}}<br>
|
||||
<b>Date d'expiration:</b>
|
||||
{{user.date_expiration.isoformat() if user.date_expiration else "(sans limite)"}}
|
||||
<p>
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'bootstrap/base.html' %}
|
||||
|
||||
{% block styles %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "sco_page.html" %}
|
||||
|
||||
{% block styles %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "sco_page.html" %}
|
||||
|
||||
{% block app_content %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "sco_page.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% macro render_field(field) %}
|
||||
<div>
|
||||
<span class="wtf-field">{{ field.label }} :</span>
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'base.html' %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,11 +1,13 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'base.html' %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
{% block title %}Une erreur est survenue !{% endblock %}
|
||||
{% block body %}
|
||||
<h1>Une erreur est survenue !</h1>
|
||||
<p>Oups...</tt> <span style="color:red;"><b>ScoDoc version <span style="font-size: 120%;">{{SCOVERSION}}</span></b></span> a
|
||||
un problème, désolé.</p>
|
||||
<p>Oups...</tt> <span style="color:red;"><b>ScoDoc version
|
||||
<span style="font-size: 120%;">{{SCOVERSION}}</span></b></span>
|
||||
a un problème, désolé.</p>
|
||||
<p><tt style="font-size:60%">{{date}}</tt></p>
|
||||
|
||||
<p> Si le problème persiste, contacter l'administrateur de votre site,
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'base.html' %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{# Description un semestre (barre de menu et infos) #}
|
||||
<!-- formsemestre_header -->
|
||||
<div class="formsemestre_page_title">
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'base.html' %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{# Chapeau description d'une formation #}
|
||||
|
||||
<div class="formation_descr">
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{# Édition liste modules APC (SAÉ ou ressources) #}
|
||||
|
||||
<div class="formation_list_modules formation_list_modules_{{module_type.name}}">
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
<h2>Édition des coefficients des modules vers les UEs</h2>
|
||||
<div class="help">
|
||||
Double-cliquer pour changer une valeur.
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{# Édition liste UEs APC #}
|
||||
<div class="formation_list_ues">
|
||||
<div class="formation_list_ues_titre">Unités d'Enseignement (UEs)</div>
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{# Informations sur une UE #}
|
||||
{% extends "sco_page.html" %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'bootstrap/base.html' %}
|
||||
|
||||
{% block styles %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'base.html' %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'base.html' %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{{ sco_header|safe }}
|
||||
<h2 class="formsemestre">Affectation aux groupes de {{ partition["partition_name"] }}</h2>
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block app_content %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
{# -*- mode: jinja-raw -*- #}
|
||||
Importation des photo effectuée
|
||||
|
||||
{% if ignored_zipfiles %}
|
||||
|
@ -1,4 +1,5 @@
|
||||
{# Barre marge gauche ScoDoc #}
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
<!-- sidebar -->
|
||||
<div class="sidebar">
|
||||
{# sidebar_common #}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{# -*- mode: jinja-html -*- #}
|
||||
<h2 class="insidebar"><a href="{{
|
||||
url_for('scolar.index_html', scodoc_dept=g.scodoc_dept)
|
||||
}}">Dépt. {{ prefs["DeptName"] }}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user