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: