base_page.html
5.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!doctype html>
<html lang="fr">
<head>
{% include 'heads.html' %}
<link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css"/>
</head>
<body>
<nav class="navbar navbar-dark sticky-top bg-dark navbar-expand-lg p-1">
<a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#">Plan de Charges</a>
<ul class="navbar-nav ml-auto">
{% if not current_user.is_anonymous %}
<li class="nav-item">
<span class="navbar-brand">{{current_user.name}}</span>
</li>
<li class="nav-item text-nowrap">
<a class="nav-link" href="{{ url_for('auth.logout') }}">Déconnection</a>
</li>
{% else %}
<li class="nav-item text-nowrap">
<a class="nav-link" href="{{ url_for('auth.login') }}">Connection</a>
</li>
{% endif %}
</ul>
</nav>
<div id="v-bar" class="container-fluid">
<div class="row">
<nav class="col-md-2 d-none d-md-block bg-light sidebar mt-3">
<div class="sidebar-sticky">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link active" href="#">
<span data-feather="home"></span>
accueil
</a>
</li>
<li class="nav-item">
<a aria-expanded="false" class="nav-link" data-target="#agent" data-toggle="collapse" href="#">
<span data-feather="user"></span>
Agent
</a>
<ul aria-expanded="false" class="collapse" id="agent">
<li><a class=" " href="{{url_for('main.agents')}}">Liste des agents</a></li>
<li><a class=" disabled" href="#">Statistiques</a></li>
<li><a class=" disabled" href="#">Liste des responsabilités</a></li>
<li><a class=" " href="{{url_for('main.capacities')}}">Liste des fonctions</a></li>
<li><a class=" disabled" href="#">Liste des compétences</a></li>
<li><a class=" disabled" href="#">Liste des pôles</a></li>
<li><a class=" disabled" href="#">Liste des emplois types</a></li>
</ul>
</li>
<li class="nav-item">
<a aria-expanded="false" class="nav-link" data-target="#projet" data-toggle="collapse" href="#">
<span data-feather="file"></span>
Projet
</a>
<ul aria-expanded="false" class="collapse" id="projet">
<li><a class=" " href="{{url_for('main.projects')}}">Liste des projets</a></li>
<li><a class=" disabled" href="#">Statistiques</a></li>
<li><a class=" disabled" href="#">Listes des domaines</a></li>
<li><a class=" disabled" href="#">Listes des statuts de projets</a></li>
</ul>
</li>
<li class="nav-item">
<a aria-expanded="false" class="nav-link" data-target="#service" data-toggle="collapse" href="#">
<span data-feather="home"></span>
Service
</a>
<ul aria-expanded="false" class="collapse" id="service">
<li><a class=" " href="{{url_for('main.services')}}">Liste des services</a></li>
<li><a class=" disabled" href="#">Statistiques</a></li>
</ul>
</li>
<li class="nav-item">
<a aria-expanded="false" class="nav-link" data-target="#cds" data-toggle="collapse" href="#">
<span data-feather="users"></span>
Chef de service
</a>
<ul aria-expanded="false" class="collapse" id="cds">
<li><a class=" disabled" href="#">Renseigner le statut d'un agent pour un semestre</a></li>
<li><a class=" " href="#">Affecter un agent à un projet/service</a></li>
<li><a class=" disabled" href="#">Création agent virtuel</a></li>
<li><a class=" disabled" href="#">Charge totale des agents</a></li>
<li><a class=" disabled" href="#">Détails des charges</a></li>
<li><a class=" disabled" href="#">Graphiques personnalisés</a></li>
</ul>
</li>
<li class="nav-item">
<a aria-expanded="false" class="nav-link" data-target="#admin" data-toggle="collapse" href="#">
<span data-feather="settings"></span>
Administrateur
</a>
<ul aria-expanded="false" class="collapse" id="admin">
<li><a class=" disabled" href="#">Nouveau projet</a></li>
<li><a class=" disabled" href="#">Nouveau service</a></li>
<li><a class=" disabled" href="#">Nouvelle compétence</a></li>
<li><a class=" disabled" href="#">Nouvelle fonction</a></li>
<li><a class=" disabled" href="#">Nouveau domaine</a></li>
<li><a class=" disabled" href="#">Nouvelle responsabilité</a></li>
<li><a class=" disabled" href="#">Affecter un responsable de projet</a></li>
<li><a class=" disabled" href="#">Affecter un responsable de service</a></li>
<li><a class=" " href="#">Liste des semestres</a></li>
<li><a class=" disabled" href="#">Nouveau semestre</a></li>
</ul>
</li>
</ul>
</div>
<footer class="footer">
{% include 'copy.html' %}
</footer>
</nav>
<main class="container" role="main">
<h2 class="sub-header">{{subtitle}}</h2>
{% include 'flash-messages.html' %}
{% block content %}
{% endblock %}
</main>
</div>
</div>
{% include 'bs4-scripts.html' %}
<!-- Icons -->
<script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script>
<script>
feather.replace()
</script>
</body>
</html>