diff options
author | Adam Young <ayoung@redhat.com> | 2010-09-17 20:30:41 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-09-20 12:11:33 -0400 |
commit | b47d6c09440799f41ca4aa91014a7829ada06114 (patch) | |
tree | 7f4ede124b120a5187d533bc319b46832a94a948 | |
parent | de88718f8790cf35d33e76982ab4bde6af34d4ca (diff) | |
download | freeipa-b47d6c09440799f41ca4aa91014a7829ada06114.tar.gz freeipa-b47d6c09440799f41ca4aa91014a7829ada06114.tar.xz freeipa-b47d6c09440799f41ca4aa91014a7829ada06114.zip |
links and facet icons
Enables the icons in the links and in the facets lists
-rw-r--r-- | install/static/Makefile.am | 22 | ||||
-rw-r--r-- | install/static/entity.js | 6 | ||||
-rw-r--r-- | install/static/group.js | 6 | ||||
-rw-r--r-- | install/static/service.js | 4 | ||||
-rw-r--r-- | install/static/user.js | 8 |
5 files changed, 34 insertions, 12 deletions
diff --git a/install/static/Makefile.am b/install/static/Makefile.am index b5a5c5f10..9bd327c7a 100644 --- a/install/static/Makefile.am +++ b/install/static/Makefile.am @@ -57,6 +57,28 @@ app_DATA = \ ui-icons_ededed_256x240.png \ ui-icons_ffcf29_256x240.png \ ui-icons_ffffff_256x240.png \ + group_details.png \ + host_details.png \ + hostgroup_details.png \ + netgroup_details.png \ + service_details.png \ + user_details.png \ + group_member.png \ + host_member.png \ + hostgroup_member.png \ + netgroup_member.png \ + service_member.png \ + user_member.png \ + group_enroll.png \ + host_enroll.png \ + hostgroup_enroll.png \ + netgroup_enroll.png \ + service_enroll.png \ + user_enroll.png \ + search.png \ + taskgroup_details.png \ + rolegroup_details.png \ + rolegroup_member.png \ $(NULL) EXTRA_DIST = \ diff --git a/install/static/entity.js b/install/static/entity.js index 3c48ca8f5..7adc3921b 100644 --- a/install/static/entity.js +++ b/install/static/entity.js @@ -136,13 +136,13 @@ function ipa_entity_generate_views(obj_name, container) title: 'search', text: 'Search', click: switch_view - }).prepend('<img src="plus-enabled.png"/>')); + }).prepend('<img src="search.png"/>')); ul.append($('<li></li>', { text: 'Details', title: 'details', click: switch_view - }).prepend('<img src="plus-enabled.png"/>')); + }).prepend('<img src="' + obj_name +'_details.png"/>')); var attribute_members = ipa_objs[obj_name].attribute_members; for (attr in attribute_members) { @@ -155,7 +155,7 @@ function ipa_entity_generate_views(obj_name, container) title: m, text:label, click: switch_view - }).prepend('<img src="plus-enabled.png"/>')); + }).prepend('<img src="' + ipa_objs[m].name + '_member.png"/>')); } } diff --git a/install/static/group.js b/install/static/group.js index 02940b6ca..b1c0d895e 100644 --- a/install/static/group.js +++ b/install/static/group.js @@ -72,7 +72,7 @@ function group_render_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: "jslink", - html: "[D]", + html: $("<img src='group_details.png' />"), click: function() { var state = {}; state['group-facet'] = 'details'; @@ -84,7 +84,7 @@ function group_render_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: "jslink", - html: "[U]", + html: $("<img src='user_enroll.png' />"), click: function() { var state = {}; state['group-facet'] = 'associate'; @@ -97,7 +97,7 @@ function group_render_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: "jslink", - html: "[N]", + html: $("<img src='netgroup_member.png' />"), click: function() { var state = {}; state['group-facet'] = 'associate'; diff --git a/install/static/service.js b/install/static/service.js index 0fd5457b4..8d8e103d9 100644 --- a/install/static/service.js +++ b/install/static/service.js @@ -46,7 +46,7 @@ function service_render_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: "jslink", - html: "[D]", + html: $("<img src='service_details.png' />"), click: function() { var state = {}; state['service-facet'] = 'details'; @@ -58,7 +58,7 @@ function service_render_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: "jslink", - html: "[G]", + html: $("<img src='host_enroll.png' />"), click: function() { var state = {}; state['service-facet'] = 'associate'; diff --git a/install/static/user.js b/install/static/user.js index 11880c84a..b797dde12 100644 --- a/install/static/user.js +++ b/install/static/user.js @@ -216,7 +216,7 @@ function user_render_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: "jslink", - html: "[D]", + html: $("<img src='user_details.png' />"), click: function() { var state = {}; state['user-facet'] = 'details'; @@ -228,7 +228,7 @@ function user_render_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: "jslink", - html: "[G]", + html: $("<img src='group_member.png' />"), click: function() { var state = {}; state['user-facet'] = 'associate'; @@ -241,7 +241,7 @@ function user_render_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: "jslink", - html: "[N]", + html: $("<img src='netgroup_member.png' />"), click: function() { var state = {}; state['user-facet'] = 'associate'; @@ -254,7 +254,7 @@ function user_render_quick_links(tr, attr, value, entry_attrs) { $("<a/>", { href: "jslink", - html: "[R]", + html: $("<img src='rolegroup_member.png' />"), click: function() { var state = {}; state['user-facet'] = 'associate'; |