Deployment area single targets

This commit is contained in:
fbsanchez 2019-07-12 18:29:58 +02:00
parent 1e05f9a396
commit 9fb32c4699
5 changed files with 21 additions and 5 deletions

View File

@ -369,7 +369,7 @@ echo '</div>';
text = err.message;
failed = 1;
}
if (!failed && data['error']) {
if (!failed && data['error'] != undefined) {
title = "<?php echo __('Failed'); ?>";
text = data['error'];
failed = 1;

View File

@ -592,7 +592,7 @@ class Wizard
$cb_function = $data['cb_function'];
$cb_args = $data['cb_args'];
$output_head = '<form class="discovery" onsubmit="'.$form['onsubmit'].'" enctype="'.$form['enctype'].'" action="'.$form['action'].'" method="'.$form['method'];
$output_head = '<form id="'.$form['id'].'" class="discovery '.$form['class'].'" onsubmit="'.$form['onsubmit'].'" enctype="'.$form['enctype'].'" action="'.$form['action'].'" method="'.$form['method'];
$output_head .= '" '.$form['extra'].'>';
if ($return === false) {

View File

@ -56,8 +56,6 @@ function credentials_get_all(
global $config;
$user_is_admin = users_is_admin();
if (!is_array($filter)) {
error_log('[credential_get_all] Filter must be an array.');
throw new Exception('[credential_get_all] Filter must be an array.');

View File

@ -2,7 +2,7 @@ ul.wizard li > label:not(.p-switch) {
width: auto;
}
ul.wizard {
form.top-action-buttons ul.wizard {
display: flex;
flex-direction: row;
}
@ -10,3 +10,15 @@ ul.wizard {
ul.wizard li {
margin-right: 1em;
}
form.modal ul.wizard li {
display: flex;
flex-direction: row;
width: 90%;
margin: 0.5em auto;
justify-items: center;
}
form.modal ul.wizard li * {
flex: 1;
}

View File

@ -122,6 +122,7 @@
letter-spacing: 0.3pt;
color: #000;
background-color: #fff;
cursor: pointer;
}
.info_table tr th {
@ -341,3 +342,8 @@ a.pandora_pagination.current:hover {
background-position-y: center;
cursor: pointer;
}
.info_table tr th.sorting_asc,
.info_table tr th.sorting_desc {
padding-left: 15px;
}