extjs-gpl
Version:
GPL licensed version of Sencha Ext JS
31 lines (26 loc) • 762 B
JavaScript
/**
* This class provides the modal Ext.Window support for all Authentication forms.
* It's layout is structured to center any Authentication dialog within it's center,
* and provides a backGround image during such operations.
*/
Ext.define('Admin.view.authentication.LockingWindow', {
extend: 'Ext.window.Window',
xtype: 'lockingwindow',
requires: [
'Admin.view.authentication.AuthenticationController',
'Ext.layout.container.VBox'
],
cls: 'auth-locked-window',
closable: false,
resizable: false,
autoShow: true,
titleAlign: 'center',
maximized: true,
modal: true,
layout: {
type: 'vbox',
align: 'center',
pack: 'center'
},
controller: 'authentication'
});