From 6c01cd6a0d85869f8795bb20a7851fc6d2c2ab6e Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sun, 27 Apr 2025 22:28:21 +0500 Subject: [PATCH] improve website home page --- .../templates/websiteFunctions/website.html | 1922 +++++++++-------- 1 file changed, 1014 insertions(+), 908 deletions(-) diff --git a/websiteFunctions/templates/websiteFunctions/website.html b/websiteFunctions/templates/websiteFunctions/website.html index 9a9c6e966..1cff43688 100755 --- a/websiteFunctions/templates/websiteFunctions/website.html +++ b/websiteFunctions/templates/websiteFunctions/website.html @@ -7,477 +7,584 @@ {% get_current_language as LANGUAGE_CODE %} -
+ -
-

{{ domain }} - {% trans "Preview" %}

-

{% trans "All functions related to a particular site." %}

+
+ +
+

+ {{ domain }} + {% trans "PREVIEW" %} +

+

{% trans "All functions related to a particular site." %}

{% if not error %} +
+ + + {% trans "Manage Git" %} + + + + {% trans "Clone/Staging" %} + + + + {% trans "Set up SSH/SFTP Access" %} + + + + {% trans "Stress Test" %} + +
-
+
+
+ + + + {% trans "Resource Usage" %} +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{% trans "Resource" %}{% trans "Usage" %}{% trans "Allowed" %}
FTP{{ ftpUsed }}{{ ftpTotal }}
Databases{{ databasesUsed }}{{ databasesTotal }}
Disk Usage{{ diskInMB }} (MB){{ diskInMBTotal }} (MB)
Bandwidth Usage{{ bwInMB }} (MB){{ bwInMBTotal }} (MB)
+
+
+ {% if viewSSL == 1 %} +
+ {{ authority }}
+ Your SSL will expire in {{ days }} days. +
+ {% endif %} +
+ Disk Usage +
+
{{ diskUsage }}%
+
+
+
+ Bandwidth Usage +
+
{{ bwUsage }}%
+
+
+
+
+
-
+
+
+

+ {% trans "Logs" %} +

-

- {% trans "Resource Usage" %} +
+
+ + - {% trans "Manage Git" %} +
+
+
+

{% trans "Logs Fetched" %}

+
+
+

{% trans "Could not fetch logs, see the logs file through command line. Error message:" %} + {$ errorMessage $}

+
+
+

{% trans "Could not connect to server. Please refresh this page." %}

+
+

+
+ + +
-
-
+ +
+ + + + + + + + + + + + + + + + + + + +
TypeIP AddressTimeResourceSize
+
+
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% trans "Resource" %}{% trans "Usage" %}{% trans "Allowed" %}
{% trans "FTP" %}{{ ftpUsed }}{{ ftpTotal }}
{% trans "Databases" %}{{ databasesUsed }}{{ databasesTotal }}
{% trans "Disk Usage" %}{{ diskInMB }} (MB){{ diskInMBTotal }} (MB)
{% trans "Bandwidth Usage" %}{{ bwInMB }} (MB){{ bwInMBTotal }} (MB)
-
-
-
-
- {% if viewSSL == 1 %} -
-
-

{{ authority }}

-

Your SSL will expire in {{ days }} days.

-
-
- {% endif %} -
-

- {% trans "Disk Usage" %} -

-
-
-
-
{{ diskUsage }}%
-
-
-

- {% trans "Bandwidth Usage" %} -

-
-
-
-
{{ bwUsage }}%
-
-
+
+ +
+ +
+ +
+ + +
+ + +
+ +
+
+ +
+
+
+
+
+ +
+
+

+ {% trans "Domains" %} +

+
+
+ + + + + + + + + + +
+
+ +
+ +
+ +
+
+ +

+
+
+
+ +
+ +
+ +
+
{% trans "Invalid Domain (Note: You don't need to add 'http' or 'https')" %}
+
+ +
+ +
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
-
+ +
+ +
+ + +
+
+ +
+ +
+ +
+

