New icons for entitlement buttons

The entitlement facets have been modified to use the new icons
provided by Kyle Baker.

Ticket #1425
This commit is contained in:
Endi S. Dewata 2011-07-25 10:59:34 -05:00 committed by Adam Young
parent 3fe36a63b6
commit 53ab352b4a
5 changed files with 19 additions and 4 deletions

BIN
install/ui/consume.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -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);

BIN
install/ui/import.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -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;

BIN
install/ui/register.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB