diff --git a/CLManager/CageFS.py b/CLManager/CageFS.py index 9baaa8bc6..2e4729b84 100644 --- a/CLManager/CageFS.py +++ b/CLManager/CageFS.py @@ -108,6 +108,26 @@ def submitCageFSInstall(): writeToFile.write('CLInstalled') writeToFile.close() + + + #### mount session save paths + + if os.path.exists('/etc/cagefs/cagefs.mp'): + + from managePHP.phpManager import PHPManager + php_versions = PHPManager.findPHPVersions() + + for php in php_versions: + PHPVers = PHPManager.getPHPString(php) + line = f'@/var/lib/lsphp/session/lsphp{PHPVers},700\n' + + WriteToFile = open('/etc/cagefs/cagefs.mp', 'a') + WriteToFile.write(line) + WriteToFile.close() + + command = 'cagefsctl --remount-all' + ServerStatusUtil.executioner(command, statusFile) + logging.CyberCPLogFileWriter.statusWriter(ServerStatusUtil.lswsInstallStatusPath, "Packages successfully installed.[200]\n", 1) diff --git a/baseTemplate/static/baseTemplate/assets/finalBase/favicon.png b/baseTemplate/static/baseTemplate/assets/finalBase/favicon.png index f72790ed5..8834c6716 100644 Binary files a/baseTemplate/static/baseTemplate/assets/finalBase/favicon.png and b/baseTemplate/static/baseTemplate/assets/finalBase/favicon.png differ diff --git a/baseTemplate/templates/baseTemplate/index.html b/baseTemplate/templates/baseTemplate/index.html index fbd3bc549..8498b96a2 100755 --- a/baseTemplate/templates/baseTemplate/index.html +++ b/baseTemplate/templates/baseTemplate/index.html @@ -217,65 +217,6 @@ title="{% trans 'CPU Load Average' %}" data-placement="bottom"> {$ three $} {% endcomment %} - - {#
#} @@ -430,6 +371,35 @@ + +ID | +User | +Database | +Command | +Time | +State | +Info | +Progress | +
---|---|---|---|---|---|---|---|
+ | + | + | + | + | + | + | + |
{% trans "On this page you can create, list, modify and delete Packages from your server." %}
+Package Name | +CPUs | +Memory | +Bandwidth | +Disk Space | +Action | + +
---|---|---|---|---|---|
{{ pack.Name }} | +{{ pack.CPUs }} | +{{ pack.Ram }} | +{{ pack.Bandwidth }} | +{{ pack.DiskSpace }} | ++ + + | + +
{% trans "On this page you can create docker apps on your server." %}
+{% trans "Manage containers on server" %}
+Name | +Launch | + {#Owner | #} + {#Image | #} + {#Tag | #} +{#Actions | #} +
---|---|---|---|---|---|
+ | + | + {##} + {# | #} + {# | #} +{# | #} +{# #} + {# #} +{# | #} +
{% trans "Error message:" %} {$ errorMessage $}
+Name | +Status | +Actions | +
---|---|---|
{{ container.name }} | +{{ container.status }} | ++ + + + | +
+ {% trans "Container ID" %}: {$ cid $} +
+ +{% trans "On this page you can launch, list, modify and delete Dockersite from your server." %}
+{% trans "On this page you can Assign Packages to user." %}
+User | +Package Name | +Package Details | +Action | + +
---|---|---|---|
{{ pack.user.userName }} | +{{ pack.package.Name }} | +CPUs: {{ pack.package.CPUs }} + Memory: {{ pack.package.Ram }}MB DiskSpace: {{ pack.package.DiskSpace }} + Bandwidth: {{ pack.package.Bandwidth }} | + ++{# #} + + | + +