Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions src/main/resources/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

<!-- Need a page just for viewing templates -->
<!-- Just gonna comment out the button for now -->
<div class="nav-center">
<!-- <a th:href="@{/}">Templates</a>-->
<div th:if="${user}" class="nav-center">
<a th:href="@{/templates}">Templates</a>
</div>
<div th:if="${user}" class="nav-right">
<form th:action="@{/profile/find}" method="post">
<form th:action="@{/profile}" method="get">
<label hidden="hidden">
<input type="text" autocomplete="off" name="userName" th:value="${user.username}" hidden>
</label>
<button class="" type="submit">Profile Page</button>
<button type="submit">Profile Page</button>
</form>
<form th:action="@{/logout}" method="post">
<button type="submit">Logout</button>
Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ <h2>Hyperlink Page</h2>
</div>
</div>



</section>

<section class="template-section">
Expand Down
6 changes: 0 additions & 6 deletions src/main/resources/templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
</div>
<div th:if="${user}" class="nav-center">
<a th:href="@{/templates}">Templates</a>
<form th:action="@{/profile}" method="get">
<label hidden="hidden">
<input type="text" autocomplete="off" name="userName" th:value="${user.username}" hidden>
</label>
<button type="submit">Profile Page</button>
</form>
<a th:href="@{/dashboard}">Dashboard</a>
</div>

Expand Down
Loading