Commit | Line | Data |
---|---|---|
9a85768a | 1 | {% extends 'base.html' %} |
2 | ||
3b596c16 | 3 | {% block extrahead %} |
63f8af95 OL |
4 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/tablesorter.css" media="screen"/> |
5 | <script type="text/javascript" src="{{ STATIC_URL }}js/jquery-1.5.1.min.js"></script> | |
6 | <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.tablesorter.min.js"></script> | |
3b596c16 | 7 | <script> |
25524bf7 | 8 | $(document).ready(function() { |
3b596c16 OL |
9 | $(".tablesorter").tablesorter({ |
10 | dateFormat: 'uk', | |
11 | headers: { | |
12 | 3: {sorter: "shortDate"}, | |
92741270 | 13 | 4: {sorter: "shortDate"} |
3b596c16 OL |
14 | } |
15 | } | |
25524bf7 | 16 | ); |
3b596c16 | 17 | }); |
25524bf7 | 18 | </script> |
3b596c16 OL |
19 | {% endblock %} |
20 | ||
0140cbd2 | 21 | {% block title %}RH - DAE - Postes{% endblock %} |
9a85768a | 22 | {% block titre %}Ressources humaines{% endblock %} |
47560eb5 | 23 | {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %} |
9a85768a | 24 | |
25 | {% block main %} | |
189b6306 | 26 | <h1>Liste des demandes d'autorisation de poste</h1> |
9a85768a | 27 | |
515124ec OL |
28 | <h2>Mes postes à traiter</h2> |
29 | {% if postes_a_traiter %} | |
3b596c16 OL |
30 | <table class="tablesorter"> |
31 | <thead>{% include "dae/poste-header.html" %}</thead> | |
32 | <tbody> | |
515124ec | 33 | {% for poste in postes_a_traiter %} |
3b596c16 | 34 | {% include "dae/poste-row.html" %} |
515124ec | 35 | {% endfor %} |
3b596c16 | 36 | </tbody> |
515124ec OL |
37 | </table> |
38 | {% else %} | |
39 | <p>Vous n'avez aucun poste à traiter.</p> | |
40 | {% endif %} | |
41 | ||
42 | <h2>Les postes en cours de validation</h2> | |
25524bf7 | 43 | {% if postes_en_cours %} |
3b596c16 OL |
44 | <table class="tablesorter"> |
45 | <thead>{% include "dae/poste-header.html" %}</thead> | |
46 | <tbody> | |
25524bf7 | 47 | {% for poste in postes_en_cours %} |
3b596c16 | 48 | {% include "dae/poste-row.html" %} |
515124ec | 49 | {% endfor %} |
3b596c16 | 50 | </tbody> |
515124ec OL |
51 | </table> |
52 | {% else %} | |
53 | <p>Il n'y a aucun poste en cours de validation.</p> | |
54 | {% endif %} | |
9a85768a | 55 | {% endblock %} |