From 9c983fe04b21c2eadd9bbe78da86b62a163bd878 Mon Sep 17 00:00:00 2001 From: usmannasir <01-134132-158@student.bahria.edu.pk> Date: Sun, 3 Feb 2019 13:37:14 +0500 Subject: [PATCH] design overhaul --- CyberCP/settings.py | 1 + backup/templates/backup/index.html | 26 +- .../assets/image-resources/logo-admin.png | Bin 5708 -> 2598 bytes .../templates/baseTemplate/homePage.html | 406 +- .../templates/baseTemplate/index.html | 40 +- containerization/models.py | 2 +- .../templates/databases/createDatabase.html | 10 +- .../templates/databases/deleteDatabase.html | 12 +- databases/templates/databases/index.html | 28 +- .../templates/databases/listDataBases.html | 10 +- dns/models.py | 7 + dns/templates/dns/addDeleteDNSRecords.html | 6 +- dns/templates/dns/createDNSZone.html | 9 +- dns/templates/dns/createNameServer.html | 19 +- dns/templates/dns/deleteDNSZone.html | 13 +- dns/templates/dns/index.html | 28 +- .../static/dockerManager/dockerManager.js | 10 +- .../templates/dockerManager/install.html | 11 +- .../static/emailMarketing/checklist.png | Bin 2961 -> 1755 bytes .../static/emailMarketing/compose.png | Bin 2557 -> 1842 bytes .../static/emailMarketing/mailing.png | Bin 2124 -> 1950 bytes .../static/emailMarketing/paper-plane.png | Bin 3260 -> 2226 bytes .../static/emailMarketing/post-office.png | Bin 2511 -> 1548 bytes .../emailMarketing/emailMarketing.html | 6 +- .../templates/emailPremium/SpamAssassin.html | 259 +- .../templates/emailPremium/listDomains.html | 16 +- .../templates/emailPremium/policyServer.html | 10 +- .../static/filemanager/css/fileManager.css | 138 +- .../static/filemanager/images/fileManager.png | Bin 11191 -> 2598 bytes .../static/filemanager/js/fileManager.js | 4 +- filemanager/templates/filemanager/index.html | 137 +- firewall/templates/firewall/csf.html | 11 +- firewall/templates/firewall/firewall.html | 58 +- firewall/templates/firewall/index.html | 14 +- firewall/templates/firewall/modSecurity.html | 21 +- .../templates/firewall/modSecurityRules.html | 13 +- .../firewall/modSecurityRulesPacks.html | 18 +- firewall/templates/firewall/secureSSH.html | 32 +- firewall/templates/firewall/spamassassin.html | 2 +- ftp/templates/ftp/createFTPAccount.html | 231 +- ftp/templates/ftp/deleteFTPAccount.html | 2 +- ftp/templates/ftp/index.html | 21 +- ftp/templates/ftp/listFTPAccounts.html | 261 +- install/lscp.tar.gz | Bin 9829615 -> 9833871 bytes locale/br/LC_MESSAGES/django.mo | Bin 78018 -> 77824 bytes locale/br/LC_MESSAGES/django.po | 2951 +++++---- locale/bs/LC_MESSAGES/django.mo | Bin 29275 -> 29115 bytes locale/bs/LC_MESSAGES/django.po | 2949 +++++---- locale/cn/LC_MESSAGES/cyberpanel.mo | Bin 35666 -> 35625 bytes locale/cn/LC_MESSAGES/django.mo | Bin 36933 -> 36805 bytes locale/cn/LC_MESSAGES/django.po | 2955 +++++---- locale/es/LC_MESSAGES/django.mo | Bin 12723 -> 12575 bytes locale/es/LC_MESSAGES/django.po | 2950 +++++---- locale/fr/LC_MESSAGES/django.mo | Bin 64117 -> 63944 bytes locale/fr/LC_MESSAGES/django.po | 2951 +++++---- locale/gr/LC_MESSAGES/django.mo | Bin 55331 -> 55167 bytes locale/gr/LC_MESSAGES/django.po | 2957 +++++---- locale/id/LC_MESSAGES/django.mo | Bin 414 -> 373 bytes locale/id/LC_MESSAGES/django.po | 2817 ++++---- locale/it/LC_MESSAGES/django.mo | Bin 0 -> 57230 bytes locale/it/LC_MESSAGES/django.po | 5841 +++++++++++++++++ locale/ja/LC_MESSAGES/django.mo | Bin 76396 -> 76259 bytes locale/ja/LC_MESSAGES/django.po | 2949 +++++---- locale/pl/LC_MESSAGES/django.mo | Bin 69521 -> 69417 bytes locale/pl/LC_MESSAGES/django.po | 2950 +++++---- locale/pt/LC_MESSAGES/django.mo | Bin 37674 -> 37542 bytes locale/pt/LC_MESSAGES/django.po | 2951 +++++---- locale/ru/LC_MESSAGES/django.mo | Bin 55419 -> 55253 bytes locale/ru/LC_MESSAGES/django.po | 2957 +++++---- locale/tr/LC_MESSAGES/django.mo | Bin 45262 -> 45129 bytes locale/tr/LC_MESSAGES/django.po | 2951 +++++---- locale/ur-PK/LC_MESSAGES/django.mo | Bin 378 -> 337 bytes locale/vi/LC_MESSAGES/django.mo | Bin 71048 -> 70903 bytes locale/vi/LC_MESSAGES/django.po | 2943 +++++---- loginSystem/templates/loginSystem/login.html | 1 + loginSystem/views.py | 5 + .../mailServer/changeEmailPassword.html | 226 +- .../mailServer/createEmailAccount.html | 218 +- .../mailServer/deleteEmailAccount.html | 225 +- .../templates/mailServer/dkimManager.html | 12 +- .../templates/mailServer/emailForwarding.html | 9 +- mailServer/templates/mailServer/index.html | 103 +- .../templates/managePHP/editPHPConfig.html | 23 +- managePHP/templates/managePHP/index.html | 15 +- .../managePHP/installExtensions.html | 6 +- manageSSL/static/manageSSL/manageSSL.js | 2 - manageSSL/templates/manageSSL/index.html | 18 +- manageSSL/templates/manageSSL/manageSSL.html | 10 +- .../templates/manageSSL/sslForHostName.html | 10 +- .../templates/manageSSL/sslForMailServer.html | 10 +- .../manageServices/managePostfix.html | 13 +- .../manageServices/managePowerDNS.html | 13 +- .../manageServices/managePureFtpd.html | 13 +- .../templates/packages/createPackage.html | 12 +- .../templates/packages/deletePackage.html | 17 +- packages/templates/packages/index.html | 107 +- .../templates/packages/modifyPackage.html | 8 +- plogical/mailUtilities.py | 1 + plogical/upgrade.py | 8 +- s3Backups/s3Backups.py | 193 +- .../templates/serverLogs/accessLogs.html | 27 +- .../templates/serverLogs/emailLogs.html | 16 +- .../templates/serverLogs/errorLogs.html | 20 +- serverLogs/templates/serverLogs/ftplogs.html | 21 +- serverLogs/templates/serverLogs/index.html | 130 +- .../templates/serverLogs/modSecAuditLog.html | 25 +- serverStatus/static/images/change-license.png | Bin 0 -> 1669 bytes serverStatus/static/images/license-status.png | Bin 0 -> 1420 bytes .../serverStatus/cybercpmainlogfile.html | 11 +- .../templates/serverStatus/index.html | 86 +- .../serverStatus/litespeedStatus.html | 100 +- .../templates/serverStatus/services.html | 17 +- .../templates/serverStatus/topProcesses.html | 66 +- .../userManagment/changeUserACL.html | 8 +- .../templates/userManagment/createACL.html | 10 +- .../templates/userManagment/createUser.html | 35 +- .../templates/userManagment/deleteACL.html | 12 +- .../templates/userManagment/deleteUser.html | 10 +- .../templates/userManagment/index.html | 40 +- .../templates/userManagment/modifyACL.html | 8 +- .../templates/userManagment/modifyUser.html | 10 +- .../userManagment/resellerCenter.html | 11 +- .../templates/userManagment/userProfile.html | 70 +- .../static/images/icons/add-ssl.png | Bin 0 -> 1376 bytes .../static/images/icons/change-php.png | Bin 0 -> 1720 bytes .../static/images/icons/checklist.png | Bin 0 -> 1755 bytes .../static/images/icons/compose.png | Bin 0 -> 1842 bytes .../static/images/icons/delete-ftp.png | Bin 1523 -> 2155 bytes .../static/images/icons/domains.png | Bin 3206 -> 2419 bytes websiteFunctions/static/images/icons/file.png | Bin 1044 -> 1878 bytes .../static/images/icons/ftp-upload.png | Bin 1824 -> 2036 bytes .../static/images/icons/git-logo.png | Bin 1879 -> 877 bytes .../static/images/icons/joomla-logo.png | Bin 2072 -> 1276 bytes .../static/images/icons/laptop.png | Bin 834 -> 1965 bytes .../static/images/icons/locked.png | Bin 888 -> 1878 bytes .../static/images/icons/log-file-format.png | Bin 1631 -> 1636 bytes .../static/images/icons/mailing.png | Bin 0 -> 1950 bytes .../static/images/icons/office-material.png | Bin 1708 -> 1038 bytes .../static/images/icons/open_basedir.png | Bin 1741 -> 2159 bytes .../static/images/icons/paper-plane.png | Bin 0 -> 2226 bytes .../static/images/icons/pencilcase.png | Bin 3951 -> 1593 bytes .../static/images/icons/post-office.png | Bin 0 -> 1548 bytes .../static/images/icons/prestashop.png | Bin 4314 -> 2501 bytes .../static/images/icons/repeat.png | Bin 2865 -> 2986 bytes websiteFunctions/static/images/icons/sort.png | Bin 1908 -> 1426 bytes .../static/images/icons/warning.png | Bin 2429 -> 1519 bytes .../static/images/icons/web-domain.png | Bin 2832 -> 1652 bytes .../static/images/icons/wordpress.png | Bin 1797 -> 1525 bytes .../static/images/not-available-preview.png | Bin 0 -> 9295 bytes .../websiteFunctions/websiteFunctions.css | 229 +- .../websiteFunctions/websiteFunctions.js | 54 +- .../websiteFunctions/createWebsite.html | 13 +- .../websiteFunctions/deleteWebsite.html | 12 +- .../templates/websiteFunctions/index.html | 51 +- .../websiteFunctions/launchChild.html | 248 +- .../websiteFunctions/listWebsites.html | 152 +- .../websiteFunctions/modifyWebsite.html | 6 +- .../websiteFunctions/suspendWebsite.html | 10 +- .../templates/websiteFunctions/website.html | 426 +- 159 files changed, 31749 insertions(+), 17427 deletions(-) create mode 100644 locale/it/LC_MESSAGES/django.mo create mode 100644 locale/it/LC_MESSAGES/django.po create mode 100644 serverStatus/static/images/change-license.png create mode 100644 serverStatus/static/images/license-status.png create mode 100644 websiteFunctions/static/images/icons/add-ssl.png create mode 100644 websiteFunctions/static/images/icons/change-php.png create mode 100644 websiteFunctions/static/images/icons/checklist.png create mode 100644 websiteFunctions/static/images/icons/compose.png create mode 100644 websiteFunctions/static/images/icons/mailing.png create mode 100644 websiteFunctions/static/images/icons/paper-plane.png create mode 100644 websiteFunctions/static/images/icons/post-office.png create mode 100644 websiteFunctions/static/images/not-available-preview.png diff --git a/CyberCP/settings.py b/CyberCP/settings.py index 20bb7c61e..4412d01a1 100644 --- a/CyberCP/settings.py +++ b/CyberCP/settings.py @@ -186,6 +186,7 @@ LANGUAGES = ( ('fr', _('French')), ('pl', _('Polish')), ('vi', _('Vietnamese')), + ('it', _('Italian')), ) MEDIA_URL = '/home/cyberpanel/media/' diff --git a/backup/templates/backup/index.html b/backup/templates/backup/index.html index 87b9b3ab2..f0cd19819 100644 --- a/backup/templates/backup/index.html +++ b/backup/templates/backup/index.html @@ -13,9 +13,9 @@
{% trans "Back up and restore sites." %}
-N!mjxF~{d>%jcaFPw-?1^_=Mfdg@SupUl*|t@!1;N=n;h}FZBL*P5H{}H`C1aojYZQ~G zzd^XR9(J`5co1Hipe& zL5NYfQ+=NMha1K%L#+r`*+=-!rw1Vi;mU0pGpw3POMlkFR=#ukcs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DP=Gx}D(C>$Mp9Lo7#H4B z11?(MzIl6Ra)JkXmNp42u><~4#?#j0j5f_J5ugs(!BMG3@XiIfFi4*bSV`7_lF|Y! zVRJyEfj+jK(B;zi_20|3dF6X0!QBZJ&1)6O9T>qHDxrg kFLT4>>H0hb8gTc! z7qHlk>Kn)1%j9f Tw!Mf b99cCm-gu9LH zET~Pj{(n#P2e;OfpI+~5@&hOTRO{9+E)3Xr{&73*Bq5f+{{9~GEW5V)TP}EJ`gFdc tE~<3Y&3rFNdq4cx_-nn&3Evgted?Fm@vr_;{qGV3C> U$1R{|EXso5}zH diff --git a/baseTemplate/templates/baseTemplate/homePage.html b/baseTemplate/templates/baseTemplate/homePage.html index 472141f1b..80282c078 100644 --- a/baseTemplate/templates/baseTemplate/homePage.html +++ b/baseTemplate/templates/baseTemplate/homePage.html @@ -16,25 +16,189 @@ - {% if admin %} - + ++ + + {% if admin %} +-+ +- {% trans "Usage" %} +
+ {% trans "Available Functions" %} +
+ +++ ++ + + + + + + + + + + + + + + + + + + {% if admin %} + + + + + + + + + + {% endif %} + + +++++ {% trans "Resources" %}
-- -- --+
+++-{% trans "CPU Usage" %}
-++{$ cpuUsage $}%- +@@ -42,25 +206,26 @@- --+
++{% trans "Ram Usage" %}
--- {$ ramUsage $}% --- - ++@@ -68,18 +233,20 @@++ {$ ramUsage $}% ++ + +--+
++{% trans "Disk Usage '/'" %}
--- {$ diskUsage $}% --{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/baseTemplate/templates/baseTemplate/index.html b/baseTemplate/templates/baseTemplate/index.html index 8dce01542..8535e47ca 100644 --- a/baseTemplate/templates/baseTemplate/index.html +++ b/baseTemplate/templates/baseTemplate/index.html @@ -347,19 +347,19 @@ - + {% trans "Dashboard" %} - {% trans "Version Management" %} - {% trans "Connect" %} @@ -408,7 +408,7 @@- - +{% endif %} -+@@ -94,185 +261,10 @@++ {$ diskUsage $}% ++ + +--- -- {% trans "Available Functions" %} -
- --- -- - - - - - - - - - - - - - - - - - - {% if admin %} - - - - - - - - - - {% endif %} - - --- + {% trans "Websites" %}