Route to guide.php vs. manual.php on login.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cf27a3ae8d
commit
20d12b8c30
@ -1,9 +1,9 @@
|
||||
function loadManualPage(){
|
||||
// Create monitor tab
|
||||
function loadGuidePage(){
|
||||
//create guide tab
|
||||
var tab = new Tab();
|
||||
tab.init();
|
||||
$('#content').append(tab.object());
|
||||
//add the help content
|
||||
//add the help content
|
||||
var helpForm = $('<div class="form"></div>');
|
||||
helpForm.append('<fieldset><legend>Quick Start</legend><ol>' +
|
||||
'<li><a href="configure.php">1. Discover hardware</a><br/>Discover all hardware in the cluster. Define them in the xCAT database. Initialize your cluster.</li>' +
|
||||
|
@ -516,7 +516,7 @@ function initPage() {
|
||||
} else if (page == 'guide.php') {
|
||||
includeJs("js/guide/guide.js");
|
||||
headers.eq(4).css('background-color', '#A9D0F5');
|
||||
loadManualPage();
|
||||
loadGuidePage();
|
||||
} else {
|
||||
includeJs("js/jquery/jquery.topzindex.min.js");
|
||||
includeJs("js/nodes/nodeset.js");
|
||||
|
@ -61,7 +61,7 @@ function onlogin(data, txtStatus) {
|
||||
// Remembered what page they were trying to go to
|
||||
window.location = window.location.pathname;
|
||||
} else {
|
||||
window.location = 'manual.php';
|
||||
window.location = 'guide.php';
|
||||
}
|
||||
|
||||
// Set the logonflag
|
||||
|
Loading…
Reference in New Issue
Block a user