{$ currentStatus $}

+
+ +
+
+ 70% Complete +
+
+ +
+

{% trans "Error message:" %} {$ errorMessage $}

+
+ +
+

{% trans "Website succesfully created." %}

+
+ + +
+

{% trans "Could not connect to server. Please refresh this page." %}

+
+ + +
+
+ +
+ +
+ +
+
+ + +
-
-
-
+ -
-
-

- {% trans "Logs" %} -

+ -
-
- - +
-
-
-
-

{% trans "Logs Fetched" %}

-
-
-

{% trans "Could not fetch logs, see the logs file through command line. Error message:" %} - {$ errorMessage $}

-
-
-

{% trans "Could not connect to server. Please refresh this page." %}

-
-
-
- -
-
- -
+ -
- - -
- -
- - - - - - - - - - - - - - - - - - - -
TypeIP AddressTimeResourceSize
-
+
+

{% trans "PHP Version Changed to:" %} {$ changedPHPVersion $}

+
+ +
+

{% trans "Deleted:" %} {$ deletedDomain $}

+
+ +
+

{% trans "SSL Issued:" %} {$ sslDomainIssued $}

+
+ +
+

{% trans "Changes applied successfully." %}

+
+ + +
+

{$ errorMessage $}

+
+ + +
+

{% trans "Could not connect to server. Please refresh this page." %}

+
+ + +
+ +
+
- -
- -
- -
- -
- - -
- - -
- -
-
- -
-
-
-
-
- -
-
-

- {% trans "Domains" %} -

-
-
- - - - - - - - - - -
-
- -
- -
- -
-
- -

-
-
-
- -
- -
- -
-
{% trans "Invalid Domain (Note: You don't need to add 'http' or 'https')" %}
-
- -
- -
- -
-
- -
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
- -
- -
- - -
-
- -
- -
- -
-

{$ currentStatus $}

-
- -
-
- 70% Complete -
-
- -
-

{% trans "Error message:" %} {$ errorMessage $}

-
- -
-

{% trans "Website succesfully created." %}

-
- - -
-

{% trans "Could not connect to server. Please refresh this page." %}

-
- - -
-
- -
- -
- -
-
- - -
-
- - - - - -
- -
- - -
-

{% trans "PHP Version Changed to:" %} {$ changedPHPVersion $}

-
- -
-

{% trans "Deleted:" %} {$ deletedDomain $}

-
- -
-

{% trans "SSL Issued:" %} {$ sslDomainIssued $}

-
- -
-

{% trans "Changes applied successfully." %}

-
- - -
-

{$ errorMessage $}

-
- - -
-

{% trans "Could not connect to server. Please refresh this page." %}

-
- - -
- -
+
+
-
-
-

- {% trans "Configurations" %} -

-
-
- +
+
+

+ {% trans "Configurations" %} +

+
+
+ - + - + - + - + - + -
+
-
+ -
-

{% trans "SSL Saved" %}

+
+

{% trans "SSL Saved" %}

+
+ + +
+

{% trans "Could not save SSL. Error message:" %} {$ errorMessage $}

+
+ + +
+

{% trans "Could not connect to server. Please refresh this page." %}

+
+ + +
+
+
- - -
-

{% trans "Could not save SSL. Error message:" %} {$ errorMessage $}

+
+
- - -
-

{% trans "Could not connect to server. Please refresh this page." %}

+
+
+
- -
-
- -
-
- -
-
- -
+
+ +
+
+
+ +
-
- -
- -
+ + + + + + +
+
+
+

{% trans "Current configuration in the file fetched." %}

+
+ +
+

{% trans "Could not fetch current configuration. Error message:" %} {$ + errorMessage $}

+
+ +
+

{% trans "Could not connect to server. Please refresh this page." %}

+
+ +
+

{% trans "Configurations saved." %}

+
+ +
+

{% trans "Could not fetch current configuration. Error message:" %} {$ + errorMessage $}

