From 0dc3e72fa4532f4705c51d9c00718280ba55c161 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Mon, 2 Jun 2025 13:43:14 +0500 Subject: [PATCH] improve home page design --- .../templates/baseTemplate/homePage.html | 313 ++++++++---------- 1 file changed, 136 insertions(+), 177 deletions(-) diff --git a/baseTemplate/templates/baseTemplate/homePage.html b/baseTemplate/templates/baseTemplate/homePage.html index d8dba53e3..ae310b448 100755 --- a/baseTemplate/templates/baseTemplate/homePage.html +++ b/baseTemplate/templates/baseTemplate/homePage.html @@ -7,16 +7,15 @@

- -
@@ -130,7 +109,6 @@ font-size: 2.8rem; font-weight: 700; line-height: 1; - text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); " > {$ totalSites $} @@ -160,7 +138,7 @@
-
@@ -206,7 +168,6 @@ font-size: 2.8rem; font-weight: 700; line-height: 1; - text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); " > {$ totalWPSites $} @@ -236,7 +197,7 @@
-
@@ -282,7 +227,6 @@ font-size: 2.8rem; font-weight: 700; line-height: 1; - text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); " > {$ totalDBs $} @@ -312,7 +256,7 @@
-
@@ -358,7 +286,6 @@ font-size: 2.8rem; font-weight: 700; line-height: 1; - text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); " > {$ totalEmails $} @@ -383,7 +310,7 @@ {% if admin %}
@@ -400,22 +327,21 @@
{$ cpuUsage $}%
-
-
+
+
@@ -450,22 +374,21 @@
{$ ramUsage $}%
-
-
+
+
@@ -500,22 +421,21 @@
{$ diskUsage $}%
-
-
+
+
@@ -556,12 +474,11 @@ -->
@@ -573,11 +490,11 @@ padding: 0; margin: 0 auto; display: inline-flex; - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); - border-radius: 15px; + background: #4c5fad; + border-radius: 8px; padding: 8px; gap: 8px; - box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2); + box-shadow: 0 2px 8px rgba(76, 95, 173, 0.2); " >
  • @@ -589,9 +506,9 @@ style=" display: block; padding: 12px 25px; - background: rgba(255, 255, 255, 0.9); - color: #667eea; - border-radius: 12px; + background: #fff; + color: #4c5fad; + border-radius: 6px; text-decoration: none; font-weight: 600; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); @@ -614,7 +531,7 @@ padding: 12px 25px; background: transparent; color: rgba(255, 255, 255, 0.8); - border-radius: 12px; + border-radius: 6px; text-decoration: none; font-weight: 600; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); @@ -637,7 +554,7 @@ padding: 12px 25px; background: transparent; color: rgba(255, 255, 255, 0.8); - border-radius: 12px; + border-radius: 6px; text-decoration: none; font-weight: 600; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); @@ -656,12 +573,11 @@
    @@ -876,8 +789,8 @@ @@ -969,11 +930,9 @@ // Add active to clicked tab this.classList.add('active'); - this.style.background = 'rgba(255,255,255,0.9)'; - this.style.color = '#667eea'; + this.style.background = '#fff'; + this.style.color = '#4c5fad'; this.style.transform = 'translateY(-2px)'; - this.style.boxShadow = - '0 4px 15px rgba(102,126,234,0.3)'; // Show corresponding pane var target = this.getAttribute('href'); @@ -997,4 +956,4 @@ });
    -{% endblock %} +{% endblock %} \ No newline at end of file