-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add view tag info page and the endpoints
- Loading branch information
1 parent
6b2c971
commit cb26733
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<!DOCTYPE html> | ||
<html xmlns:th="http://www.thymeleaf.org" | ||
xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity5" | ||
lang="en"><head> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<!-- Bootstrap core CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | ||
|
||
<title>Manage Offer</title> | ||
</head> | ||
<body> | ||
|
||
|
||
<header class="p-3 bg-dark text-white"> | ||
<div class="container"> | ||
<div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start"> | ||
<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0"> | ||
<li class="nav-link navbar-brand">AKITA</li> | ||
<li><a href="/offer/all" class="nav-link px-2 text-white">Offers</a></li> | ||
<li><a href="/event/all" class="nav-link px-2 text-white">Events</a></li> | ||
<li><a href="/tag/all" class="nav-link px-2 text-white">Tags</a></li> | ||
</ul> | ||
|
||
<div class="text-end" sec:authorize="isAnonymous()"> | ||
<a href="/member/login" align="right" class="btn btn-outline-light me-2" role="button" aria-pressed="true">Login</a> | ||
<a href="/member/registration" align="right" class="btn btn-warning" role="button" aria-pressed="true">Sign-up</a> | ||
</div> | ||
|
||
<div class="text-end" sec:authorize="isAuthenticated()"> | ||
<a href="/message/all/" class="btn btn-outline-light me-2" role="button" aria-pressed="true">Messages (<span th:text="${messageCount}">messageCount</span>)</a> | ||
|
||
<a href="/member/profile" align="right" class="btn btn-outline-light me-2" role="button" aria-pressed="true">Go to profile</a> | ||
<a href="/member/logout" align="right" class="btn btn-warning" role="button" aria-pressed="true">Logout</a> | ||
</div> | ||
</div> | ||
</div> | ||
</header> | ||
<h3>Tag: <span th:text="${tag.name}"></span></h3> | ||
<p><span th:text="${extract}"></span></p> | ||
</body> | ||
</html> |