Changeset ae042f4 for src/main/resources/templates
- Timestamp:
- 01/04/23 02:49:26 (23 months ago)
- Branches:
- main
- Children:
- ab952ab
- Parents:
- 6832924
- Location:
- src/main/resources/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/filteredParts.html
r6832924 rae042f4 1 1 <div> 2 2 <h1>Резултат од филтерот</h1> 3 <a th:href="${'/ '}">Врати се на сите производи</a>3 <a th:href="${'/products'}">Врати се на сите производи</a> 4 4 5 5 <table> -
src/main/resources/templates/fragments/header.html
r6832924 rae042f4 1 <header >1 <header xmlns:sec="http://www.w3.org/1999/xhtml"> 2 2 <nav class="navbar navbar-expand-md navbar-dark bg-dark"> 3 3 <div class="container"> … … 19 19 20 20 <ul class="nav navbar-nav navbar-right"> 21 21 <th:block th:if="${#request.getRemoteUser() != null}"> 22 22 <li class="nav-item"> 23 <a class="nav-link" href="#"> 24 <!-- <th:block th:if="${#request.getRemoteUser() != null}"--> 25 <!-- th:text="${#request.getRemoteUser()}"></th:block>--> 23 <a class="btn btn-success btn-sm ml-3" href="/register"> 24 <th:block th:text="${#request.getRemoteUser()}"></th:block> 26 25 </a> 27 26 </li> 27 </th:block> 28 <th:block th:if="${#request.getRemoteUser() == null}"> 28 29 <li class="nav-item"> 29 30 <a class="btn btn-success btn-sm ml-3" href="/register"> … … 31 32 </a> 32 33 </li> 33 <li class="nav-item"> 34 </th:block> 35 <th:block th:if="${#request.getRemoteUser() != null}"> 36 <li class="nav-item" sec:authorize="isAuthenticated()"> 34 37 <a class="btn btn-light btn-sm ml-3" href="/logout"> 35 <i class="fa fa-shopping-cart"></i> Одјави се 38 <i class="fa fa-shopping-cart"></i> 39 Одјави се 36 40 </a> 37 41 </li> 42 </th:block> 43 <th:block th:if="${#request.getRemoteUser() == null}"> 38 44 <li class="nav-item"> 39 45 <a class="btn btn-light btn-sm ml-3" href="/login"> … … 41 47 </a> 42 48 </li> 49 </th:block> 43 50 </ul> 44 51 </div>
Note:
See TracChangeset
for help on using the changeset viewer.