Blame view

app/templates/base_page.html 6.34 KB
a6745c24   hitier   Include boostrap
1
<!doctype html>
2d7fcc61   hitier   New base page emb...
2
3
<html lang="en">
<head>
e5230891   hitier   Add bootstrap imp...
4
5
6
7
8
9
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1" name="viewport">
  <link href="{{ url_for('static', filename='img/pdc.png') }}" rel="icon"/>
  <link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet" type="text/css"/>
  <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css"/>
  <title>{% if title %} {{title}} {% else %}Plan de Charge{%endif%}</title>
2d7fcc61   hitier   New base page emb...
10
11
12
</head>
<body>

e5230891   hitier   Add bootstrap imp...
13
14
  <header>
  </header>
2d7fcc61   hitier   New base page emb...
15

e5230891   hitier   Add bootstrap imp...
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
  <nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0">
    <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#">Plan de Charges</a>
    <ul class="navbar-nav px-3">
      <li class="nav-item text-nowrap">
        <a class="nav-link" href="#">Sign out</a>
      </li>
    </ul>
  </nav>

  <div class="container-fluid">
    <div class="row">
      <nav class="col-md-2 d-none d-md-block bg-light sidebar">
        <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="text-muted" ref="#">Liste des agents</a></li>
                <li><a class="text-muted" ref="#">Statistiques</a></li>
                <li><a class="text-muted" ref="#">Liste des responsabilités</a></li>
                <li><a class="text-muted" ref="#">Liste des fonctions</a></li>
                <li><a class="text-muted" ref="#">Liste des compétences</a></li>
                <li><a class="text-muted" ref="#">Liste des pôles</a></li>
                <li><a class="text-muted" ref="#">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="text-muted" ref="#">Liste des projets</a></li>
                <li><a class="text-muted" ref="#">Statistiques</a></li>
                <li><a class="text-muted" ref="#">Listes des domaines</a></li>
                <li><a class="text-muted" ref="#">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="text-muted" ref="#">Liste des services</a></li>
                <li><a class="text-muted" ref="#">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="text-muted" ref="#">Renseigner le statut d'un agent pour un semestre</a></li>
                <li><a class="text-muted" ref="#">Affecter un agent à un projet/service</a></li>
                <li><a class="text-muted" ref="#">Création agent virtuel</a></li>
                <li><a class="text-muted" ref="#">Charge totale des agents</a></li>
                <li><a class="text-muted" ref="#">Détails des charges</a></li>
                <li><a class="text-muted" ref="#">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="text-muted" href="#">Nouveau projet</a></li>
                <li><a class="text-muted" href="#">Nouveau service</a></li>
                <li><a class="text-muted" href="#">Nouvelle compétence</a></li>
                <li><a class="text-muted" href="#">Nouvelle fonction</a></li>
                <li><a class="text-muted" href="#">Nouveau domaine</a></li>
                <li><a class="text-muted" href="#">Nouvelle responsabilité</a></li>
                <li><a class="text-muted" href="#">Affecter un responsable de projet</a></li>
                <li><a class="text-muted" href="#">Affecter un responsable de service</a></li>
                <li><a class="text-muted" href="#">Liste des semestres</a></li>
                <li><a class="text-muted" href="#">Nouveau semestre</a></li>
2d7fcc61   hitier   New base page emb...
104

e5230891   hitier   Add bootstrap imp...
105
106
107
108
109
110
111
112
113
114
115
116
              </ul>
            </li>
          </ul>
        </div>
        <footer class="footer">
          <div class="container">
            <p class="text-muted">
              © 2021 IRAP - Plan de Charge - <span>{{ config.VERSION }}</span>
            </p>
          </div>
        </footer>
      </nav>
2d7fcc61   hitier   New base page emb...
117

e5230891   hitier   Add bootstrap imp...
118
119
120
121
122
123
124
125
126
127
128
129
130
131
      <main class="container" role="main">
        {% with messages = get_flashed_messages(with_categories=true) %}
        {% if messages %}
        <div id="messages">
          {% for level, message in messages %}
          <div class="alert alert-{{level}}" role="alert">{{ message }}</div>
          {% endfor %}
        </div>
        {% endif %}
        {% endwith %}

        {%block content%}
        {%endblock%}
      </main>
2d7fcc61   hitier   New base page emb...
132
133

    </div>
e5230891   hitier   Add bootstrap imp...
134
135
136
137
  </div>


  <!-- Begin page content -->
2d7fcc61   hitier   New base page emb...
138

2d7fcc61   hitier   New base page emb...
139

e5230891   hitier   Add bootstrap imp...
140
141
142
143
144
145
146
  <script src="{{ url_for('static', filename='js/jquery-3.6.0.min.js') }}" type="text/javascript"></script>
  <script src="{{ url_for('static', filename='js/bootstrap.bundle.min.js') }}" type="text/javascript"></script>
  <!-- Icons -->
  <script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script>
  <script>
    feather.replace()
  </script>
a6745c24   hitier   Include boostrap
147
</body>
2d7fcc61   hitier   New base page emb...
148
</html>