torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out torsten@472: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@386: /* torsten@386: * Window to edit a Probe torsten@386: */ torsten@386: Ext.define('Lada.view.About', { torsten@386: extend: 'Ext.window.Window', torsten@386: alias: 'widget.about', torsten@386: torsten@386: title: 'Lada Information', torsten@386: // Make size of the dialog dependend of the available space. torsten@386: // TODO: Handle resizing the browser window. torsten@387: width: 200, torsten@387: height: 200, torsten@386: autoShow: true, torsten@386: autoScroll: true, torsten@386: modal: true, torsten@387: layout: "fit", torsten@386: torsten@386: initComponent: function() { torsten@467: var sver = "1.0"; torsten@467: var cver = "1.0"; torsten@386: this.buttons = [ torsten@386: { torsten@386: text: 'Abbrechen', torsten@386: scope: this, rrenkert@422: handler: this.close torsten@386: } torsten@386: ]; torsten@386: this.items = [ torsten@386: { html: "

Lada

Server version: " + sver + "
Client version: " + cver } torsten@386: ]; torsten@386: this.callParent(); rrenkert@422: } torsten@386: }); torsten@386: