Report Incident
diff --git a/src/main/resources/templates/incidents.html b/src/main/resources/templates/incidents.html
index 32dc53e..b7d6807 100644
--- a/src/main/resources/templates/incidents.html
+++ b/src/main/resources/templates/incidents.html
@@ -82,11 +82,32 @@
border-color: #10b981;
color: #10b981;
}
+
+ .back-dashboard-btn {
+ display: inline-block;
+ margin-bottom: 1.2rem;
+ padding: 0.4rem 0.8rem;
+ border-radius: 999px;
+ border: 1px solid #2a2a2a;
+ background: transparent;
+ color: #9ca3af;
+ text-decoration: none;
+ font-size: 0.8rem;
+ transition: 0.2s;
+ }
+
+ .back-dashboard-btn:hover {
+ border-color: #10b981;
+ color: #10b981;
+ }
@@ -173,7 +194,7 @@
Active incidents
}
function viewIncident(id) {
- window.location.href = `/incident/${id}`;
+ window.location.href = `/incidents/${id}`;
}
function escapeHtml(str) {
diff --git a/src/main/resources/templates/viewincident.html b/src/main/resources/templates/viewincident.html
index 639bcbf..bc17134 100644
--- a/src/main/resources/templates/viewincident.html
+++ b/src/main/resources/templates/viewincident.html
@@ -121,11 +121,32 @@
color: #6b7280;
font-size: 0.9rem;
}
+
+ .back-dashboard-btn {
+ display: inline-block;
+ margin-bottom: 1.2rem;
+ padding: 0.4rem 0.8rem;
+ border-radius: 999px;
+ border: 1px solid #2a2a2a;
+ background: transparent;
+ color: #9ca3af;
+ text-decoration: none;
+ font-size: 0.8rem;
+ transition: 0.2s;
+ }
+
+ .back-dashboard-btn:hover {
+ border-color: #10b981;
+ color: #10b981;
+ }