Changeset 7888b17 for src/main/resources/templates
- Timestamp:
- 10/07/21 20:37:55 (3 years ago)
- Branches:
- master
- Children:
- b8a8d06
- Parents:
- ee0e297
- Location:
- src/main/resources/templates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/album.html
ree0e297 r7888b17 35 35 </select> 36 36 </div> 37 <div class="col-md-2"> 38 <label class="form-label" for="groupBy">Group by</label> 39 <select class="input-group-text" id="groupBy"> 40 <option value="all">All</option> 41 <option value="completed">Completed</option> 42 <option value="expired">Expired</option> 43 </select> 44 </div> 37 45 </div> 38 46 <br> -
src/main/resources/templates/common/navbar.html
ree0e297 r7888b17 23 23 </li> 24 24 <li class="nav-item"> 25 <a sec:authorize="isAnonymous() or hasAuthority('USER')" th:href="@{/album?page=1&sort=id }" class="nav-link px-2 text-white">Posts</a>25 <a sec:authorize="isAnonymous() or hasAuthority('USER')" th:href="@{/album?page=1&sort=id&order=desc&groupBy=all}" class="nav-link px-2 text-white">Posts</a> 26 26 <a sec:authorize="hasAuthority('MODERATOR')" th:href="@{/moderator/approval?page=1&sort=id}" class="nav-link px-2 text-white">Posts for approval</a> 27 27 </li> -
src/main/resources/templates/post.html
ree0e297 r7888b17 67 67 Donate 68 68 </button> 69 < a sec:authorize="isAnonymous()" type="button" class="btn btn-primary" th:href="@{/login}">69 <button sec:authorize="isAnonymous()" type="button" class="btn btn-primary" disabled> 70 70 Donate 71 </ a>72 <button type="button" class="btn btn-danger" data-bs-toggle="modal"71 </button> 72 <button sec:authorize="isAuthenticated()" type="button" class="btn btn-danger" data-bs-toggle="modal" 73 73 data-bs-target="#staticBackdrop1"> 74 74 Report 75 75 </button> 76 <button sec:authorize="isAnonymous()" type="button" class="btn btn-danger" disabled> 77 Report 78 </button> 76 79 77 80 <!-- Modal --> 78 <div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">81 <div sec:authorize="isAuthenticated()" class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"> 79 82 <div class="modal-dialog modal-dialog-centered"> 80 83 <div class="modal-content"> … … 136 139 </div> 137 140 </div> 138 <div class="modal fade" id="staticBackdrop1" data-bs-backdrop="static" data-bs-keyboard="false"141 <div sec:authorize="isAuthenticated()" class="modal fade" id="staticBackdrop1" data-bs-backdrop="static" data-bs-keyboard="false" 139 142 tabindex="-1" aria-labelledby="staticBackdropLabel1" aria-hidden="true"> 140 143 <div class="modal-dialog modal-dialog-centered">
Note:
See TracChangeset
for help on using the changeset viewer.