Mercurial > lada > lada-client
changeset 632:fead63bb5fb4
Updated images for errors and warnings.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 16 Mar 2015 17:09:15 +0100 (2015-03-16) |
parents | ee92e352be20 |
children | 1e1534482bfd |
files | app/view/widget/base/CheckBox.js app/view/widget/base/ComboBox.js app/view/widget/base/Datetime.js app/view/widget/base/FieldSet.js app/view/widget/base/TextField.js resources/img/dialog-warning.png resources/img/emblem-important.png resources/img/icon-error.gif resources/img/icon-warning.gif |
diffstat | 9 files changed, 26 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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);
--- 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);
--- 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 = - '<img src="resources/img/icon-error.gif" width="12" height="12" /> ' + + '<img src="resources/img/emblem-important.png" width="13" height="13" /> ' + 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 = - '<img src="resources/img/icon-warning.gif" width="12" height="12" /> ' + + '<img src="resources/img/dialog-warning.png" width="13" height="13" /> ' + this.plainTitle; if (warningText) { Ext.create('Ext.tip.ToolTip', {
--- 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);