mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Few buttons decorated
This commit is contained in:
parent
db6360922f
commit
6e88a26d4d
10 changed files with 23 additions and 16 deletions
|
@ -98,7 +98,7 @@ if (!empty($_POST['ok'])) {
|
||||||
// Flush field values on success
|
// Flush field values on success
|
||||||
if (empty($_SESSION['error_msg'])) {
|
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'] = __('DATABASE_CREATED_OK',htmlentities($user)."_".htmlentities($_POST['v_database']),htmlentities($user)."_".htmlentities($_POST['v_database']));
|
||||||
$_SESSION['ok_msg'] .= " / <a href=".$db_admin_link." target='_blank'>" . __('open %s',$db_admin) . "</a>";
|
$_SESSION['ok_msg'] .= " / <a style=\"text-decoration: underline; color: #9c8cff;\" href=".$db_admin_link." target='_blank'>" . __('open %s',$db_admin) . "</a>";
|
||||||
unset($v_database);
|
unset($v_database);
|
||||||
unset($v_dbuser);
|
unset($v_dbuser);
|
||||||
unset($v_password);
|
unset($v_password);
|
||||||
|
|
|
@ -187,7 +187,7 @@ if (!empty($_POST['ok_acc'])) {
|
||||||
// Flush field values on success
|
// Flush field values on success
|
||||||
if (empty($_SESSION['error_msg'])) {
|
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'] = __('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'] .= " / <a href=".$webmail." target='_blank'>" . __('open webmail') . "</a>";
|
$_SESSION['ok_msg'] .= " / <a style=\"text-decoration: underline; color: #9c8cff;\" href=".$webmail." target='_blank'>" . __('open webmail') . "</a>";
|
||||||
unset($v_account);
|
unset($v_account);
|
||||||
unset($v_password);
|
unset($v_password);
|
||||||
unset($v_password);
|
unset($v_password);
|
||||||
|
|
|
@ -100,7 +100,7 @@ if (!empty($_POST['ok'])) {
|
||||||
// Flush field values on success
|
// Flush field values on success
|
||||||
if (empty($_SESSION['error_msg'])) {
|
if (empty($_SESSION['error_msg'])) {
|
||||||
$_SESSION['ok_msg'] = __('USER_CREATED_OK',htmlentities($_POST['v_username']),htmlentities($_POST['v_username']));
|
$_SESSION['ok_msg'] = __('USER_CREATED_OK',htmlentities($_POST['v_username']),htmlentities($_POST['v_username']));
|
||||||
$_SESSION['ok_msg'] .= " / <a style=\"text-decoration: underline;\" href=\"/login/?loginas=".htmlentities($_POST['v_username'])."&token=".htmlentities($_SESSION['token'])."\">" . __('login as') ." ".htmlentities($_POST['v_username']). "</a>";
|
$_SESSION['ok_msg'] .= " / <a style=\"text-decoration: underline; color: #9c8cff;\" href=\"/login/?loginas=".htmlentities($_POST['v_username'])."&token=".htmlentities($_SESSION['token'])."\">" . __('login as') ." ".htmlentities($_POST['v_username']). "</a>";
|
||||||
unset($v_username);
|
unset($v_username);
|
||||||
unset($v_password);
|
unset($v_password);
|
||||||
unset($v_email);
|
unset($v_email);
|
||||||
|
|
13
web/css/styles.min.css
vendored
13
web/css/styles.min.css
vendored
|
@ -4223,3 +4223,16 @@ div.ui-dialog + div div{
|
||||||
background-color: #333 !important;
|
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;
|
||||||
|
}
|
||||||
|
|
|
@ -3,12 +3,6 @@ input[type="checkbox"] {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 26px;
|
margin-top: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.backup-items {
|
|
||||||
background-color: #f8f8f8;
|
|
||||||
margin: 10px 33px;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form action="/bulk/restore/" method="post" id="objects">
|
<form action="/bulk/restore/" method="post" id="objects">
|
||||||
|
|
|
@ -35,10 +35,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($mysql){
|
if($mysql){
|
||||||
echo '<td class="step-right"><a class="vst" href="'.$db_myadmin_link.'" target="_blank">phpMyAdmin</td>';
|
echo '<td class="step-right"><a class="vst upper_button" href="'.$db_myadmin_link.'" target="_blank">phpMyAdmin</td>';
|
||||||
}
|
}
|
||||||
if($pgsql){
|
if($pgsql){
|
||||||
echo '<td class="step-right"><a class="vst" href="'.$db_pgadmin_link.'" target="_blank">phpPgAdmin</td>';
|
echo '<td class="step-right"><a class="vst upper_button" href="'.$db_pgadmin_link.'" target="_blank">phpPgAdmin</td>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<td class="l-sort-toolbar__search-box step-left">
|
<td class="l-sort-toolbar__search-box step-left">
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
$webmail = "http://".$http_host."/webmail/";
|
$webmail = "http://".$http_host."/webmail/";
|
||||||
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
|
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
|
||||||
?>
|
?>
|
||||||
<a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
|
<a class="vst upper_button" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
|
||||||
</td>
|
</td>
|
||||||
<td class="l-sort-toolbar__search-box step-left">
|
<td class="l-sort-toolbar__search-box step-left">
|
||||||
<form action="/search/" method="get">
|
<form action="/search/" method="get">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
|
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
|
||||||
<title>myVesta - <?=__($TAB)?></title>
|
<title>myVesta - <?=__($TAB)?></title>
|
||||||
<link rel="stylesheet" href="/css/styles.min.css?1446554110">
|
<link rel="stylesheet" href="/css/styles.min.css?1446554112">
|
||||||
<link type="text/css" href="/css/jquery-custom-dialogs.css" rel="stylesheet" />
|
<link type="text/css" href="/css/jquery-custom-dialogs.css" rel="stylesheet" />
|
||||||
<link href="/css/fonts/font_sans_pro.css" rel="stylesheet">
|
<link href="/css/fonts/font_sans_pro.css" rel="stylesheet">
|
||||||
<link href="/css/fonts/font_lobster.css" rel="stylesheet">
|
<link href="/css/fonts/font_lobster.css" rel="stylesheet">
|
||||||
|
|
|
@ -35,10 +35,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($mysql){
|
if($mysql){
|
||||||
echo '<td class="step-right"><a class="vst" href="'.$db_myadmin_link.'" target="_blank">phpMyAdmin</td>';
|
echo '<td class="step-right"><a class="vst upper_button" href="'.$db_myadmin_link.'" target="_blank">phpMyAdmin</td>';
|
||||||
}
|
}
|
||||||
if($pgsql){
|
if($pgsql){
|
||||||
echo '<td class="step-right"><a class="vst" href="'.$db_pgadmin_link.'" target="_blank">phpPgAdmin</td>';
|
echo '<td class="step-right"><a class="vst upper_button" href="'.$db_pgadmin_link.'" target="_blank">phpPgAdmin</td>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
$webmail = "http://".$http_host."/webmail/";
|
$webmail = "http://".$http_host."/webmail/";
|
||||||
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
|
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
|
||||||
?>
|
?>
|
||||||
<a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
|
<a class="vst upper_button" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
|
||||||
</td>
|
</td>
|
||||||
<td class="l-sort-toolbar__search-box step-left">
|
<td class="l-sort-toolbar__search-box step-left">
|
||||||
<form action="/search/" method="get">
|
<form action="/search/" method="get">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue