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() { rrenkert@395: var sver = "0.4 (rev. 348)"; rrenkert@395: var cver = "0.4 (rev. 394)"; torsten@386: this.buttons = [ torsten@386: { torsten@386: text: 'Abbrechen', torsten@386: scope: this, torsten@386: 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(); torsten@386: }, torsten@386: }); torsten@386: