1
1
<!DOCTYPE html>
2
- < html lang ="en ">
2
+ < html >
3
+
3
4
< head >
4
- < meta charset ="UTF-8 ">
5
5
< title > {% block title %} {% endblock %}AssetCheckout</ title >
6
- < style >
7
- nav a {
8
- color : # d64161 ;
9
- font-size : 2em ;
10
- margin-left : 5px ;
11
- text-decoration : none;
12
-
13
-
14
- }
15
- nav a : not (: first-child ): before {
16
- content : " | " ;
17
- }
18
-
19
- .alert {
20
- padding : 20px ;
21
- margin : 5px ;
22
- color : # 970020 ;
23
- background-color : # ffd5de ;
24
- }
25
-
26
- table , th , td {
27
- border : 1px solid black;
28
- }
29
- </ style >
6
+ < link rel ="stylesheet " href ="{{ url_for('static', filename='css/min.css') }} ">
7
+ {{ bootstrap.load_css() }}
8
+ < nav class ="navbar navbar-expand-lg navbar-dark bg-primary ">
9
+ < div class ="container-fluid ">
10
+ < a class ="navbar-brand " href ="# "> Asset Manager</ a >
11
+ < button class ="navbar-toggler " type ="button " data-bs-toggle ="collapse " data-bs-target ="#navbarColor01 "
12
+ aria-controls ="navbarColor01 " aria-expanded ="false " aria-label ="Toggle navigation ">
13
+ < span class ="navbar-toggler-icon "> </ span >
14
+ </ button >
15
+ < div class ="collapse navbar-collapse " id ="navbarColor01 ">
16
+ < ul class ="navbar-nav me-auto ">
17
+ < li class ="nav-item ">
18
+ < a class ="nav-link " href ="{{ url_for('index') }} "> Home
19
+ </ a >
20
+ </ li >
21
+ < li class ="nav-item ">
22
+ < a class ="nav-link " href ="{{ url_for('checkin') }} "> Check In
23
+ </ a >
24
+ </ li >
25
+ < li class ="nav-item ">
26
+ < a class ="nav-link " href ="{{ url_for('checkout') }} "> Check Out
27
+ </ a >
28
+ </ li >
29
+ < li class ="nav-item dropdown ">
30
+ < a class ="nav-link dropdown-toggle " data-bs-toggle ="dropdown " href ="# " role ="button "
31
+ aria-haspopup ="true " aria-expanded ="false "> Create</ a >
32
+ < div class ="dropdown-menu ">
33
+ < a class ="dropdown-item " href ="{{ url_for('create_asset') }} "> Create Asset</ a >
34
+ < a class ="dropdown-item " href ="{{ url_for('staff_create') }} "> Create Staff</ a >
35
+ < div class ="dropdown-divider "> </ div >
36
+ < a class ="dropdown-item " href ="{{ url_for('bulk_import') }} "> Bulk Import</ a >
37
+ </ div >
38
+ </ li >
39
+ < li class ="nav-item dropdown ">
40
+ < a class ="nav-link dropdown-toggle " data-bs-toggle ="dropdown " href ="# " role ="button "
41
+ aria-haspopup ="true " aria-expanded ="false "> Status</ a >
42
+ < div class ="dropdown-menu ">
43
+ < a class ="dropdown-item " href ="{{ url_for('status') }} "> Asset Status</ a >
44
+ < a class ="dropdown-item " href ="{{ url_for('staff') }} "> Staff List</ a >
45
+ </ div >
46
+ </ li >
47
+ < li class ="nav-item ">
48
+ < a class ="nav-link " href ="{{ url_for('history') }} "> History
49
+ </ a >
50
+ </ li >
51
+ </ ul >
52
+ <!-- <form class="d-flex">
53
+ <input class="form-control me-sm-2" type="search" placeholder="Search">
54
+ <button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>
55
+ </form> -->
56
+ </ div >
57
+ </ div >
58
+ </ nav >
30
59
</ head >
60
+
31
61
< body >
32
- < nav >
33
- < a href ="{{ url_for('index') }} "> Home</ a >
34
- < a href ="{{ url_for('create_asset') }} "> Create Asset</ a >
35
- < a href ="{{ url_for('checkin') }} "> Check In</ a >
36
- < a href ="{{ url_for('checkout') }} "> Check Out</ a >
37
- < a href ="{{ url_for('status') }} "> Asset Status</ a >
38
- < a href ="{{ url_for('staff_create') }} "> Create Staff</ a >
39
- < a href ="{{ url_for('staff') }} "> Staff</ a >
40
- < a href ="{{ url_for('bulk_import') }} "> Bulk Import</ a >
41
- < a href ="{{ url_for('history') }} "> History</ a >
42
- <!-- <a href="{{ url_for('status') }}">Asset Status</a>
43
- <a href="{{ url_for('status') }}">Asset Status</a>
44
- -->
45
- < a href ="# "> About</ a >
46
-
47
- </ nav >
48
62
< hr >
49
63
< div class ="content ">
50
64
{% for message in get_flashed_messages() %}
51
- < div class ="alert "> {{ message }}</ div >
65
+ < div class ="alert alert-danger "> {{ message }}</ div >
52
66
{% endfor %}
53
67
{% block content %} {% endblock %}
54
68
</ div >
69
+ {{ bootstrap.load_js() }}
55
70
</ body >
56
- </ html >
71
+
72
+ </ html >
0 commit comments