From 20d12b8c30469b8688916bca437e21e4839fd727 Mon Sep 17 00:00:00 2001 From: phamt Date: Thu, 12 May 2011 15:00:38 +0000 Subject: [PATCH] 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 --- xCAT-UI/js/guide/guide.js | 6 +++--- xCAT-UI/js/ui.js | 2 +- xCAT-UI/js/xcatauth.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/xCAT-UI/js/guide/guide.js b/xCAT-UI/js/guide/guide.js index 7e966d98a..d16e74958 100644 --- a/xCAT-UI/js/guide/guide.js +++ b/xCAT-UI/js/guide/guide.js @@ -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 = $('
'); helpForm.append('
Quick Start
    ' + '
  1. 1. Discover hardware
    Discover all hardware in the cluster. Define them in the xCAT database. Initialize your cluster.
  2. ' + diff --git a/xCAT-UI/js/ui.js b/xCAT-UI/js/ui.js index 91a91ec91..3beb9d44b 100644 --- a/xCAT-UI/js/ui.js +++ b/xCAT-UI/js/ui.js @@ -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"); diff --git a/xCAT-UI/js/xcatauth.js b/xCAT-UI/js/xcatauth.js index 882609ed9..c01e5fda5 100644 --- a/xCAT-UI/js/xcatauth.js +++ b/xCAT-UI/js/xcatauth.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