From bc125ddf0f57056a290b3c7da623f3fc1dc2f359 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Fri, 11 Apr 2025 02:23:00 +0500 Subject: [PATCH] further improve design --- .../websiteFunctions/DockerSiteHome.html | 327 +++++++----------- 1 file changed, 133 insertions(+), 194 deletions(-) diff --git a/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html b/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html index e4290d812..4c6bbfff0 100644 --- a/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html +++ b/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html @@ -332,212 +332,151 @@
-
-
-
-

{% trans "Currently managing" %}

-
-

{$ cName $}

- {$ status $} +
+

+ {% trans "Currently managing: " %} {$ cName $} + +

+

+ {% trans "Container ID" %}: {$ cid $} +

+
+ + +
+
+

+ {% trans "Container Information" %} + +

+ +
+
+
+

Basic Information

+
+

Container ID: {$ cid $}

+

Status: + + {$ status $} + +

+

Created: {$ created | date:'medium' $}

+

Uptime: {$ uptime $}

+
+
+ +
+

Resource Usage

+
+ +
+
+ {$ memoryUsagePercent | number:1 $}% +
+
+
+
+ +
+
+ {$ cpuUsagePercent | number:1 $}% +
+
+
+
-

- {% trans "Container ID" %}: {$ cid $} -

-
-
- -
-
-
-
-
-
-

{% trans "Container Information" %}

- -
- -
-
-
-
-

- - Basic Information -

-
-
- -

{$ cid $}

-
-
- -

- - - {$ status $} +

+
+

Network & Ports

+
+
+ + + + + + + + + + + + + +
Container PortHost Binding
{$ containerPort $} + + {$ binding.HostIp || '0.0.0.0' $}:{$ binding.HostPort $} -

- -
- -

{$ created | date:'medium' $}

-
-
- -

{$ uptime $}

-
- - - - -
-
-

- - Resource Usage -

-
-
- - {$ memoryUsagePercent | number:1 $}% -
-
-
-
-
-
-
-
- - {$ cpuUsagePercent | number:1 $}% -
-
-
-
-
-
-
+
- -
-
-
-

- - Network & Ports -

-
-
- - - - - - - - - - - - - -
Container PortHost Binding
{$ containerPort $} - - - {$ binding.HostIp || '0.0.0.0' $}:{$ binding.HostPort $} - -
-
-
-
- -

No ports exposed

-
-
-
+
+

No ports exposed

-
-
-
-
-

- - Volumes -

-
-
- - - - - - - - - - - - - - - -
SourceDestinationMode
{$ volume.Source $}{$ volume.Destination $}{$ volume.Mode $}
-
-
-
- -

No volumes mounted

-
-
+
+

Volumes

+
+
+ + + + + + + + + + + + + + + +
SourceDestinationMode
{$ volume.Source $}{$ volume.Destination $}{$ volume.Mode $}
+
+
+

No volumes mounted

+
+
-
-
-

- - Environment Variables -

-
-
- - - - - - - - - - - - - -
VariableValue
{$ env.split('=')[0] $}{$ env.split('=')[1] $}
-
-
-
- -

No environment variables set

-
-
+
+

Environment Variables

+
+
+ + + + + + + + + + + + + +
VariableValue
{$ env.split('=')[0] $}{$ env.split('=')[1] $}
+
+

No environment variables set

+