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
b09f7f15
Commit
b09f7f15
authored
4 months ago
by
Byron Biggs
Browse files
Options
Downloads
Patches
Plain Diff
Admin Dashboard Changes
parent
34e7fc47
Branches
Branches containing commit
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
+16
-17
16 additions, 17 deletions
src/main/resources/templates/adminDashboard.html
with
16 additions
and
17 deletions
src/main/resources/templates/adminDashboard.html
+
16
−
17
View file @
b09f7f15
...
...
@@ -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>
This diff is collapsed.
Click to expand it.
Byron Biggs
@c21087458
mentioned in commit
d4551f42
·
4 months ago
mentioned in commit
d4551f42
mentioned in commit d4551f421a60dcec64dcee126cc58d7aae942ab8
Toggle commit list
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