2021-07-04 12:32:13 +02:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% import 'bootstrap/wtf.html' as wtf %}
|
|
|
|
|
|
|
|
{% block app_content %}
|
2021-09-11 15:59:06 +02:00
|
|
|
<h2>ScoDoc 9 - suivi scolarité</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
|
2021-09-05 12:30:11 +02:00
|
|
|
{{dept.preferences.filter_by(name="DeptName").first().value}}</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 %}
|
2021-12-23 16:03:30 +01:00
|
|
|
{% if current_user.is_administrator() %}
|
|
|
|
<li><a href="{{ url_for('scodoc.create_dept') }}">créer un nouveau département</a></li>
|
|
|
|
{% endif %}
|
2021-07-04 12:32:13 +02:00
|
|
|
</ul>
|
|
|
|
|
2021-08-17 22:11:35 +02:00
|
|
|
|
2021-07-28 09:51:18 +02:00
|
|
|
{% if current_user.is_authenticated %}
|
2021-09-09 08:03:43 +02:00
|
|
|
<form action="{{url_for('scodoc.table_etud_in_accessible_depts')}}" method="POST">
|
2021-07-04 12:32:13 +02:00
|
|
|
<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-09-10 23:18:27 +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-09-10 23:18:27 +02:00
|
|
|
</div> -->
|
2021-07-04 12:32:13 +02:00
|
|
|
|
2021-09-11 15:59:06 +02:00
|
|
|
<div style="margin-top: 1cm;">
|
|
|
|
Service réservé aux personnels et enseignants, basé sur <a href="{{url_for('scodoc.about')}}">le logiciel libre
|
|
|
|
ScoDoc.</a>
|
|
|
|
</div>
|
|
|
|
|
2021-07-04 12:32:13 +02:00
|
|
|
{% endblock %}
|