Skip to content
Snippets Groups Projects
Commit b09f7f15 authored by Byron Biggs's avatar Byron Biggs
Browse files

Admin Dashboard Changes

parent 34e7fc47
Branches
No related tags found
No related merge requests found
......@@ -5,28 +5,27 @@
</head>
<html lang="en">
<body>
<h1>Admin Dashboard</h1>
<div id="nav-links">
<a href="/admin/mediaUpload">Upload Media</a>
<a href="/admin/adminMediaList">Admin Album</a>
<a href="/admin/archivedMedia">Archived Media</a>
<a href="/adminAllPosts">Archived Events</a>
<a href="/admin/newsUpload">Create News Article</a>
<a href="/results">Survey Results</a>
</div>
<body>
<h1>Admin Dashboard</h1>
<div id="nav-links">
<a href="/admin/mediaUpload">Upload Media</a>
<a href="/admin/adminMediaList">Admin Album</a>
<a href="/admin/archivedMedia">Archived Media</a>
<a href="/adminAllPosts">Archived Events</a>
<a href="/admin/newsUpload">Create News Article</a>
<a href="/results">Survey Results</a>
</div>
<h2>Email Data</h2> <!--heading for email data section -->
<!-- Placeholder message when no email data is present -->
<div th:if="${emailData == null or #lists.isEmpty(emailData)}"><!--if the email data section is empty -->
<div th:if="${emailData.empty}"><!--if the email data section is empty -->
<p style="text-align: center; font-style: italic;">No queries at present</p> <!--message tells admin table is empty -->
</div>
<table border="1" th:if="${emailData != null and not #lists.isEmpty(emailData)}"> <!-- Render the table only if email data is not empty -->
<table border="1" th:if="${!emailData.empty}"> <!-- Render the table only if email data is not empty -->
<thead>
<tr>
<th>ID</th> <!--column heading for ID-->
......@@ -52,10 +51,10 @@
<h2>Phone Numbers</h2> <!--heading for phone number section -->
<!-- Placeholder message when no phone numbers are present -->
<div th:if="${phoneNumbers == null}"><!--if phoneNumbersd table is empty -->
<div th:if="${phoneNumbers.empty}"><!--if phoneNumbersd table is empty -->
<p style="text-align: center; font-style: italic;">No phone call requests at present</p> <!--message tells admin table is empty -->
</div>
<table border="1" th:if="${phoneNumbers != null}"> <!-- render the table only if phone numbers data is not empty -->
<table border="1" th:if="${!phoneNumbers.empty}"> <!-- render the table only if phone numbers data is not empty -->
<thead>
<tr>
<th>ID</th> <!--column heading for ID-->
......@@ -77,4 +76,4 @@
</tbody>
</table>
</body>
</html>
\ No newline at end of file
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment