2021-07-04 12:32:13 +02:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% import 'bootstrap/wtf.html' as wtf %}
|
|
|
|
|
|
|
|
{% block app_content %}
|
2021-09-04 11:37:46 +02:00
|
|
|
<h2>ScoDoc: gestion scolarité (version béta)</h2>
|
2021-07-04 12:32:13 +02:00
|
|
|
|
2021-07-05 00:07:17 +02:00
|
|
|
{% if not current_user.is_anonymous %}
|
|
|
|
<p>Bonjour <font color="red"><b>{{current_user.get_nomcomplet()}}</b>
|
|
|
|
</font>.</p>
|
2021-07-04 12:32:13 +02:00
|
|
|
<p>N'oubliez pas de vous <a href="{{url_for('auth.logout')}}">déconnecter</a> après usage.</p>
|
2021-07-05 00:07:17 +02:00
|
|
|
{% endif %}
|
2021-07-04 12:32:13 +02:00
|
|
|
|
|
|
|
<ul class="main">
|
2021-08-13 09:31:49 +02:00
|
|
|
{% for dept in depts %}
|
2021-07-04 12:32:13 +02:00
|
|
|
<li>
|
2021-08-13 09:31:49 +02:00
|
|
|
<a class="stdlink {{'link_accessible' if current_user.has_permission(Permission.ScoView, dept=dept.acronym) else 'link_unauthorized'}}"
|
|
|
|
href="{{url_for('scolar.index_html', scodoc_dept=dept.acronym)}}">Département
|
|
|
|
{{dept.acronym}}</a>
|
2021-07-04 12:32:13 +02:00
|
|
|
</li>
|
2021-08-17 14:15:15 +02:00
|
|
|
{% else %}
|
|
|
|
<li>
|
|
|
|
<b>Aucun département défini !</b>
|
|
|
|
</li>
|
2021-07-04 12:32:13 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
|
2021-08-17 22:11:35 +02:00
|
|
|
<p>
|
2021-09-04 11:37:46 +02:00
|
|
|
<font color="red">Ceci est une version de test,
|
2021-08-17 22:11:35 +02:00
|
|
|
ne pas utiliser en production !</font>
|
|
|
|
</p>
|
|
|
|
|
2021-07-28 09:51:18 +02:00
|
|
|
{% if current_user.is_authenticated %}
|
2021-07-04 12:32:13 +02:00
|
|
|
<form action="table_etud_in_accessible_depts" method="POST">
|
|
|
|
<b>Chercher étudiant:</b>
|
|
|
|
<input type="text" name="expnom" width="12" spellcheck="false" value="">
|
|
|
|
<input type="submit" value="Chercher">
|
|
|
|
<br />(entrer une partie du nom ou le code NIP, cherche dans tous les départements autorisés)
|
|
|
|
</form>
|
2021-07-28 09:51:18 +02:00
|
|
|
{% endif %}
|
2021-07-04 12:32:13 +02:00
|
|
|
|
2021-08-17 22:11:35 +02:00
|
|
|
<div style="margin-top: 1cm;">
|
|
|
|
<p><a href="/ScoDoc/static/mobile">Charger la version mobile (expérimentale)</a></p>
|
2021-07-04 12:32:13 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|