From d8b4e68221f32fa95c149fc125850f042a38e537 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 15 Oct 2010 16:12:34 -0400 Subject: 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. --- install/static/entity.js | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'install/static/entity.js') 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('')); + })); ul.append($('
  • ', { text: 'Details', title: 'details', click: switch_view - }).prepend('')); + }).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('')); + }).prepend('| ')); } } @@ -253,9 +253,7 @@ function ipa_entity_quick_links(tr, attr, value, entry_attrs) { nav_push_state(state); return false; } - }).append($('', { - 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) { $("", { 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($('', { - src: m+'_member.png' - })).appendTo(td); + }).append(' | ' ).appendTo(td); } } } -- cgit