From d8403a91b4a7421904f0308831260a79af449d25 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 16 Sep 2010 15:13:48 -0400 Subject: css tabs and facets includes Makfile changes to get images to deploy --- install/static/entity.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'install/static/entity.js') 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 = $('', {'class': 'entity-views'}); + //TODO replace the plus image with the correct image for each facet ul.append($('
  • ', { - text: 'Back to Search', title: 'search', click: switch_view - })); + })).append('') + .append('Search') ; ul.append($('
  • ', { text: 'Details', title: 'details', click: switch_view - })); + })).append('') + .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($('
  • ', { - text: label, title: m, click: switch_view - })); + })).append('') + .append(label); } } -- cgit