diff app/view/About.js @ 393:92a960b691a4

merged.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 30 Aug 2013 12:52:59 +0200
parents 9591ca90d58d
children bcc7546c6366
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/view/About.js	Fri Aug 30 12:52:59 2013 +0200
@@ -0,0 +1,34 @@
+/*
+ * Window to edit a Probe
+ */
+Ext.define('Lada.view.About', {
+    extend: 'Ext.window.Window',
+    alias: 'widget.about',
+
+    title: 'Lada Information',
+    // Make size of the dialog dependend of the available space.
+    // TODO: Handle resizing the browser window.
+    width: 200,
+    height: 200,
+    autoShow: true,
+    autoScroll: true,
+    modal: true,
+    layout: "fit",
+
+    initComponent: function() {
+        var sver = "0.4 (rev. 345)";
+        var cver = "0.4 (rev. 388)";
+        this.buttons = [
+            {
+                text: 'Abbrechen',
+                scope: this,
+                handler: this.close,
+            }
+        ];
+        this.items = [ 
+            { html: "<h1>Lada</h1>Server version: " + sver + "<br>Client version: " + cver }
+        ];
+        this.callParent();
+    },
+});
+

http://lada.wald.intevation.org