diff --git a/xCAT-web/lib/style.css b/xCAT-web/lib/style.css
index 898dc571f..911246217 100644
--- a/xCAT-web/lib/style.css
+++ b/xCAT-web/lib/style.css
@@ -194,6 +194,9 @@ TEXTAREA {vertical-align : middle; font-size : 8pt; font-family : sans-serif; fo
.Middle {vertical-align : middle;}
.Center {text-align : center;}
+.Left {text-align : left;}
+.Right {text-align : right;}
+.NoBullet { list-style-type: none; }
.YellowBackground {background-color : yellow;}
.SmallText {font-size : small;}
.XSmallText {font-size : x-small;}
diff --git a/xCAT-web/machines/discover.css b/xCAT-web/machines/discover.css
index 6310c98fc..b5524fc22 100644
--- a/xCAT-web/machines/discover.css
+++ b/xCAT-web/machines/discover.css
@@ -8,4 +8,34 @@
P#wizardDone {font-weight : bold; }
-.wizardProgressTable { margin: 10px 0px; }
+.WizardProgressTable {
+ margin: 10px 0px;
+ text-align: left;
+}
+
+.WizardProgressTable UL { list-style-type: none; }
+
+.WizardProgressTable LI {
+ /* list-style-image: url('../images/checked-box.gif'); */
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+.WizardProgressTable IMG { margin-right: 1em; }
+
+.WizardListTable {
+ margin: 10px 0px;
+ text-align: left;
+}
+
+.WizardListTable LI {
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+/* this did not work in IE...
+.DivTable {
+ display: table;
+ text-align: left;
+}
+*/
\ No newline at end of file
diff --git a/xCAT-web/machines/discover.php b/xCAT-web/machines/discover.php
index c48849674..60db5f834 100644
--- a/xCAT-web/machines/discover.php
+++ b/xCAT-web/machines/discover.php
@@ -36,52 +36,53 @@ insertFooter();
function intro() {
echo "
This wizard will guide you through the process of defining the naming conventions within your cluster, discovering the hardware on your network, and automatically defining it in the xCAT database.";
echo " Choose which type of hardware you want to discover, and then click Next.
\n";
-echo "\n";
+// The least hacky way to get this list left justified, but have the block in the center, is to use a table. CSS snobs, just deal with it.
+echo "\n";
}
//-----------------------------------------------------------------------------
function patterns() {
echo "\n";
-//todo: get HCP userids/pws
+//todo: get HCP userids/pws from the user
}
//-----------------------------------------------------------------------------
function patterns2() {
echo "\n";
// do we need to get any info about the resources that should be in each lpar, or do we just divide them evenly?
}
@@ -90,20 +91,22 @@ echo "\n";
//-----------------------------------------------------------------------------
function preparemn() {
global $TOPDIR;
-echo "\n";
-echo " | Write Cluster Topology Configuration File. |
\n";
-echo " | Define networks. |
\n"; // run makenetworks and update the dynamic range for the service LAN
-echo " | Configure DHCP. |
\n"; // run makedhcp and show progress
-echo "
\n";
+echo "\n";
+echo "- Write Cluster Topology Configuration File.
\n";
+echo "- Define networks.
\n"; // run makenetworks and update the dynamic range for the service LAN
+echo "- Configure DHCP.
\n"; // run makedhcp and show progress
+echo "
\n";
}
//-----------------------------------------------------------------------------
function prediscover() {
-//todo: there's a better way to get this list left justified, but have the block in the center, but don't feel like figuring it out right now.
-echo "\n";
-echo "- Power on all of the HMCs.
- Then power on all of frames.
- Then click Next to discover the hardware on the service network.
\n";
-echo " |
\n";
+echo "\n";
+echo " Do the following manual steps now: \n";
+echo "- Power on all of the HMCs.
\n";
+echo "- Then power on all of frames.
\n";
+echo "- Then click Next to discover the hardware on the service network.
\n";
+echo "
|
\n";
}
@@ -111,9 +114,9 @@ echo "\n";
function discover() {
global $TOPDIR;
//todo: run lsslp and show progress
-echo "\n";
-echo " | Discovering HMCs, BPAs, and FSPs... |
\n";
-echo "
\n";
+echo "\n";
+echo "- Discovering HMCs, BPAs, and FSPs...
\n";
+echo "
\n";
echo "(This will show the list of hw discovered & located, including nodenames and IP addresses assigned, and then save all info to the DB.)
\n";
}
@@ -121,23 +124,23 @@ echo "(This will show the list of hw discovered & located, including nodename
//-----------------------------------------------------------------------------
function updatedefs() {
global $TOPDIR;
-echo "
\n";
-echo " | Determine which CECs each HMC should manage. |
\n";
-echo " | Assign frame numbers, supernode numbers, and building block numbers. |
\n";
-echo " | Assign building block subnets. |
\n";
-echo " | Update name resolution. |
\n"; // run makedhosts and makedns
-echo "
\n";
+echo "\n";
+echo "- Determine which CECs each HMC should manage.
\n";
+echo "- Assign frame numbers, supernode numbers, and building block numbers.
\n";
+echo "- Assign building block subnets.
\n";
+echo "- Update name resolution.
\n"; // run makedhosts and makedns
+echo "
\n";
}
//-----------------------------------------------------------------------------
function configurehcps() {
global $TOPDIR;
-echo "\n";
-echo " | Assign CECs to their HMC. |
\n";
-echo " | Set frame numbers in BPAs. |
\n";
-echo " | Power on CECs to Standby. |
\n";
-echo "
\n";
+echo "\n";
+echo "- Assign CECs to their HMC.
\n";
+echo "- Set frame numbers in BPAs.
\n";
+echo "- Power on CECs to Standby.
\n";
+echo "
\n";
//todo: set HCP userids/pws
}
@@ -146,21 +149,21 @@ echo "\n";
//-----------------------------------------------------------------------------
function createnodes() {
global $TOPDIR;
-echo "\n";
-echo " | Create LPARs in each CEC. |
\n";
-echo " | Save node definitions in xCAT database. |
\n";
-echo "
\n";
+echo "\n";
+echo "- Create LPARs in each CEC.
\n";
+echo "- Save node definitions in xCAT database.
\n";
+echo "
\n";
}
//-----------------------------------------------------------------------------
function testhcps() {
global $TOPDIR;
-echo "\n";
-echo " | (Output for rpower stat for sample nodes) |
\n";
-echo " | (Output for rinv for sample nodes) |
\n";
-echo " | (Output for rvitals for sample nodes) |
\n";
-echo "
\n";
+echo "\n";
+echo "- (Output for rpower stat for sample nodes)
\n";
+echo "- (Output for rinv for sample nodes)
\n";
+echo "- (Output for rvitals for sample nodes)
\n";
+echo "
\n";
}
@@ -168,6 +171,6 @@ echo "\n";
function done() {
global $TOPDIR;
echo "Cluster set up successfully completed!
\n";
-echo "You can now start to deploy nodes.
\n";
+echo "You can now view your node definitions and start to deploy nodes.
\n";
}
?>
\ No newline at end of file