+
+ +
+
+
- -
- - - - - - - -
-
-
-

{% trans "Current configuration in the file fetched." %}

+
+
+
-
-

{% trans "Could not fetch current configuration. Error message:" %} {$ - errorMessage $}

+
+ +
+
+
+ +
-
-

{% trans "Could not connect to server. Please refresh this page." %}

-
+ -
-

{% trans "Configurations saved." %}

-
+
+
+
+

{% trans "It is not required to modify rules if you are using OpenLiteSpeed." %} + Click + to read more about whats changed in rewrite + rules from v1.8 onwards.

+
-
-

{% trans "Could not fetch current configuration. Error message:" %} {$ - errorMessage $}

-
- -
-
- -
-
- -
-
- -
- -
- -
-
-
-
- - - -
-
-
-

{% trans "It is not required to modify rules if you are using OpenLiteSpeed." %} - Click - to read more about whats changed in rewrite - rules from v1.8 onwards.

-
- - - -
- -
- -
-
- -
- -
-

{% trans "Could not fetch current rewrite rules. Error message:" %} {$ - errorMessage $}

-
- -
-

{% trans "Could not connect to server. Please refresh this page." %}

-
- -
-

{% trans "Configurations saved." %}

-
- -
-

{% trans "Could not save rewrite rules. Error message:" %} {$ errorMessage - $}

-
+
-
- -
-
- -
-
- -
- -
- -
-
- -
- -
- - - -
- -
- - -
- +
- + + + +
- -
-

-
- -
- - -
- -
- -
-
- - -
- - -
-
-

{% trans "Failed to change PHP version. Error message:" %} {$ - errorMessage $}

-
- -
-

{% trans "PHP successfully changed for: " %} {$ websiteDomain - $}

-
- -
-

{% trans "Could not connect to server. Please refresh this page." %}

-
-
-
+ +
+

{% trans "Could not fetch current rewrite rules. Error message:" %} {$ + errorMessage $}

+
+ +
+

{% trans "Could not connect to server. Please refresh this page." %}

+
+ +
+

{% trans "Configurations saved." %}

+
+ +
+

{% trans "Could not save rewrite rules. Error message:" %} {$ errorMessage + $}

+
+ +
+
+ +
+
+ +
+
+ +
+ +
+ +
+
+ +
+ + + +
+ +
+ + +
+ +
+ +
+ +
+

+
+ +
+ + +
+ +
+ +
+
+ + +
+ + +
+
+

{% trans "Failed to change PHP version. Error message:" %} {$ + errorMessage $}

+
+ +
+

{% trans "PHP successfully changed for: " %} {$ websiteDomain + $}

+
+ +
+

{% trans "Could not connect to server. Please refresh this page." %}

+
+
+
+ +
+
+
+
-
-
-

- {% trans "Files" %} -

-
-
+
+
+

+ {% trans "Files" %} +

+
+
+ + + + + + {% if ftp %} + + {% endif %} - {% if ftp %} + -
- - - - - {% trans "Create FTP Acct" %} - +
+
+
+ +
+ +
+ +
+ +
+ +
+ +
-
- - - - - {% trans "Delete FTP Acct" %} - + +
+ +
+ +
+
+
+ + +
+
+

{% trans "Error message:" %} {$ errorMessage $}

+
+ +
+

{% trans "Changes successfully saved." %}

+
+ +
+

{% trans "Could not connect to server. Please refresh this page." %}

+
+
+
- {% endif %} - - - -
- -
- -
- -
- -
- -
- -
- -
-
- - -
- -
- -
-
-
- - -
-
-

{% trans "Error message:" %} {$ errorMessage $}

-
- -
-

{% trans "Changes successfully saved." %}

-
- -
-

{% trans "Could not connect to server. Please refresh this page." %}

-
-
- -
- - - -
- - - +
+ + + +
+
- {% if email %} + {% if email %} - {% if marketingStatus %} + {% if marketingStatus %} -