# HG changeset patch # User Raimund Renkert # Date 1426522155 -3600 # Node ID fead63bb5fb4307bc969d08b3428634fe1349586 # Parent ee92e352be205dfb6ee464b8349c4004e3f0d9ed Updated images for errors and warnings. diff -r ee92e352be20 -r fead63bb5fb4 app/view/widget/base/CheckBox.js --- a/app/view/widget/base/CheckBox.js Mon Mar 16 12:11:34 2015 +0100 +++ b/app/view/widget/base/CheckBox.js Mon Mar 16 17:09:15 2015 +0100 @@ -30,16 +30,16 @@ }, { xtype: 'image', name: 'warnImg', - src: 'resources/img/icon-warning.gif', - width: 12, - height: 12, + src: 'resources/img/dialog-warning.png', + width: 14, + height: 14, hidden: true }, { xtype: 'image', name: 'errorImg', - src: 'resources/img/icon-error.gif', - width: 12, - height: 12, + src: 'resources/img/emblem-important.png', + width: 14, + height: 14, hidden: true }]; this.callParent(arguments); diff -r ee92e352be20 -r fead63bb5fb4 app/view/widget/base/ComboBox.js --- a/app/view/widget/base/ComboBox.js Mon Mar 16 12:11:34 2015 +0100 +++ b/app/view/widget/base/ComboBox.js Mon Mar 16 17:09:15 2015 +0100 @@ -40,16 +40,16 @@ }, { xtype: 'image', name: 'warnImg', - src: 'resources/img/icon-warning.gif', - width: 12, - height: 12, + src: 'resources/img/dialog-warning.png', + width: 14, + height: 14, hidden: true }, { xtype: 'image', name: 'errorImg', - src: 'resources/img/icon-error.gif', - width: 12, - height: 12, + src: 'resources/img/emblem-important.png', + width: 14, + height: 14, hidden: true }]; this.callParent(arguments); diff -r ee92e352be20 -r fead63bb5fb4 app/view/widget/base/Datetime.js --- a/app/view/widget/base/Datetime.js Mon Mar 16 12:11:34 2015 +0100 +++ b/app/view/widget/base/Datetime.js Mon Mar 16 17:09:15 2015 +0100 @@ -35,16 +35,16 @@ this.items = [dateField, { xtype: 'image', name: 'warnImg', - src: 'resources/img/icon-warning.gif', - width: 12, - height: 12, + src: 'resources/img/dialog-warning.png', + width: 14, + height: 14, hidden: true }, { xtype: 'image', name: 'errorImg', - src: 'resources/img/icon-error.gif', - width: 12, - height: 12, + src: 'resources/img/emblem-important.png', + width: 14, + height: 14, hidden: true }]; this.callParent(arguments); diff -r ee92e352be20 -r fead63bb5fb4 app/view/widget/base/FieldSet.js --- a/app/view/widget/base/FieldSet.js Mon Mar 16 12:11:34 2015 +0100 +++ b/app/view/widget/base/FieldSet.js Mon Mar 16 17:09:15 2015 +0100 @@ -26,7 +26,7 @@ this.getEl().dom.style['border-color'] = '#FF0000'; this.getEl().dom.firstChild.firstChild.firstChild .children[ndx].innerHTML = - ' ' + + ' ' + this.plainTitle; if (errorText) { Ext.create('Ext.tip.ToolTip', { @@ -40,7 +40,7 @@ this.getEl().dom.style['border-color'] = '#FFE25D'; this.getEl().dom.firstChild.firstChild.firstChild .children[ndx].innerHTML = - ' ' + + ' ' + this.plainTitle; if (warningText) { Ext.create('Ext.tip.ToolTip', { diff -r ee92e352be20 -r fead63bb5fb4 app/view/widget/base/TextField.js --- a/app/view/widget/base/TextField.js Mon Mar 16 12:11:34 2015 +0100 +++ b/app/view/widget/base/TextField.js Mon Mar 16 17:09:15 2015 +0100 @@ -28,16 +28,16 @@ }, { xtype: 'image', name: 'warnImg', - src: 'resources/img/icon-warning.gif', - width: 12, - height: 12, + src: 'resources/img/dialog-warning.png', + width: 14, + height: 14, hidden: true }, { xtype: 'image', name: 'errorImg', - src: 'resources/img/icon-error.gif', - width: 12, - height: 12, + src: 'resources/img/emblem-important.png', + width: 14, + height: 14, hidden: true }]; this.callParent(arguments); diff -r ee92e352be20 -r fead63bb5fb4 resources/img/dialog-warning.png Binary file resources/img/dialog-warning.png has changed diff -r ee92e352be20 -r fead63bb5fb4 resources/img/emblem-important.png Binary file resources/img/emblem-important.png has changed diff -r ee92e352be20 -r fead63bb5fb4 resources/img/icon-error.gif Binary file resources/img/icon-error.gif has changed diff -r ee92e352be20 -r fead63bb5fb4 resources/img/icon-warning.gif Binary file resources/img/icon-warning.gif has changed