From 25616094b7274bfe9a98f9f02912da6b3447a27a Mon Sep 17 00:00:00 2001 From: Hariprasath S <113695067+Hariprasath4022@users.noreply.github.com> Date: Tue, 6 Oct 2026 15:44:01 +0530 Subject: [PATCH] added total roadwar register count in roadwarRegister Dashboard --- .../roadwarweb/roadwarregisterdashboard.html | 51 ++++++++++++++----- 1 file changed, 39 insertions(+), 12 deletions(-) diff --git a/src/main/resources/templates/modules/roadwarweb/roadwarregisterdashboard.html b/src/main/resources/templates/modules/roadwarweb/roadwarregisterdashboard.html index 80eb471..ddcf2ce 100644 --- a/src/main/resources/templates/modules/roadwarweb/roadwarregisterdashboard.html +++ b/src/main/resources/templates/modules/roadwarweb/roadwarregisterdashboard.html @@ -49,6 +49,12 @@ color: #6c757d; } +.total-roads-cards { + display: flex; + align-items: center; + gap: 15px; +} + /* Total Roads Card */ .total-roads-card { width: 160px; @@ -97,8 +103,19 @@ .total-roads-card { width: 100%; - height: 80px; + height: 90px; } + + .total-roads-label { + color: #ffffff; + + font-size: 10px; + font-weight: 600; + + letter-spacing: 1.5px; + padding:8px; + margin-bottom: 2px; +} } .card-title1{ @@ -533,10 +550,20 @@

Road War Register Dashboard

Comprehensive view of all road survey records across Chennai

+ +
-
-
TOTAL ROADS
-
36807
+
+
GIS TOTAL ROADS
+
36807
+
+ +
+ +
ROADWAR REGISTER
+
0
+
+
@@ -674,7 +701,7 @@ --> -
+
Relaying Timeline
@@ -1306,7 +1333,7 @@ function renderRoadTypeCounts(data) { : 0; container.append(` -
+
${item.road_type} @@ -1383,7 +1410,7 @@ function renderRelayingTimeline(data) { container.append(` -
+
@@ -1407,7 +1434,7 @@ function renderRelayingTimeline(data) {
-
+
@@ -1431,7 +1458,7 @@ function renderRelayingTimeline(data) {
-
+
@@ -1482,10 +1509,10 @@ function loadDashboard() { if (response.status) { - // Total Roads - /* $("#erpMasterRoads").text( + // Roadwar Register Roads + $("#roadwarRegRoads").text( Number(response.totalRoads).toLocaleString() - ); */ + ); // Zone-wise renderZoneCounts(