diff app/view/Viewport.js @ 386:00bf2d4f3bd1

Added about dialog.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 30 Aug 2013 11:11:00 +0200
parents ea424aacd07f
children 92a960b691a4
line wrap: on
line diff
--- a/app/view/Viewport.js	Fri Aug 30 10:29:39 2013 +0200
+++ b/app/view/Viewport.js	Fri Aug 30 11:11:00 2013 +0200
@@ -40,14 +40,10 @@
                 var clientVersion = "r261 (2013-07-26)";
                 var user = info.get('user');
                 var groups = info.get('groups');
-                var serverVersion = info.get('version');
-                var info = Ext.getCmp('systeminfo');
                 var groupinfo = Ext.getCmp('groupinfo');
                 var userinfo = Ext.getCmp('userinfo');
                 userinfo.update(user);
                 groupinfo.update(groups);
-                info.update('Server: '+serverVersion+' | Client: '+clientVersion);
-                info.show();
                 console.log(info);
             }
         });
@@ -160,6 +156,7 @@
                         text: "Info",
                         menu: {
                             items: [{
+                                id: 'AboutBtn',
                                 text: "About"
                             }]
                         }
@@ -173,13 +170,6 @@
                 }
             ],
             items: [
-                // Informationen über Nutzer/Gruppe/Version
-                {
-                    xtype: 'panel',
-                    id:  'systeminfo',
-                    bodyPadding: '5',
-                    hidden: true,
-                },
                 // Auswahl einer Abfrage.
                 {
                     xtype: 'queryselector',

http://lada.wald.intevation.org