-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavtop.html
51 lines (42 loc) · 972 Bytes
/
navtop.html
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
<style>
body{background-color: #f0f0f0;}
nav {
background-color: #2196F3; /* Bleu caractéristique de Fluent Design */
overflow: hidden;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
nav li {
float: left;
}
nav li a {
display:
block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
nav li a:hover {
background-color:
#0069c0;
}
</style>
<nav>
<ul>
<li><a href="{{ url_for('overview') }}">Overview</a></li>
{% if user['is_admin'] == True %}
<li><a href="{{ url_for('model_list') }}">Model</a></li>
{% endif %}
{% if global_variable.need_update == True %}
<li><a href="{{ url_for('update') }}">Update</a></li>
{% endif %}
<li><a href="{{ url_for('user_management') }}">{{user['username']}}</a></li>
<li><a href="{{ url_for('logout') }}">Logout </a></li>
</ul>
</nav>