diff options
author | Adam Young <ayoung@redhat.com> | 2010-10-15 16:12:34 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-10-19 17:55:36 -0400 |
commit | d8b4e68221f32fa95c149fc125850f042a38e537 (patch) | |
tree | dc13b7cb98de61d441a9a03e45323f4734fe2c9e /install/static/entity.js | |
parent | 68f727e4650ac174217b462723090ad95bb090e9 (diff) | |
download | freeipa-d8b4e68221f32fa95c149fc125850f042a38e537.tar.gz freeipa-d8b4e68221f32fa95c149fc125850f042a38e537.tar.xz freeipa-d8b4e68221f32fa95c149fc125850f042a38e537.zip |
removing icons
We'll later replace them with a new scheme. For now, this is the simplest UI
The intention is to look unfinished, so people don't comment on how poor it looks.
Diffstat (limited to 'install/static/entity.js')
-rw-r--r-- | install/static/entity.js | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/install/static/entity.js b/install/static/entity.js index 913a751c..9f3149bd 100644 --- a/install/static/entity.js +++ b/install/static/entity.js @@ -208,13 +208,13 @@ function ipa_entity_generate_views(obj_name, container, switch_view) title: 'search', text: 'Search', click: switch_view - }).prepend('<img src="search.png"/>')); + })); ul.append($('<li></li>', { text: 'Details', title: 'details', click: switch_view - }).prepend('<img src="' + obj_name +'_details.png"/>')); + }).prepend('| ')); var attribute_members = ipa_objs[obj_name].attribute_members; for (attr in attribute_members) { @@ -227,7 +227,7 @@ function ipa_entity_generate_views(obj_name, container, switch_view) title: m, text:label, click: switch_view - }).prepend('<img src="' + ipa_objs[m].name + '_member.png"/>')); + }).prepend('| ')); } } @@ -253,9 +253,7 @@ function ipa_entity_quick_links(tr, attr, value, entry_attrs) { nav_push_state(state); return false; } - }).append($('<img/>', { - src: obj_name+'_details.png' - })).appendTo(td); + }).appendTo(td); var attribute_members = ipa_objs[obj_name].attribute_members; for (attr_name in attribute_members) { @@ -267,6 +265,7 @@ function ipa_entity_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: '#'+m, title: label, + text: label, click: function(m) { return function() { var state = {}; @@ -277,9 +276,7 @@ function ipa_entity_quick_links(tr, attr, value, entry_attrs) { return false; } }(m) - }).append($('<img/>', { - src: m+'_member.png' - })).appendTo(td); + }).append(' | ' ).appendTo(td); } } } |