Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
392:63396d62a292 | 393:92a960b691a4 |
---|---|
1 /* | |
2 * Window to edit a Probe | |
3 */ | |
4 Ext.define('Lada.view.About', { | |
5 extend: 'Ext.window.Window', | |
6 alias: 'widget.about', | |
7 | |
8 title: 'Lada Information', | |
9 // Make size of the dialog dependend of the available space. | |
10 // TODO: Handle resizing the browser window. | |
11 width: 200, | |
12 height: 200, | |
13 autoShow: true, | |
14 autoScroll: true, | |
15 modal: true, | |
16 layout: "fit", | |
17 | |
18 initComponent: function() { | |
19 var sver = "0.4 (rev. 345)"; | |
20 var cver = "0.4 (rev. 388)"; | |
21 this.buttons = [ | |
22 { | |
23 text: 'Abbrechen', | |
24 scope: this, | |
25 handler: this.close, | |
26 } | |
27 ]; | |
28 this.items = [ | |
29 { html: "<h1>Lada</h1>Server version: " + sver + "<br>Client version: " + cver } | |
30 ]; | |
31 this.callParent(); | |
32 }, | |
33 }); | |
34 |