mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui: restyle automember default group
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
parent
9c1da611ea
commit
5499022782
@ -446,17 +446,19 @@ table.scrollable tbody {
|
|||||||
|
|
||||||
/* --- Automember --- */
|
/* --- Automember --- */
|
||||||
|
|
||||||
.automember-header .default_group {
|
.automember-header {
|
||||||
padding-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.automember-header .default_group h2 {
|
.automember-header-label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 15px 0 0;
|
font-weight: 600;
|
||||||
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.automember-header .default_group label {
|
.automember-header-control {
|
||||||
margin-right: 20px;
|
display: inline-block;
|
||||||
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Stand alone forms --- */
|
/* --- Stand alone forms --- */
|
||||||
|
@ -678,17 +678,16 @@ IPA.automember.default_group_widget = function(spec) {
|
|||||||
|
|
||||||
var title = that.get_title();
|
var title = that.get_title();
|
||||||
|
|
||||||
var default_group = $('<div />', {
|
that.header = $('<div/>', {
|
||||||
'class': 'default_group'
|
'class': 'automember-header-label',
|
||||||
}).appendTo(container);
|
|
||||||
|
|
||||||
that.header = $('<h2/>', {
|
|
||||||
name: 'header',
|
name: 'header',
|
||||||
text: title,
|
text: title,
|
||||||
title: title
|
title: title
|
||||||
}).appendTo(default_group);
|
}).appendTo(container);
|
||||||
|
|
||||||
that.group_select.create(default_group);
|
that.group_select_node = $('<div/>', { 'class': 'automember-header-control' });
|
||||||
|
that.group_select.create(that.group_select_node);
|
||||||
|
that.group_select_node.appendTo(container);
|
||||||
};
|
};
|
||||||
|
|
||||||
that.get_title = function() {
|
that.get_title = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user