Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 19 additions & 17 deletions src/main/resources/templates/groups/group-list.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
<!DOCTYPE html>
<html lang="en"
xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0">
<title>Groups List</title>
<th:block th:insert="~{partials/styles :: styles}"></th:block>
<link rel="stylesheet" href="/styles/group-list.css"/>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0">
<title>Groups List</title>
<th:block th:insert="~{partials/styles :: styles}"></th:block>
<link rel="stylesheet" href="/styles/group-list.css"/>
</head>
<body>
<th:block th:insert="~{partials/navbar :: navbar}"></th:block>


<h1>This is the GROUPS LIST page</h1>

<div class="container">
<div th:each="group: ${groups}" class="group-card">
<a th:href="@{/group/{id}(id=${group.id})}">
<h5 class="mb-1"><span th:text="${group.name}"></span></h5>
</a>
<p class="mb-1"><span th:text="${group.description}"></span></p>
<a th:href="@{/profile/{id}(id=${group.admin.username})}"><small>Admined by: <span th:text="${group.admin}"></span></small></a>
</div>
<h1 class="header-font m-5 row">GROUP LIST</h1>
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-home" role="tabpanel">
<div th:each="group: ${groups}" class="group-card">
<a th:href="@{/group/{id}(id=${group.id})}">
<h5 class="mb-1"><span th:text="${group.name}"></span></h5>
</a>
<p class="mb-1"><span th:text="${group.description}"></span></p>
<a th:href="@{/profile/{id}(id=${group.admin.username})}"><small>Admined by: <span
th:text="${group.admin}"></span></small></a>
</div>
</div>
</div>
</div>


<th:block th:insert="~{partials/footer :: footer}"></th:block>
</body>
</html>