Blame view

app/templates/base_page.html 6 KB
a6745c24   hitier   Include boostrap
1
<!doctype html>
6d5cc0de   hitier   Head is now included
2
<html lang="fr">
2d7fcc61   hitier   New base page emb...
3
<head>
6d5cc0de   hitier   Head is now included
4
  {% include 'heads.html' %}
e5230891   hitier   Add bootstrap imp...
5
  <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css"/>
2d7fcc61   hitier   New base page emb...
6
7
</head>
<body>
ee92fad7   hitier   Fix navbar
8
  <nav class="navbar navbar-dark sticky-top bg-dark navbar-expand-lg p-1">
a0d4c329   hitier   New logo colors
9
10
    <img class="mb-0" src="{{ url_for('static', filename='img/pdc-ico.png') }}" height="30" width="30"/>
    <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="{{url_for('main.index')}}">Plan de Charges</a>
ee92fad7   hitier   Fix navbar
11
12
13
14
15
    <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>
a49732b5   hitier   Add current user ...
16
      <li class="nav-item text-nowrap">
25040dc3   hitier   Tiny ihm fixies
17
        <a class="nav-link" href="{{ url_for('auth.logout') }}">Déconnection</a>
59f42c31   hitier   Allow logout
18
      </li>
59f42c31   hitier   Allow logout
19
    {% else %}
59f42c31   hitier   Allow logout
20
      <li class="nav-item text-nowrap">
25040dc3   hitier   Tiny ihm fixies
21
        <a class="nav-link" href="{{ url_for('auth.login') }}">Connection</a>
e5230891   hitier   Add bootstrap imp...
22
      </li>
59f42c31   hitier   Allow logout
23
    {% endif %}
cbe1461d   hitier   Fix closing ul in...
24
    </ul>
e5230891   hitier   Add bootstrap imp...
25
26
  </nav>

69488a56   hitier   Styling vertical ...
27
  <div id="v-bar" class="container-fluid">
e5230891   hitier   Add bootstrap imp...
28
    <div class="row">
ee92fad7   hitier   Fix navbar
29
      <nav class="col-md-2 d-none d-md-block bg-light sidebar mt-3">
e5230891   hitier   Add bootstrap imp...
30
31
32
33
34
35
36
37
38
39
40
41
42
43
        <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">
d6836d5e   hitier   Agents list
44
                <li><a class=" " href="{{url_for('main.agents')}}">Liste des agents</a></li>
69488a56   hitier   Styling vertical ...
45
46
                <li><a class=" disabled" href="#">Statistiques</a></li>
                <li><a class=" disabled" href="#">Liste des responsabilités</a></li>
980708a2   hitier   Capacities list
47
                <li><a class=" " href="{{url_for('main.capacities')}}">Liste des fonctions</a></li>
69488a56   hitier   Styling vertical ...
48
49
50
                <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>
e5230891   hitier   Add bootstrap imp...
51
52
53
54
55
56
57
58
              </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">
3dae0d18   hitier   Projects list
59
                <li><a class=" " href="{{url_for('main.projects')}}">Liste des projets</a></li>
69488a56   hitier   Styling vertical ...
60
61
62
                <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>
e5230891   hitier   Add bootstrap imp...
63
64
65
66
67
68
69
70
              </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">
a7e64a99   hitier   Services list
71
                <li><a class=" " href="{{url_for('main.services')}}">Liste des services</a></li>
69488a56   hitier   Styling vertical ...
72
                <li><a class=" disabled" href="#">Statistiques</a></li>
e5230891   hitier   Add bootstrap imp...
73
74
75
76
77
78
79
80
              </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">
69488a56   hitier   Styling vertical ...
81
                <li><a class=" disabled" href="#">Renseigner le statut d'un agent pour un semestre</a></li>
412b041b   hitier   Add charge
82
                <li><a class=" " href="{{url_for('main.add_charge')}}">Affecter un agent à un projet/service</a></li>
69488a56   hitier   Styling vertical ...
83
84
85
86
                <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>
e5230891   hitier   Add bootstrap imp...
87
88
89
90
91
92
93
94
95
              </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">

69488a56   hitier   Styling vertical ...
96
97
98
99
100
101
102
103
                <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>
6cbf4b75   hitier   Periods list
104
                <li><a class=" " href="{{url_for('main.periods')}}">Liste des périodes</a></li>
69488a56   hitier   Styling vertical ...
105
                <li><a class=" disabled" href="#">Nouveau semestre</a></li>
2d7fcc61   hitier   New base page emb...
106

e5230891   hitier   Add bootstrap imp...
107
108
109
110
111
              </ul>
            </li>
          </ul>
        </div>
        <footer class="footer">
e90be54b   hitier   Copyright footer ...
112
          {% include 'copy.html' %}
e5230891   hitier   Add bootstrap imp...
113
114
        </footer>
      </nav>
2d7fcc61   hitier   New base page emb...
115

e5230891   hitier   Add bootstrap imp...
116
      <main class="container" role="main">
d2dcb89e   hitier   Styling pages sub...
117
118
        <h2 class="sub-header">{{subtitle}}</h2>

a49732b5   hitier   Add current user ...
119
120
121
        {% include 'flash-messages.html' %}
        {% block content %}
        {% endblock %}
e5230891   hitier   Add bootstrap imp...
122
      </main>
2d7fcc61   hitier   New base page emb...
123
124

    </div>
e5230891   hitier   Add bootstrap imp...
125
126
127
  </div>


c854a098   hitier   New included temp...
128
  {% include 'bs4-scripts.html' %}
e5230891   hitier   Add bootstrap imp...
129
130
131
132
133
  <!-- Icons -->
  <script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script>
  <script>
    feather.replace()
  </script>
a6745c24   hitier   Include boostrap
134
</body>
2d7fcc61   hitier   New base page emb...
135
</html>