From 6e88a26d4d92b9d7eafe6c501a398cf617cbff0c Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Mon, 12 Jun 2023 16:28:15 +0200 Subject: [PATCH] Few buttons decorated --- web/add/db/index.php | 2 +- web/add/mail/index.php | 2 +- web/add/user/index.php | 2 +- web/css/styles.min.css | 13 +++++++++++++ web/templates/admin/list_backup_detail.html | 6 ------ web/templates/admin/list_db.html | 4 ++-- web/templates/admin/list_mail.html | 2 +- web/templates/header.html | 2 +- web/templates/user/list_db.html | 4 ++-- web/templates/user/list_mail.html | 2 +- 10 files changed, 23 insertions(+), 16 deletions(-) diff --git a/web/add/db/index.php b/web/add/db/index.php index 68f66b4a..e0529b32 100644 --- a/web/add/db/index.php +++ b/web/add/db/index.php @@ -98,7 +98,7 @@ if (!empty($_POST['ok'])) { // Flush field values on success if (empty($_SESSION['error_msg'])) { $_SESSION['ok_msg'] = __('DATABASE_CREATED_OK',htmlentities($user)."_".htmlentities($_POST['v_database']),htmlentities($user)."_".htmlentities($_POST['v_database'])); - $_SESSION['ok_msg'] .= " / " . __('open %s',$db_admin) . ""; + $_SESSION['ok_msg'] .= " / " . __('open %s',$db_admin) . ""; unset($v_database); unset($v_dbuser); unset($v_password); diff --git a/web/add/mail/index.php b/web/add/mail/index.php index b260b465..c761139c 100644 --- a/web/add/mail/index.php +++ b/web/add/mail/index.php @@ -187,7 +187,7 @@ if (!empty($_POST['ok_acc'])) { // Flush field values on success if (empty($_SESSION['error_msg'])) { $_SESSION['ok_msg'] = __('MAIL_ACCOUNT_CREATED_OK',htmlentities(strtolower($_POST['v_account'])),htmlentities($_POST[v_domain]),htmlentities(strtolower($_POST['v_account'])),htmlentities($_POST[v_domain])); - $_SESSION['ok_msg'] .= " / " . __('open webmail') . ""; + $_SESSION['ok_msg'] .= " / " . __('open webmail') . ""; unset($v_account); unset($v_password); unset($v_password); diff --git a/web/add/user/index.php b/web/add/user/index.php index 04043484..b51f587d 100644 --- a/web/add/user/index.php +++ b/web/add/user/index.php @@ -100,7 +100,7 @@ if (!empty($_POST['ok'])) { // Flush field values on success if (empty($_SESSION['error_msg'])) { $_SESSION['ok_msg'] = __('USER_CREATED_OK',htmlentities($_POST['v_username']),htmlentities($_POST['v_username'])); - $_SESSION['ok_msg'] .= " / " . __('login as') ." ".htmlentities($_POST['v_username']). ""; + $_SESSION['ok_msg'] .= " / " . __('login as') ." ".htmlentities($_POST['v_username']). ""; unset($v_username); unset($v_password); unset($v_email); diff --git a/web/css/styles.min.css b/web/css/styles.min.css index b3636cf2..374b458c 100644 --- a/web/css/styles.min.css +++ b/web/css/styles.min.css @@ -4223,3 +4223,16 @@ div.ui-dialog + div div{ background-color: #333 !important; } */ + +.backup-items { + background-color: #f8f8f8; + margin: 10px 33px; + border-radius: 10px; +} + +.upper_button { + background-color: #3AB5DD; + color: #fff !important; + padding: 5px 10px !important; + border-radius: 13px; +} diff --git a/web/templates/admin/list_backup_detail.html b/web/templates/admin/list_backup_detail.html index 0d583536..a5063e1d 100644 --- a/web/templates/admin/list_backup_detail.html +++ b/web/templates/admin/list_backup_detail.html @@ -3,12 +3,6 @@ input[type="checkbox"] { display: block; margin-top: 26px; } - -.backup-items { - background-color: #f8f8f8; - margin: 10px 33px; - border-radius: 10px; -}

diff --git a/web/templates/admin/list_db.html b/web/templates/admin/list_db.html index 72d2a92c..9fafb25b 100644 --- a/web/templates/admin/list_db.html +++ b/web/templates/admin/list_db.html @@ -35,10 +35,10 @@ } } if($mysql){ - echo 'phpMyAdmin'; + echo 'phpMyAdmin'; } if($pgsql){ - echo 'phpPgAdmin'; + echo 'phpPgAdmin'; } ?> diff --git a/web/templates/admin/list_mail.html b/web/templates/admin/list_mail.html index 13cfa491..6ac91075 100644 --- a/web/templates/admin/list_mail.html +++ b/web/templates/admin/list_mail.html @@ -17,7 +17,7 @@ $webmail = "http://".$http_host."/webmail/"; if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL']; ?> - + diff --git a/web/templates/header.html b/web/templates/header.html index 810657d8..7f317f94 100644 --- a/web/templates/header.html +++ b/web/templates/header.html @@ -4,7 +4,7 @@ myVesta - <?=__($TAB)?> - + diff --git a/web/templates/user/list_db.html b/web/templates/user/list_db.html index ae976640..14ee286d 100644 --- a/web/templates/user/list_db.html +++ b/web/templates/user/list_db.html @@ -35,10 +35,10 @@ } } if($mysql){ - echo 'phpMyAdmin'; + echo 'phpMyAdmin'; } if($pgsql){ - echo 'phpPgAdmin'; + echo 'phpPgAdmin'; } ?> diff --git a/web/templates/user/list_mail.html b/web/templates/user/list_mail.html index 1284d095..d3c39c59 100644 --- a/web/templates/user/list_mail.html +++ b/web/templates/user/list_mail.html @@ -17,7 +17,7 @@ $webmail = "http://".$http_host."/webmail/"; if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL']; ?> - +