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"; raimund@491: this.buttons = [{ raimund@491: text: 'Abbrechen', raimund@491: scope: this, raimund@491: handler: this.close raimund@491: }]; raimund@491: this.items = [{ raimund@491: html: "

Lada

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