diff options
author | Adam Young <ayoung@redhat.com> | 2010-09-16 15:13:48 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-09-17 19:42:40 -0400 |
commit | d8403a91b4a7421904f0308831260a79af449d25 (patch) | |
tree | 6a8a36c614e4c8e202eae1b646bad684de929ffb /install/static/entity.js | |
parent | 83031ea1a44d7d575c47cc176d45b88f1e52c11a (diff) | |
download | freeipa-d8403a91b4a7421904f0308831260a79af449d25.tar.gz freeipa-d8403a91b4a7421904f0308831260a79af449d25.tar.xz freeipa-d8403a91b4a7421904f0308831260a79af449d25.zip |
css tabs and facets
includes Makfile changes to get images to deploy
Diffstat (limited to 'install/static/entity.js')
-rw-r--r-- | install/static/entity.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/install/static/entity.js b/install/static/entity.js index ea7292e36..7aec565ac 100644 --- a/install/static/entity.js +++ b/install/static/entity.js @@ -131,17 +131,19 @@ function ipa_entity_generate_views(obj_name, container) var ul = $('<ul></ul>', {'class': 'entity-views'}); + //TODO replace the plus image with the correct image for each facet ul.append($('<li></li>', { - text: 'Back to Search', title: 'search', click: switch_view - })); + })).append('<img src="plus-enabled.png"/>') + .append('Search') ; ul.append($('<li></li>', { text: 'Details', title: 'details', click: switch_view - })); + })).append('<img src="plus-enabled.png"/>') + .append('Details') ; var attribute_members = ipa_objs[obj_name].attribute_members; for (attr in attribute_members) { @@ -151,10 +153,10 @@ function ipa_entity_generate_views(obj_name, container) var label = ipa_objs[m].label; ul.append($('<li></li>', { - text: label, title: m, click: switch_view - })); + })).append('<img src="plus-enabled.png"/>') + .append(label); } } |