mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
buttons to action panel
This commit is contained in:
committed by
Endi Sukma Dewata
parent
59a0c17c54
commit
9fa543700b
@@ -133,9 +133,9 @@ function ipa_hbac_search_facet(spec) {
|
||||
'label': 'Cull Disabled Rules'
|
||||
}));
|
||||
*/
|
||||
var right_buttons = $('<span/>', {
|
||||
var right_buttons = $('<li/>', {
|
||||
'style': 'float: right;'
|
||||
}).appendTo(container);
|
||||
}).appendTo($('.action-panel ul'));
|
||||
|
||||
right_buttons.append(ipa_button({
|
||||
'label': 'HBAC Services',
|
||||
|
||||
@@ -107,9 +107,9 @@ function ipa_hbacsvc_search_facet(spec) {
|
||||
// TODO: replace with IPA.metadata[that.entity_name].label
|
||||
$('<h2/>', { 'html': 'HBAC Services' }).appendTo(container);
|
||||
|
||||
var right_buttons = $('<span/>', {
|
||||
var right_buttons = $('<li/>', {
|
||||
'style': 'float: right;'
|
||||
}).appendTo(container);
|
||||
}).appendTo($('.action-panel ul'));
|
||||
|
||||
right_buttons.append(ipa_button({
|
||||
'label': 'HBAC Rules',
|
||||
|
||||
@@ -118,9 +118,9 @@ function ipa_hbacsvcgroup_search_facet(spec) {
|
||||
// TODO: replace with IPA.metadata[that.entity_name].label
|
||||
$('<h2/>', { 'html': 'HBAC Service Groups' }).appendTo(container);
|
||||
|
||||
var right_buttons = $('<span/>', {
|
||||
var right_buttons = $('<li/>', {
|
||||
'style': 'float: right;'
|
||||
}).appendTo(container);
|
||||
}).appendTo($('.action-panel ul'));
|
||||
|
||||
right_buttons.append(ipa_button({
|
||||
'label': 'HBAC Rules',
|
||||
|
||||
@@ -63,6 +63,7 @@ div.tabs {
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
|
||||
@@ -185,12 +186,11 @@ span.attrhint {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ui-tabs-nav{
|
||||
}
|
||||
|
||||
/*Navigation */
|
||||
.tabs1 .ui-tabs-nav{
|
||||
padding-left: 50px;
|
||||
padding-top: 50px;
|
||||
margin: 0;
|
||||
background-image: url(Mainnav-background.png);
|
||||
}
|
||||
@@ -230,6 +230,7 @@ span.attrhint {
|
||||
|
||||
.tabs2 .ui-tabs-nav {
|
||||
background-image: url(Subnav-background.png);
|
||||
padding-top: 0px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -278,8 +279,6 @@ span.main-separator{
|
||||
.entity-container{
|
||||
position: relative;
|
||||
width: 80%;
|
||||
height: 100%;
|
||||
min-height: 200 px;
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
background: #e8e8e8;
|
||||
@@ -287,13 +286,14 @@ span.main-separator{
|
||||
|
||||
.action-panel {
|
||||
position:relative;
|
||||
top:30px;
|
||||
|
||||
left: -20px;
|
||||
border-width: thin;
|
||||
border-style: solid;
|
||||
border-color: black;
|
||||
float: left;
|
||||
margin: 10px;
|
||||
margin-top:75px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
.action-panel h3{
|
||||
@@ -305,8 +305,8 @@ span.main-separator{
|
||||
}
|
||||
|
||||
.action-panel li {
|
||||
# float: left;
|
||||
# list-style-type: none;
|
||||
height: 25px;
|
||||
|
||||
}
|
||||
|
||||
.client {
|
||||
@@ -317,7 +317,10 @@ span.main-separator{
|
||||
/* Search */
|
||||
|
||||
.search-controls {
|
||||
background:#a5a5a5;
|
||||
height: 25px;
|
||||
background:#a5a5a5;
|
||||
position: relative;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.search-table > a:link,a:visted{
|
||||
|
||||
@@ -53,17 +53,20 @@ function ipa_search_widget(spec) {
|
||||
'click': function() { that.find(container); }
|
||||
}).appendTo(search_filter);
|
||||
|
||||
ipa_button({
|
||||
'label': IPA.messages.button.remove,
|
||||
'icon': 'ui-icon-trash',
|
||||
'click': function() { that.remove(container); }
|
||||
}).appendTo(search_filter);
|
||||
|
||||
ipa_button({
|
||||
'label': IPA.messages.button.add,
|
||||
'icon': 'ui-icon-plus',
|
||||
'click': function() { that.add(container); }
|
||||
}).appendTo(search_filter);
|
||||
var li = $('<li />', {
|
||||
html: ipa_button({
|
||||
'label': IPA.messages.button.remove,
|
||||
'icon': 'ui-icon-trash',
|
||||
'click': function() { that.remove(container); }
|
||||
})});
|
||||
li.append(
|
||||
ipa_button({
|
||||
'label': IPA.messages.button.add,
|
||||
'icon': 'ui-icon-plus',
|
||||
'click': function() { that.add(container); }
|
||||
})
|
||||
);
|
||||
li.appendTo($('.action-panel ul'));
|
||||
|
||||
search_controls.append('<span class="search-buttons"></span>');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user