From 03b76efc30cd71d492571216344350d22b05a263 Mon Sep 17 00:00:00 2001 From: Jackson Dou Date: Wed, 26 Jul 2023 00:36:03 +0800 Subject: [PATCH] update sidebar --- src/admin/accounts.php | 2 +- src/admin/clients.php | 2 +- src/admin/domain-provider.php | 1 + src/admin/hosting-hostname.php | 1 + src/admin/hosting-provider.php | 2 +- src/admin/index.php | 2 +- src/admin/knowledgebase.php | 2 +- src/admin/news.php | 2 +- src/admin/profile.php | 2 +- src/admin/settings.php | 3 +- src/admin/ssl-provider.php | 1 + src/admin/ssl.php | 1 + src/admin/tickets.php | 2 +- src/admin/views/accounts/add.php | 178 ++++++----- src/admin/views/accounts/details.php | 316 +++++++++---------- src/admin/views/accounts/edit.php | 194 ++++++------ src/admin/views/accounts/list.php | 134 ++++---- src/admin/views/accounts/login.php | 38 ++- src/admin/views/clients/add.php | 144 +++++---- src/admin/views/clients/details.php | 144 +++++---- src/admin/views/clients/edit.php | 166 +++++----- src/admin/views/clients/list.php | 114 ++++--- src/admin/views/dashboard/view.php | 313 +++++++++--------- src/admin/views/domain-provider/list.php | 32 +- src/admin/views/footer.php | 3 + src/admin/views/hosting-hostname/list.php | 92 +++--- src/admin/views/hosting-provider/add.php | 220 +++++++------ src/admin/views/hosting-provider/details.php | 200 ++++++------ src/admin/views/hosting-provider/edit.php | 220 +++++++------ src/admin/views/hosting-provider/list.php | 94 +++--- src/admin/views/knowledgebase/add.php | 80 +++-- src/admin/views/knowledgebase/details.php | 64 ++-- src/admin/views/knowledgebase/edit.php | 84 +++-- src/admin/views/knowledgebase/list.php | 84 +++-- src/admin/views/navbar.php | 155 ++++----- src/admin/views/news/add.php | 80 +++-- src/admin/views/news/edit.php | 104 +++--- src/admin/views/news/list.php | 89 +++--- src/admin/views/news/view.php | 54 ++-- src/admin/views/profile/edit.php | 74 +++-- src/admin/views/profile/password.php | 94 +++--- src/admin/views/profile/view.php | 72 ++--- src/admin/views/settings/view.php | 36 +-- src/admin/views/sidebar.php | 81 ++--- src/admin/views/sitepro/view.php | 70 ++-- src/admin/views/ssl-provider/add.php | 100 +++--- src/admin/views/ssl-provider/details.php | 106 +++---- src/admin/views/ssl-provider/edit.php | 112 ++++--- src/admin/views/ssl-provider/list.php | 94 +++--- src/admin/views/ssl/details.php | 144 +++++---- src/admin/views/ssl/list.php | 100 +++--- src/admin/views/tickets/details.php | 148 +++++---- src/admin/views/tickets/list.php | 102 +++--- src/assets/css/common.css | 13 +- src/assets/theme.switcher/css/dark.css | 9 +- src/public/views/common/header.php | 6 + 56 files changed, 2349 insertions(+), 2431 deletions(-) diff --git a/src/admin/accounts.php b/src/admin/accounts.php index ce24864..f7b06c5 100755 --- a/src/admin/accounts.php +++ b/src/admin/accounts.php @@ -11,6 +11,6 @@ if (!in_array($action, array('list', 'add', 'edit', 'details', 'goftp', 'login', require __DIR__ . '/controllers/accounts/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; -// require __DIR__ . '/views/sidebar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/accounts/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/clients.php b/src/admin/clients.php index 1b4744c..d387a75 100755 --- a/src/admin/clients.php +++ b/src/admin/clients.php @@ -11,6 +11,6 @@ if (!in_array($action, array('list', 'add', 'edit', 'details', 'login'))) { require __DIR__ . '/controllers/clients/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; -// require __DIR__ . '/views/sidebar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/clients/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/domain-provider.php b/src/admin/domain-provider.php index f6c3a30..43b2c3d 100755 --- a/src/admin/domain-provider.php +++ b/src/admin/domain-provider.php @@ -13,5 +13,6 @@ $PageInfo['title'] = 'Domain Provider ' . ucfirst($action); // require __DIR__ . '/controllers/domain-provider/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/domain-provider/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/hosting-hostname.php b/src/admin/hosting-hostname.php index cf64f73..81f0edf 100755 --- a/src/admin/hosting-hostname.php +++ b/src/admin/hosting-hostname.php @@ -13,5 +13,6 @@ $PageInfo['title'] = 'Hosting Hostname ' . ucfirst($action); require __DIR__ . '/controllers/hosting-hostname/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/hosting-hostname/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/hosting-provider.php b/src/admin/hosting-provider.php index 1f0766c..cc2b93f 100755 --- a/src/admin/hosting-provider.php +++ b/src/admin/hosting-provider.php @@ -13,6 +13,6 @@ $PageInfo['title'] = 'Hosting Provider ' . ucfirst($action); require __DIR__ . '/controllers/hosting-provider/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; -// require __DIR__ . '/views/sidebar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/hosting-provider/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/index.php b/src/admin/index.php index 543623e..5bf64c1 100755 --- a/src/admin/index.php +++ b/src/admin/index.php @@ -4,6 +4,6 @@ require_once __DIR__ . '/application.php'; require_once __DIR__ . '/controllers/dashboard/view.php'; require_once __DIR__ . '/views/header.php'; require_once __DIR__ . '/views/navbar.php'; -// require_once __DIR__ . '/views/sidebar.php'; +require_once __DIR__ . '/views/sidebar.php'; require_once __DIR__ . '/views/dashboard/view.php'; require_once __DIR__ . '/views/footer.php'; diff --git a/src/admin/knowledgebase.php b/src/admin/knowledgebase.php index a35e53e..abc4a09 100755 --- a/src/admin/knowledgebase.php +++ b/src/admin/knowledgebase.php @@ -13,6 +13,6 @@ $PageInfo['title'] = 'Knowledgebase ' . ucfirst($action); require __DIR__ . '/controllers/knowledgebase/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; -// require __DIR__ . '/views/sidebar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/knowledgebase/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/news.php b/src/admin/news.php index c4b345b..b8c2142 100755 --- a/src/admin/news.php +++ b/src/admin/news.php @@ -11,6 +11,6 @@ if (!in_array($action, array('list', 'add', 'edit', 'view'))) { require __DIR__ . '/controllers/news/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; -// require __DIR__ . '/views/sidebar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/news/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/profile.php b/src/admin/profile.php index 97f9bf7..e0b9909 100755 --- a/src/admin/profile.php +++ b/src/admin/profile.php @@ -11,6 +11,6 @@ if (!in_array($action, array('edit', 'view', 'password'))) { require __DIR__ . '/controllers/profile/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; -// require __DIR__ . '/views/sidebar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/profile/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/settings.php b/src/admin/settings.php index ce29f82..92c5e34 100755 --- a/src/admin/settings.php +++ b/src/admin/settings.php @@ -16,7 +16,6 @@ if (!in_array($action, array('edit', 'view'))) { require __DIR__ . '/controllers/' . $section . '/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; -// require __DIR__ . '/views/sidebar.php'; - +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/' . $section . '/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/ssl-provider.php b/src/admin/ssl-provider.php index 01ff41b..1782f01 100644 --- a/src/admin/ssl-provider.php +++ b/src/admin/ssl-provider.php @@ -13,5 +13,6 @@ $PageInfo['title'] = $lang->I18N('SSL Provider') . $lang->I18N($action); require __DIR__ . '/controllers/ssl-provider/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/ssl-provider/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/ssl.php b/src/admin/ssl.php index 1d4a9ca..90eabd1 100755 --- a/src/admin/ssl.php +++ b/src/admin/ssl.php @@ -13,5 +13,6 @@ $PageInfo['title'] = 'SSL ' . $lang->I18N($action); require __DIR__ . '/controllers/ssl/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/ssl/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/tickets.php b/src/admin/tickets.php index 637e9b2..42e8831 100755 --- a/src/admin/tickets.php +++ b/src/admin/tickets.php @@ -14,6 +14,6 @@ $PageInfo['title'] = 'Ticket ' . ucfirst($action); require __DIR__ . '/controllers/tickets/' . $action . '.php'; require __DIR__ . '/views/header.php'; require __DIR__ . '/views/navbar.php'; -// require __DIR__ . '/views/sidebar.php'; +require __DIR__ . '/views/sidebar.php'; require __DIR__ . '/views/tickets/' . $action . '.php'; require __DIR__ . '/views/footer.php'; diff --git a/src/admin/views/accounts/add.php b/src/admin/views/accounts/add.php index b8bb8fd..1a30f52 100755 --- a/src/admin/views/accounts/add.php +++ b/src/admin/views/accounts/add.php @@ -1,104 +1,102 @@
-
- -
-
-
- - I18N('list'); ?> - + +
+ +
+
+
+
+ + +
-
- +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
-
-
-
-
- - -
-
-
-
- - -
-
-
-
- - -
-
-
-
- - -
+

+ +
+ +
+
+ +
-

- - - -
-
- - -
-
-
-
- - -
-
- -
-
-
+
- - -
Your account will be deleted after 30 days of your account deactivation and all of the account data will be removed completely(This action cannot be undo).
- + +
+
+ +
+
+
+
+ + +
Your account will be deleted after 30 days of your account deactivation and all of the account data will be removed completely(This action cannot be undo).
+ +
+
+ +
+
+ +
+ +
+
+ +
- - -
+
+ +
diff --git a/src/admin/views/accounts/details.php b/src/admin/views/accounts/details.php index 2d2482f..c1bf091 100755 --- a/src/admin/views/accounts/details.php +++ b/src/admin/views/accounts/details.php @@ -1,168 +1,166 @@
-
- -
-
-
- - ID -
-
-
- -
This account is inactive.
- -
This account has been suspended.
- -
This account has been deleted.
- -
- -
-
-
- Control Panel Username: - -
-
-
-
- Control Panel Password: - -
-
-
-
- Main Domain: - -
-
-
-
- Control Panel Domain: - -
-
-
-
- Status: - - I18N('Inactive'); ?> - - I18N('Active'); ?> - - I18N('Suspended'); ?> - - I18N('Deleted'); ?> - -
-
-
-
- Creation Date: - -
-
-
-
- Server IP: - -
-
-
-
- Your IP: - -
-
-
-
- FTP Hostname: - -
-
-
-
- FTP Port: - 21 -
-
-
-
- MySQL Hostname: - -
-
-
-
- Mysql Port: - 3306 -
-
-
-
- Nameserver 1: - -
-
-
-
- Nameserver 2: - -
-
-
-
-