Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Devops CW Fork
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Byron Biggs
Devops CW Fork
Commits
d4551f42
Commit
d4551f42
authored
4 months ago
by
Byron Biggs
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Admin Dashboard Changes"
This reverts commit
b09f7f15
parent
b09f7f15
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/templates/adminDashboard.html
+17
-16
17 additions, 16 deletions
src/main/resources/templates/adminDashboard.html
with
17 additions
and
16 deletions
src/main/resources/templates/adminDashboard.html
+
17
−
16
View file @
d4551f42
...
@@ -5,27 +5,28 @@
...
@@ -5,27 +5,28 @@
</head>
</head>
<html
lang=
"en"
>
<html
lang=
"en"
>
<body>
<body>
<h1>
Admin Dashboard
</h1>
<h1>
Admin Dashboard
</h1>
<div
id=
"nav-links"
>
<div
id=
"nav-links"
>
<a
href=
"/admin/mediaUpload"
>
Upload Media
</a>
<a
href=
"/admin/mediaUpload"
>
Upload Media
</a>
<a
href=
"/admin/adminMediaList"
>
Admin Album
</a>
<a
href=
"/admin/adminMediaList"
>
Admin Album
</a>
<a
href=
"/admin/archivedMedia"
>
Archived Media
</a>
<a
href=
"/admin/archivedMedia"
>
Archived Media
</a>
<a
href=
"/adminAllPosts"
>
Archived Events
</a>
<a
href=
"/adminAllPosts"
>
Archived Events
</a>
<a
href=
"/admin/newsUpload"
>
Create News Article
</a>
<a
href=
"/admin/newsUpload"
>
Create News Article
</a>
<a
href=
"/results"
>
Survey Results
</a>
<a
href=
"/results"
>
Survey Results
</a>
</div>
</div>
<h2>
Email Data
</h2>
<!--heading for email data section -->
<h2>
Email Data
</h2>
<!--heading for email data section -->
<!-- Placeholder message when no email data is present -->
<!-- Placeholder message when no email data is present -->
<div
th:if=
"${emailData.empty}"
>
<!--if the email data section is empty -->
<div
th:if=
"${emailData == null or #lists.isEmpty(emailData)}"
>
<!--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 -->
<p
style=
"text-align: center; font-style: italic;"
>
No queries at present
</p>
<!--message tells admin table is empty -->
</div>
</div>
<table
border=
"1"
th:if=
"${
!
emailData
.empty
}"
>
<!-- Render the table only if email data is not empty -->
<table
border=
"1"
th:if=
"${emailData
!= null and not #lists.isEmpty(emailData)
}"
>
<!-- Render the table only if email data is not empty -->
<thead>
<thead>
<tr>
<tr>
<th>
ID
</th>
<!--column heading for ID-->
<th>
ID
</th>
<!--column heading for ID-->
...
@@ -51,10 +52,10 @@
...
@@ -51,10 +52,10 @@
<h2>
Phone Numbers
</h2>
<!--heading for phone number section -->
<h2>
Phone Numbers
</h2>
<!--heading for phone number section -->
<!-- Placeholder message when no phone numbers are present -->
<!-- Placeholder message when no phone numbers are present -->
<div
th:if=
"${phoneNumbers
.empty
}"
>
<!--if phoneNumbersd table is empty -->
<div
th:if=
"${phoneNumbers
== null
}"
>
<!--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 -->
<p
style=
"text-align: center; font-style: italic;"
>
No phone call requests at present
</p>
<!--message tells admin table is empty -->
</div>
</div>
<table
border=
"1"
th:if=
"${
!
phoneNumbers
.empty
}"
>
<!-- render the table only if phone numbers data is not empty -->
<table
border=
"1"
th:if=
"${phoneNumbers
!= null
}"
>
<!-- render the table only if phone numbers data is not empty -->
<thead>
<thead>
<tr>
<tr>
<th>
ID
</th>
<!--column heading for ID-->
<th>
ID
</th>
<!--column heading for ID-->
...
@@ -76,4 +77,4 @@
...
@@ -76,4 +77,4 @@
</tbody>
</tbody>
</table>
</table>
</body>
</body>
</html>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment