mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
parent
9b982b7e01
commit
a40bd6942f
@ -889,17 +889,18 @@ form dd.active li.active input.related-action[type='submit'] {
|
|||||||
form {
|
form {
|
||||||
p.description {
|
p.description {
|
||||||
color: @gray;
|
color: @gray;
|
||||||
font-style: normal;
|
font-style: italic;
|
||||||
padding: 0.5em;
|
padding: 0.25em 0.5em;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.description:before {
|
dd.active {
|
||||||
content: '\e85b';
|
p.description {
|
||||||
font-family: 'ifont';
|
font-style: normal;
|
||||||
color: @icinga-blue;
|
display: block;
|
||||||
position: absolute;
|
height: auto;
|
||||||
margin-left: -1.5em;
|
color: @text-color;
|
||||||
margin-top: -0.25em;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -916,43 +917,6 @@ form.db-selector {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#layout.minimal-layout {
|
|
||||||
form p.description {
|
|
||||||
margin: 0;
|
|
||||||
border-radius: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
max-height: 8em;
|
|
||||||
font-size: 0.835em;
|
|
||||||
max-width: unset;
|
|
||||||
width: auto;
|
|
||||||
border-left: none;
|
|
||||||
border-right: none;
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#layout.twocols {
|
|
||||||
form {
|
|
||||||
p.description {
|
|
||||||
width: 46%;
|
|
||||||
max-width: 46%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#layout.twocols &#col1 {
|
|
||||||
form {
|
|
||||||
p.description {
|
|
||||||
margin-right: auto;
|
|
||||||
right: auto;
|
|
||||||
margin-left: 2%;
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#layout.twocols &#col1 {
|
#layout.twocols &#col1 {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
@ -600,7 +600,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var $dd = $input.closest('dd');
|
var $dd = $input.closest('dd');
|
||||||
$dd.find('p.description').show();
|
|
||||||
if ($dd.attr('id') && $dd.attr('id').match(/button/)) {
|
if ($dd.attr('id') && $dd.attr('id').match(/button/)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -612,10 +611,6 @@
|
|||||||
$li.addClass('active');
|
$li.addClass('active');
|
||||||
$dt.addClass('active');
|
$dt.addClass('active');
|
||||||
$dd.addClass('active');
|
$dd.addClass('active');
|
||||||
|
|
||||||
$form.find('dd').not($dd)
|
|
||||||
.find('p.description')
|
|
||||||
.hide();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
highlightFormErrors: function($container)
|
highlightFormErrors: function($container)
|
||||||
@ -638,10 +633,6 @@
|
|||||||
this.openedFieldsets[$fieldset.attr('id')] = ! $fieldset.hasClass('collapsed');
|
this.openedFieldsets[$fieldset.attr('id')] = ! $fieldset.hasClass('collapsed');
|
||||||
},
|
},
|
||||||
|
|
||||||
hideInactiveFormDescriptions: function($container) {
|
|
||||||
$container.find('dd').not('.active').find('p.description').hide();
|
|
||||||
},
|
|
||||||
|
|
||||||
beforeRender: function(ev) {
|
beforeRender: function(ev) {
|
||||||
var $container = $(ev.currentTarget);
|
var $container = $(ev.currentTarget);
|
||||||
var id = $container.attr('id');
|
var id = $container.attr('id');
|
||||||
@ -704,7 +695,6 @@
|
|||||||
this.scrollHighlightIntoView($container);
|
this.scrollHighlightIntoView($container);
|
||||||
this.scrollActiveRowIntoView($container);
|
this.scrollActiveRowIntoView($container);
|
||||||
this.highlightActiveDashlet($container);
|
this.highlightActiveDashlet($container);
|
||||||
this.hideInactiveFormDescriptions($container);
|
|
||||||
if (iid = $container.data('activeExtensibleEntry')) {
|
if (iid = $container.data('activeExtensibleEntry')) {
|
||||||
$('#' + iid).focus();
|
$('#' + iid).focus();
|
||||||
$container.removeData('activeExtensibleEntry');
|
$container.removeData('activeExtensibleEntry');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user