From 53ab352b4a4b650d2dea39599b8aa36e5431ffa8 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 25 Jul 2011 10:59:34 -0500 Subject: New icons for entitlement buttons The entitlement facets have been modified to use the new icons provided by Kyle Baker. Ticket #1425 --- install/ui/consume.png | Bin 0 -> 1105 bytes install/ui/entitle.js | 8 ++++---- install/ui/import.png | Bin 0 -> 1086 bytes install/ui/ipa.css | 15 +++++++++++++++ install/ui/register.png | Bin 0 -> 1168 bytes 5 files changed, 19 insertions(+), 4 deletions(-) create mode 100755 install/ui/consume.png create mode 100755 install/ui/import.png create mode 100755 install/ui/register.png diff --git a/install/ui/consume.png b/install/ui/consume.png new file mode 100755 index 000000000..e643e1062 Binary files /dev/null and b/install/ui/consume.png differ diff --git a/install/ui/entitle.js b/install/ui/entitle.js index d0af1ab84..54c633641 100644 --- a/install/ui/entitle.js +++ b/install/ui/entitle.js @@ -342,7 +342,7 @@ IPA.entitle.details_facet = function(spec) { that.register_online_button = IPA.action_button({ name: 'register', label: IPA.messages.objects.entitle.register, - icon: 'add-icon', + icon: 'register-icon', click: function() { var dialog = that.entity.get_dialog('online_registration'); dialog.open(that.container); @@ -355,7 +355,7 @@ IPA.entitle.details_facet = function(spec) { that.register_offline_button = IPA.action_button({ name: 'import', label: IPA.messages.objects.entitle.import, - icon: 'add-icon', + icon: 'import-icon', click: function() { var dialog = that.entity.get_dialog('offline_registration'); dialog.open(that.container); @@ -431,7 +431,7 @@ IPA.entitle.search_facet = function(spec) { that.consume_button = IPA.action_button({ name: 'consume', label: IPA.messages.objects.entitle.consume, - icon: 'add-icon', + icon: 'consume-icon', click: function() { var dialog = that.entity.get_dialog('consume'); dialog.open(that.container); @@ -444,7 +444,7 @@ IPA.entitle.search_facet = function(spec) { that.import_button = IPA.action_button({ name: 'import', label: IPA.messages.objects.entitle.import_button, - icon: 'add-icon', + icon: 'import-icon', click: function() { var dialog = that.entity.get_dialog('import'); dialog.open(that.container); diff --git a/install/ui/import.png b/install/ui/import.png new file mode 100755 index 000000000..261e3297d Binary files /dev/null and b/install/ui/import.png differ diff --git a/install/ui/ipa.css b/install/ui/ipa.css index a733b56f2..f9629d855 100644 --- a/install/ui/ipa.css +++ b/install/ui/ipa.css @@ -182,6 +182,21 @@ body { margin: -4px 0 0 1px; } +.register-icon { + background: url(register.png); + margin: -4px 0 0 1px; +} + +.import-icon { + background: url(import.png); + margin: -4px 0 0 1px; +} + +.consume-icon { + background: url(consume.png); + margin: -4px 0 0 1px; +} + .ipa-icon { font-size: 0.7em; padding-right: 0.3em; diff --git a/install/ui/register.png b/install/ui/register.png new file mode 100755 index 000000000..4a4608724 Binary files /dev/null and b/install/ui/register.png differ -- cgit