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

- {% 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 "Currently managing" %}

+
+

{$ cName $}

+ {$ status $}
+

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

+
+
+ +
+
-
-
-

Network & Ports

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

{% trans "Container Information" %}

+ +
+ +
+
+
+
+

+ + Basic Information +

+
+
+ +

{$ cid $}

+
+
+ +

+ + + {$ status $} -

+

+
+
+ +

{$ created | date:'medium' $}

+
+
+ +

{$ uptime $}

+
+
+
+
+ +
+
+

+ + Resource Usage +

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

No ports exposed

+ +
+
+
+

+ + Network & Ports +

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

No ports exposed

+
+
+
-
-

Volumes

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

+ + Volumes +

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

No volumes mounted

+
+
-
-
-

No volumes mounted

-
-
-
-

Environment Variables

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

+ + Environment Variables +

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

No environment variables set

+
+
-
-

No environment variables set

-