summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-14 13:29:54 -0500
committerAdam Young <ayoung@redhat.com>2011-01-14 13:32:03 -0500
commita68b2d2aa37e748c2d00b70bd7d1ea114a4488be (patch)
treedc45a3f5bc79980f3da3c709a0612e8b95618b4a
parent91fae67fa48d7fa1f4213bad65000d3669a8c8b2 (diff)
downloadfreeipa-a68b2d2aa37e748c2d00b70bd7d1ea114a4488be.tar.gz
freeipa-a68b2d2aa37e748c2d00b70bd7d1ea114a4488be.tar.xz
freeipa-a68b2d2aa37e748c2d00b70bd7d1ea114a4488be.zip
hide unselectable options
If an option is not selectable from the action panel, hide it until it is selectable addresses https://fedorahosted.org/freeipa/ticket/747
-rw-r--r--install/static/entity.js2
-rw-r--r--install/static/ipa.css7
2 files changed, 2 insertions, 7 deletions
diff --git a/install/static/entity.js b/install/static/entity.js
index 38ce47ed7..96849e780 100644
--- a/install/static/entity.js
+++ b/install/static/entity.js
@@ -512,7 +512,7 @@ IPA. facet_create_action_panel = function(container) {
var facet_group = other_facet.facet_group;
if (!facet_groups[facet_group]) {
li = $('<li/>', {
- 'class': 'entity-facet-relation-label',
+ 'class': 'entity-facet entity-facet-relation-label',
'text': other_facet.facet_group,
'title': other_facet.facet_group
});
diff --git a/install/static/ipa.css b/install/static/ipa.css
index 2e61d6d9d..cdeb4045e 100644
--- a/install/static/ipa.css
+++ b/install/static/ipa.css
@@ -501,12 +501,7 @@ span.main-separator{
}
.action-panel li.entity-facet-disabled {
- font-family: "Liberation Sans",Arial,sans-serif;
- color: gray;
- cursor: default;
- text-decoration: none;
- text-transform: none;
-
+ display:none;
}
.action-panel li.entity-facet-relation-label {