From f23f876f6a4932db817698ade79af7d2b65927ae Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Tue, 30 Oct 2007 13:05:36 +0000 Subject: [PATCH] Cleaned up after moving to sourceforge git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@18 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-web/dsh.php | 20 ++- xCAT-web/functions.js | 2 + xCAT-web/functions.php | 131 ++++++++++++++++-- xCAT-web/index.php | 2 +- xCAT-web/lib/XCAT/HTML/HTMLProducer.class.php | 22 ++- .../XCATCommand/XCATCommandRunner.class.php | 17 ++- .../XCAT/XCATNode/XCATNodeGroupUtil.class.php | 5 +- xCAT-web/lib/config.php | 2 + xCAT-web/menu.css | 2 +- ...{globalconfig.php => old-globalconfig.php} | 5 +- xCAT-web/{nav.php => old-nav.php} | 55 ++++---- xCAT-web/prefs.php | 10 +- xCAT-web/style.css | 8 +- 13 files changed, 192 insertions(+), 89 deletions(-) rename xCAT-web/{globalconfig.php => old-globalconfig.php} (86%) rename xCAT-web/{nav.php => old-nav.php} (70%) diff --git a/xCAT-web/dsh.php b/xCAT-web/dsh.php index 307db36f9..18a1649f2 100644 --- a/xCAT-web/dsh.php +++ b/xCAT-web/dsh.php @@ -1,22 +1,22 @@ - - +
> @@ -161,9 +161,7 @@ if (isAIX()) { $aixDisabled = 'disabled'; }
- - - +
+ + @@ -36,8 +51,16 @@ if (!$TOPDIR) $TOPDIR = '.'; \n"; } -if ($javascript) { echo "\n"; } +if ($stylesheets) { + foreach ($stylesheets as $s) { + echo "\n"; + } + } +if ($javascripts) { + foreach ($javascripts as $j) { + echo "\n"; + } + } ?> @@ -50,16 +73,17 @@ if ($javascript) { echo " -'; +} //end insertNav ?> -
- - diff --git a/xCAT-web/prefs.php b/xCAT-web/prefs.php index 5daa96b24..fca8256f0 100644 --- a/xCAT-web/prefs.php +++ b/xCAT-web/prefs.php @@ -3,17 +3,15 @@ Include files, insert header and menu bar ------------------------------------------------------------------------------*/ -require_once("globalconfig.php"); +//require_once("globalconfig.php"); require_once "$TOPDIR/functions.php"; //NOTE: it is essential to include this file before include top.php and nav.php -require_once "$TOPDIR/nav.php"; +//require_once "$TOPDIR/nav.php"; -insertHeader('Preferences', $TOPDIR, '', ''); -insertNav('prefs', $TOPDIR); +insertHeader('Preferences', NULL, NULL); +insertNav('prefs'); if (isAIX()) { $aixDisabled = 'disabled'; } ?> - -
diff --git a/xCAT-web/style.css b/xCAT-web/style.css index a731c2334..2f4627c64 100644 --- a/xCAT-web/style.css +++ b/xCAT-web/style.css @@ -6,7 +6,7 @@ div#nav { } div#content { - /* background-color : #fcfaeb; */ + background-color : #fcfaeb; position: absolute; left: 125px; top: 95px; @@ -30,6 +30,12 @@ p#Banner { margin: 10px; } +.PageHeading { + background-color: #c0c0c0; + margin-top: 5px; + margin-bottom: 5px; +} + /* pre { padding: 0px; margin: 0px; } */ .TableRow { background-color : #d8dff1; }