Changeset 0c37625 for src/main/resources/templates/reportedPosts.html
- Timestamp:
- 10/07/21 20:22:23 (3 years ago)
- Branches:
- master
- Children:
- ee0e297
- Parents:
- 276a8b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/reportedPosts.html
r276a8b6 r0c37625 17 17 <div th:unless="${noPosts}" class="album py-5 bg-light"> 18 18 <div class="container"> 19 19 <div class="row"> 20 <div class="col-md-2"> 21 <label class="form-label" for="sortBy">Sort By</label> 22 <select class="input-group-text" id="sortBy"> 23 <option value="id">Default</option> 24 <option value="numReports">Number of reports</option> 25 </select> 26 </div> 27 <div class="col-md-2"> 28 <label class="form-label" for="order">Order</label> 29 <select class="input-group-text" id="order"> 30 <option value="asc">Ascending</option> 31 <option value="desc">Descending</option> 32 </select> 33 </div> 34 </div> 35 <br/> 20 36 <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3"> 21 37 <div class="col" th:each="post : ${postList}"> … … 30 46 <a class="btn btn-sm btn-outline-secondary" th:href="@{/moderator/reportPost(postid=${post.id})}">Open</a> 31 47 </div> 32 <span class="text-muted"> Date due: <small th:text="${post.donationPost.dateDue}"></small></span>48 <span class="text-muted">Number of reports: <small th:text="${post.numReports}"></small></span> 33 49 </div> 34 50 </div> … … 38 54 </div> 39 55 <hr class="ui-menu-divider" /> 56 <nav> 57 <div id="pagination"></div> 58 </nav> 40 59 </div> 41 60 42 61 </main> 43 62 <script src="/js/bootstrap.min.js"></script> 63 <script id="helper" src="/js/pagination.js" th:data-pages="${totalPages}"></script> 44 64 </body> 45 65 </html>
Note:
See TracChangeset
for help on using the changeset viewer.