Last change
on this file since fc7ec52 was fc7ec52, checked in by darkopopovski <darkopopovski39@…>, 2 years ago |
all files
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | <head> <link rel="stylesheet" type="text/css" th:href="@{../css/masterCss.css}"/></head>
|
---|
2 | <header xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.w3.org/1999/xhtml" style="
|
---|
3 | padding: 30px 10%;
|
---|
4 | max-width: 100%;
|
---|
5 | height: 15%;
|
---|
6 | background-color: rgba(0, 0, 0, 0.5);
|
---|
7 | border: none;">
|
---|
8 | <a href="/home"><img class="logo" th:src="@{../images/LOGOPNG2.png}" alt="logo"></a>
|
---|
9 | <p style="font-size:20px;color: white;margin-right: 10px;margin-top: 7px ">
|
---|
10 | Welcome:</p><th:block th:if="${#request.getRemoteUser()!=null}"
|
---|
11 | th:text="${#request.getRemoteUser()}"/>
|
---|
12 | <ul class="nav_links">
|
---|
13 | <li><a href="/movies">MOVIES</a></li>
|
---|
14 | <li><a href="/projections">PROJECTIONS</a></li>
|
---|
15 | <li><a href="/auditoriums" style="margin-right: 5px">AUDITORIUMS</a></li>
|
---|
16 | </ul>
|
---|
17 | <div class="right">
|
---|
18 |
|
---|
19 |
|
---|
20 | <div sec:authorize="isAuthenticated()">
|
---|
21 | <a href="/logout"style="margin-right: 10px" >Log out</a>
|
---|
22 | </div>
|
---|
23 | <div sec:authorize="!isAuthenticated()">
|
---|
24 | <a href="/login" style="margin-right: 40px" >Log in</a>
|
---|
25 | <a href="/register" style="margin-right: 55px" >Register</a>
|
---|
26 | </div>
|
---|
27 | <!-- <a class="reg" href="/register">LOGIN</a>-->
|
---|
28 | <!-- <a class="log" href="/login">REGISTER</a>-->
|
---|
29 | </div>
|
---|
30 | </header>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.