51 lines
1.3 KiB
JavaScript
51 lines
1.3 KiB
JavaScript
|
Ext.define('PE.view.phone.Main', {
|
||
|
extend: 'PE.view.Main',
|
||
|
alias: 'widget.pephonemain',
|
||
|
|
||
|
requires: ([
|
||
|
'PE.view.phone.toolbar.View'
|
||
|
]),
|
||
|
|
||
|
config: {
|
||
|
cls: 'pe-phone-main',
|
||
|
fullscreen: true,
|
||
|
layout: {
|
||
|
type: 'vbox',
|
||
|
pack: 'center'
|
||
|
}
|
||
|
},
|
||
|
|
||
|
initialize: function() {
|
||
|
var me = this;
|
||
|
|
||
|
this.add(Ext.create('PE.view.phone.toolbar.View', {
|
||
|
hidden : true
|
||
|
}));
|
||
|
|
||
|
this.add({
|
||
|
xtype : 'container',
|
||
|
layout : 'vbox',
|
||
|
id : 'id-conteiner-document',
|
||
|
flex : 1,
|
||
|
items : [
|
||
|
{
|
||
|
xtype : 'container',
|
||
|
height : 0,
|
||
|
id : 'id-sdkeditor'
|
||
|
},
|
||
|
{
|
||
|
xtype : 'container',
|
||
|
flex : 1,
|
||
|
id : 'id-presentation-preview'
|
||
|
},
|
||
|
{
|
||
|
xtype : 'panel',
|
||
|
cls : 'pnl-overlay',
|
||
|
id : 'id-preview-overlay-container',
|
||
|
style : 'position:absolute; left:0; top:0; width:100%; height:100%; z-index:4;'
|
||
|
}
|
||
|
]
|
||
|
});
|
||
|
this.callParent(arguments);
|
||
|
}
|
||
|
});
|