1- < nav class ="navbar navbar-expand-md navbar-dark bg-dark fixed-top " th:fragment =" navbar " >
2- < a class ="navbar-brand " href =" # " > Vehicle Renting Portal </ a >
3- < button class ="navbar-toggler " type =" button " data-toggle =" collapse "
4- data-target =" #navbarsExampleDefault "
5- aria-controls =" navbarsExampleDefault " aria-expanded =" false "
6- aria-label =" Toggle navigation " >
7- < span class =" navbar-toggler-icon " > </ span >
8- </ button >
9-
10- < div class =" collapse navbar-collapse " id =" navbarsExampleDefault " >
11- < ul class ="navbar-nav mr-auto ">
12- < li class ="nav-item active " > < a class =" nav-link " th:href =" @{/clerk/home} " > Home
13- < span class ="sr-only " > (current) </ span >
14- </ a > </ li >
15-
16- < li class =" nav-item dropdown " > < a href =" # "
17- class ="nav-link dropdown-toggle " data-toggle =" dropdown "
18- > Manage Client Records </ a >
19- < div class =" dropdown-menu dropdown-menu-right " >
20- < a th:href =" @{/clerk/clientRecord/add} " class ="dropdown-item " > Add Client Record </ a >
21- < a th:href ="@{/clerk/clientRecord} " class ="dropdown-item " > View Client Records </ a >
22- </ div >
23- </ li >
24-
25- < li class =" nav-item dropdown " > < a href =" # "
26- class ="nav-link dropdown-toggle " data-toggle =" dropdown "
27- > Manage Vehicle Records </ a >
28- < div class =" dropdown-menu dropdown-menu-right " >
29- < a th:href =" @{/common/vehicleRecord} " class ="dropdown-item " > View Vehicle Records </ a >
30- </ div >
31- </ li >
32-
33- < li class =" nav-item dropdown " > < a href =" # "
34- class ="nav-link dropdown-toggle " data-toggle =" dropdown "
35- > Manage Reservations </ a >
36- < div class =" dropdown-menu dropdown-menu-right " >
37- < a th:href =" @{/clerk/reservation/add} " class ="dropdown-item " > Create Reservation </ a >
38- < a th:href ="@{/clerk/reservation/cancel } " class ="dropdown-item " > Cancel Reservation </ a >
39- </ div >
40- </ li >
41-
42- < li class =" nav-item " > < a class =" nav-link " th:href =" @{/clerk/reservation/returnView} " > Return Vehicle
43- < span class ="sr-only " > (current) </ span >
44- </ a > </ li >
45-
46- </ ul >
47-
48-
49-
50- < ul class =" nav navbar-nav ml-auto " >
51- < li class =" nav-item dropdown " > < a href =" # "
52- class ="nav-link dropdown-toggle " data-toggle =" dropdown "
53- th:utext =" ${username} "> </ a >
54- < div class ="dropdown-menu dropdown-menu-right " >
55- < a th:href =" @{/profile/changepassword} " class =" dropdown-item " > Change
56- Password </ a >
57- < div class ="dropdown-divider "> </ div >
58- < a th:href ="@{/logout} " class ="dropdown-item "> Logout</ a >
59- </ div > </ li >
60- </ ul >
61-
62- </ div >
63- </ nav >
1+ < nav class ="navbar navbar-expand-md navbar-dark bg-dark fixed-top "
2+ th:fragment ="navbar " >
3+ < a class ="navbar-brand " href =" # " > Vehicle Renting Portal </ a >
4+ < button class =" navbar-toggler " type =" button " data-toggle =" collapse "
5+ data-target =" # navbarsExampleDefault "
6+ aria-controls =" navbarsExampleDefault " aria-expanded =" false "
7+ aria-label =" Toggle navigation " >
8+ < span class =" navbar-toggler-icon " > </ span >
9+ </ button >
10+
11+ < div class ="collapse navbar-collapse " id =" navbarsExampleDefault ">
12+ < ul class ="navbar- nav mr-auto " >
13+ < li class ="nav-item active " > < a class =" nav-link "
14+ th:href =" @{/clerk/home} " > Home < span class =" sr-only " > (current) </ span >
15+ </ a > </ li >
16+
17+ < li class ="nav-item dropdown " > < a href =" # "
18+ class =" nav-link dropdown-toggle " data-toggle =" dropdown " > Manage
19+ Client Records </ a >
20+ < div class ="dropdown-menu dropdown-menu-right " >
21+ < a th:href ="@{/clerk/clientRecord/add } " class ="dropdown-item ">
22+ Add Client Record </ a > < a th:href =" @{/clerk/clientRecord} "
23+ class =" dropdown-item " > View Client Records </ a >
24+ </ div > </ li >
25+
26+ < li class ="nav-item dropdown " > < a href =" # "
27+ class =" nav-link dropdown-toggle " data-toggle =" dropdown " > Manage
28+ Vehicle Records </ a >
29+ < div class ="dropdown-menu dropdown-menu-right " >
30+ < a th:href =" @{/common/vehicleRecord} " class =" dropdown-item " > View
31+ Vehicle Records </ a >
32+ </ div > </ li >
33+
34+ < li class ="nav-item dropdown " > < a href =" # "
35+ class =" nav-link dropdown-toggle " data-toggle =" dropdown " > Manage
36+ Reservations </ a >
37+ < div class ="dropdown-menu dropdown-menu-right " >
38+ < a th:href ="@{/clerk/reservation/add } " class ="dropdown-item "> Create
39+ Reservation </ a > < a th:href =" @{/clerk/reservation/cancel} "
40+ class =" dropdown-item " > Cancel Reservation </ a >
41+ </ div > </ li >
42+
43+ < li class ="nav-item " > < a class =" nav-link "
44+ th:href =" @{/clerk/reservation/returnView} " > Return Vehicle < span
45+ class =" sr-only " > (current) </ span >
46+ </ a > </ li >
47+
48+ </ ul >
49+
50+
51+
52+ < ul class ="nav navbar-nav ml-auto " >
53+ < li class =" nav-item dropdown "> < a href =" # "
54+ class ="nav-link dropdown-toggle " data-toggle =" dropdown "
55+ th:utext =" ${username} " > </ a >
56+ < div class =" dropdown-menu dropdown-menu-right " >
57+ < div class ="dropdown-divider "> </ div >
58+ < a th:href ="@{/logout} " class ="dropdown-item "> Logout</ a >
59+ </ div > </ li >
60+ </ ul >
61+
62+ </ div >
63+ </ nav >
0 commit comments