BUG 0000 "Improving New uxmodern login"

- get statarted windows added, after fresh installation
- installer updated
This commit is contained in:
Erik Amaru Ortiz
2012-04-10 16:49:09 -04:00
parent 22643ff2f2
commit c8b4b28232
4 changed files with 84 additions and 26 deletions

View File

@@ -68,6 +68,10 @@ var Login = function() {
if (typeof flyNotify != 'undefined') {
Ext.msgBoxSlider.msgTopCenter(flyNotify.type, flyNotify.title, flyNotify.text, flyNotify.time);
}
if (flagGettingStarted) {
this.gettingStartedWindow.show();
}
}
}
}();
@@ -344,6 +348,29 @@ Login.initComponents = function()
})
});
this.gettingStartedWindow = new Ext.Window({
id: 'gettingStartedWindow',
layout: 'fit',
title: '',
width: 640,
height: 500, //180,
//iconCls: 'ux-auth-header-icon',
closable: true,
resizable: false,
plain: true,
draggable: false,
modal:true,
//autoLoad: '../services/login_getStarted.php'
items: [
{
xtype: 'iframepanel',
defaultSrc : '../services/login_getStarted.php',
loadMask:{msg:_('ID_LOADING')+'...'},
bodyStyle:{height: (PMExt.getBrowser().screen.height-60) + 'px', overflow:'auto'},
width:588
}
]
});
//Ext.getCmp('login-form').hide();
}