changeset 1397:954c77216b2d release-2.5

Added search icon
author Evi Huber <ehuber@bfs.de>
date Thu, 16 Mar 2017 14:39:56 +0100
parents 418b9afee700
children 78839fe4b9b7
files app/view/FilterPanel.js app/view/window/Ortszuordnung.js resources/css/lada.css
diffstat 3 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/FilterPanel.js	Wed Mar 15 09:56:44 2017 +0100
+++ b/app/view/FilterPanel.js	Thu Mar 16 14:39:56 2017 +0100
@@ -72,6 +72,7 @@
             items: [{
                 xtype: 'button',
                 action: 'search',
+                icon: 'resources/img/Find.png',
                 text: 'Suchen',
                 margin: '0 10 0 0'
             }, {
--- a/app/view/window/Ortszuordnung.js	Wed Mar 15 09:56:44 2017 +0100
+++ b/app/view/window/Ortszuordnung.js	Thu Mar 16 14:39:56 2017 +0100
@@ -135,13 +135,16 @@
                 }],
                 dockedItems: [{
                     xtype: 'toolbar',
-                    dock: 'bottom',
+                    dock: 'top',
                     items: [{
                         xtype: 'textfield',
                         name: 'search',
-                        labelWidth: 50,
+                        icon: 'resources/img/Find.png',
+                        width: '150px',
                         enableKeyEvents: true,
-                        fieldLabel: i18n.getMsg('ortszuordnung.ortsuche')
+                        emptyText: 'Ortssuche',
+                        emptyCls: 'empty-text-field',
+                        fieldLabel: ''
                     }, '->', {
                         text: i18n.getMsg('orte.new'),
                         icon: 'resources/img/list-add.png',
--- a/resources/css/lada.css	Wed Mar 15 09:56:44 2017 +0100
+++ b/resources/css/lada.css	Thu Mar 16 14:39:56 2017 +0100
@@ -85,3 +85,10 @@
 .row-expander-grid .x-grid-with-row-lines .x-grid-td {
     border-bottom: 1px solid #e0e0e0;
 }
+
+.empty-text-field {
+    background-image:url('../img/Find.png');
+    background-repeat: no-repeat;
+    background-position: left 5px center;
+    padding-left: 20px;
+}

http://lada.wald.intevation.org