You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2012/07/18 23:08:38 UTC

svn commit: r1363117 - in /incubator/ambari/trunk: ./ hmc/css/ hmc/html/ hmc/html/upgradeStack/

Author: yusaku
Date: Wed Jul 18 21:08:37 2012
New Revision: 1363117

URL: http://svn.apache.org/viewvc?rev=1363117&view=rev
Log:
AMBARI-644. Fix various markup issues (Contributed by yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/hmc/css/app.css
    incubator/ambari/trunk/hmc/html/addNodesWizard.php
    incubator/ambari/trunk/hmc/html/index.php
    incubator/ambari/trunk/hmc/html/initializeCluster.php
    incubator/ambari/trunk/hmc/html/installFailed.php
    incubator/ambari/trunk/hmc/html/manageServices.php
    incubator/ambari/trunk/hmc/html/showDeployAddedNodesProgress.php
    incubator/ambari/trunk/hmc/html/showDeployProgress.php
    incubator/ambari/trunk/hmc/html/showManageServicesProgress.php
    incubator/ambari/trunk/hmc/html/showUninstallProgress.php
    incubator/ambari/trunk/hmc/html/uninstallFailed.php
    incubator/ambari/trunk/hmc/html/uninstallWizard.php
    incubator/ambari/trunk/hmc/html/upgradeStack/deploy.php
    incubator/ambari/trunk/hmc/html/upgradeStack/index.php
    incubator/ambari/trunk/hmc/html/upgradeStack/reconfigure.php
    incubator/ambari/trunk/hmc/html/upgradeStack/showUpgradeProgress.php
    incubator/ambari/trunk/hmc/html/upgradeStack/uninstall.php
    incubator/ambari/trunk/hmc/html/welcome.php

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed Jul 18 21:08:37 2012
@@ -79,6 +79,8 @@ Trunk (unreleased changes)
 
   BUG FIXES
 
+    AMBARI-644. Fix various markup issues (yusaku) 
+
     AMBARI-639. Monitoring Dashboard does not show the Help Link in the top nav
     and a link to Apache 2.0 license and NOTICE file in the footer (yusaku) 
 

Modified: incubator/ambari/trunk/hmc/css/app.css
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/css/app.css?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/css/app.css (original)
+++ incubator/ambari/trunk/hmc/css/app.css Wed Jul 18 21:08:37 2012
@@ -23,6 +23,10 @@ header, footer, aside, nav, article, sec
   display: block;
 }
 
+html, body {
+  height:100%;
+}
+
 body { 
   font:13px/1.231 Helvetica,Arial,sans-serif;
   *font-size:small; 
@@ -30,10 +34,23 @@ body { 
   min-width: 1024px;
   font-size: 75%;
   color: #454545;
-  height:100%;
   overflow:auto;
 }
 
+#container {
+  min-height:100%;
+  height: auto !important;
+  height: 100%;
+  position:relative;
+}
+
+#content {
+  width:980px;
+  margin:0 auto;
+  background-color:#fff;
+  padding-bottom:90px;
+}
+
 h1 {
   font-size: 175%; 
   font-weight: bolder; 
@@ -42,9 +59,12 @@ h1 {
 
 footer {
 	border-top:1px solid #e5e5e5;
-	padding:40px 0;
+	padding:30px 0;
 	background-color:#fff;
   color:#666666;
+  bottom: 0;
+  position: absolute;
+  width: 980px;
 }
 
 footer a:link, footer a:visited {
@@ -52,6 +72,11 @@ footer a:link, footer a:visited {
   text-decoration:underline;
 }
 
+/* override bootstrap settings to make the elements shorter */
+input, .uneditable-input {
+  height:20px;
+}
+
 select {
   width:250px;
   background-color:#DBDBDB;
@@ -65,6 +90,7 @@ select {
   width:100%;
   top:0px;
   left:0px;
+  z-index:10;
 }
 
 #loadingImgId {
@@ -79,6 +105,7 @@ select {
   height: 100px;
   margin-top: -50px;
   margin-left: -50px;
+  z-index:20;
 }
 
 #installationWizardDivId {
@@ -197,15 +224,6 @@ td {
   margin:0 auto;
 }
 
-#content {
-  width:980px;
-  margin:0 auto;
-  padding:0;
-  background-color:#fff;
-  min-height:100%;
-  padding-top:0px;
-}
-
 #selectServicesCoreDivId label {
 	font-size:16px;
 	margin-bottom:10px;

Modified: incubator/ambari/trunk/hmc/html/addNodesWizard.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/addNodesWizard.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/addNodesWizard.php (original)
+++ incubator/ambari/trunk/hmc/html/addNodesWizard.php Wed Jul 18 21:08:37 2012
@@ -19,98 +19,98 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
 
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
+      <?php require "./_utils.php"; ?>
+      <?php require "./_txnUtils.php"; ?>
+
+      <div id="content">
+        <?php require "./_subnav.php"; ?>
+
+        <!-- Installation Wizard -->
+        <div name="installationWizardDiv" id="installationWizardDivId" style="display:block">
+          <div name="installationWizardProgressBarDiv" id="installationWizardProgressBarDivId">
+            <ol id="installationWizardProgressBarListId">
+              <li id="addNodesStageId" class="installationWizardCurrentStage">
+                <div>
+                  <span class="installationWizardStageNumber">
+                    1
+                  </span>
+                  Add nodes
+                </div>
+              </li>
+              <li id="selectServicesStageId" class="installationWizardUnvisitedStage">
+                <div>
+                  <span class="installationWizardStageNumber">
+                    2
+                  </span>
+                  Install Services
+                </div>
+              </li>
+            </ol>
+          </div>
 
-    <div id="content">
-      <?php require "./_subnav.php"; ?>
-      
-      <!-- Installation Wizard -->
-      <div name="installationWizardDiv" id="installationWizardDivId" style="display:block">
-        <div name="installationWizardProgressBarDiv" id="installationWizardProgressBarDivId">
-          <ol id="installationWizardProgressBarListId">
-            <li id="addNodesStageId" class="installationWizardCurrentStage">
-              <div>
-                <span class="installationWizardStageNumber">
-                  1   
-                </span>
-                Add nodes
+          <div name="installationMainFormsDiv" id="installationMainFormsDivId">
+            <div id="addNodesCoreDivId" style="display:block">
+              <div class="pageSummary">
+                <h2><?php echo $RES['addNodesWizard.addNodes.pageSummary.header'] ?></h2>
+                <p><?php echo $RES['addNodesWizard.addNodes.pageSummary.body'] ?></p>
               </div>
-            </li>
-            <li id="selectServicesStageId" class="installationWizardUnvisitedStage">
-              <div>
-                <span class="installationWizardStageNumber">
-                  2   
-                </span>
-                Install Services
+              <div id="formStatusDivId" class="formStatusBar" style="display:none">
               </div>
-            </li>
-          </ol>
-        </div>
+              <div class="pageContent">
 
-        <?php require "./_utils.php"; ?>
-
-        <div name="installationMainFormsDiv" id="installationMainFormsDivId">
-          <div id="addNodesCoreDivId" style="display:block">
-            <div class="pageSummary">
-              <h2><?php echo $RES['addNodesWizard.addNodes.pageSummary.header'] ?></h2>
-              <p><?php echo $RES['addNodesWizard.addNodes.pageSummary.body'] ?></p>
-            </div>
-            <div id="formStatusDivId" class="formStatusBar" style="display:none">					
+                <fieldset>
+                  <form id="addNodesFilesFormId" enctype="multipart/form-data" method="post">
+                    <input type="hidden" name="ClusterDeployUser" id="clusterDeployUserId" value="root" placeholder="">
+                    <p>
+                    <label for="clusterDeployUserIdentityFileId"><?php echo $RES['common.sshPrivateKeyFile.label'] ?></label>
+                    <input type="file" name="clusterDeployUserIdentityFile" id="clusterDeployUserIdentityFileId" value="" placeholder="">
+                    </p>
+                    <br/>
+                    <p>
+                    <label for="clusterHostsFileId"><?php echo $RES['common.hostsFile.label'] ?></label>
+                    <input type="file" name="clusterHostsFile" id="clusterHostsFileId" value="" placeholder="">
+                    </p>
+
+                    <div id="fileUploadWrapperDivId">
+                      <iframe name="fileUploadTarget" id="fileUploadTargetId" src="about:blank" style="display:none"></iframe>
+                    </div>
+                  </form>
+                </fieldset>
+                <button class="btn btn-large" id="addNodesSubmitButtonId"><?php echo $RES['addNodesWizard.addNodes.submit.label'] ?></button>
+              </div>
             </div>
-            <div class="pageContent">
- 
+
+            <div name="selectServicesCoreDiv" id="selectServicesCoreDivId" style="display:none">
+              <div class="pageSummary">
+                <h2><?php echo $RES['addNodesWizard.selectServices.pageSummary.header'] ?></h2>
+                <p><?php echo $RES['addNodesWizard.selectServices.pageSummary.body'] ?></p>
+              </div>
+              <div id="formStatusDivId" class="formStatusBar" style="display:none">
+              </div>
               <fieldset>
-                <form id="addNodesFilesFormId" enctype="multipart/form-data" method="post">
-                  <input type="hidden" name="ClusterDeployUser" id="clusterDeployUserId" value="root" placeholder="">
-                  <p>
-                  <label for="clusterDeployUserIdentityFileId"><?php echo $RES['common.sshPrivateKeyFile.label'] ?></label>
-                  <input type="file" name="clusterDeployUserIdentityFile" id="clusterDeployUserIdentityFileId" value="" placeholder="">
-                  </p>
-                  <br/>
-                  <p>
-                  <label for="clusterHostsFileId"><?php echo $RES['common.hostsFile.label'] ?></label>
-                  <input type="file" name="clusterHostsFile" id="clusterHostsFileId" value="" placeholder="">
-                  </p>
-
-                  <div id="fileUploadWrapperDivId">
-                    <iframe name="fileUploadTarget" id="fileUploadTargetId" src="about:blank" style="display:none"></iframe>
-                  </div>
+                <!--<legend>Select Services</legend>-->
+                <form id="addNodesDataFormId">
+                  <div name="selectComponentsDynamicRenderDiv" id="selectComponentsDynamicRenderDivId"></div>
                 </form>
               </fieldset>
-              <button class="btn btn-large" id="addNodesSubmitButtonId"><?php echo $RES['addNodesWizard.addNodes.submit.label'] ?></button>
+              <button class="btn btn-large" id="deployAddedNodesSubmitButtonId"><?php echo $RES['addNodesWizard.selectServices.submit.label'] ?></button>
             </div>
           </div>
-
-          <div name="selectServicesCoreDiv" id="selectServicesCoreDivId" style="display:none">
-            <div class="pageSummary">
-              <h2><?php echo $RES['addNodesWizard.selectServices.pageSummary.header'] ?></h2>
-              <p><?php echo $RES['addNodesWizard.selectServices.pageSummary.body'] ?></p>
-            </div>
-            <div id="formStatusDivId" class="formStatusBar" style="display:none">					
-            </div>
-            <fieldset>
-              <!--<legend>Select Services</legend>-->
-              <form id="addNodesDataFormId">
-                <div name="selectComponentsDynamicRenderDiv" id="selectComponentsDynamicRenderDivId"></div>
-              </form>
-            </fieldset>
-            <button class="btn btn-large" id="deployAddedNodesSubmitButtonId"><?php echo $RES['addNodesWizard.selectServices.submit.label'] ?></button>
-          </div>
-
-          <?php require "./_txnUtils.php"; ?>
-
         </div>
-      </div>
-      <!-- End of installation Wizard -->
+        <!-- End of installation Wizard -->
 
+      </div>
+      <?php require "./_footer.php"; ?>
     </div>
-    <?php require "./_footer.php"; ?>
 
     <!-- Javascript Scaffolding -->
     <script type="text/javascript">

Modified: incubator/ambari/trunk/hmc/html/index.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/index.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/index.php (original)
+++ incubator/ambari/trunk/hmc/html/index.php Wed Jul 18 21:08:37 2012
@@ -19,29 +19,31 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
 
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
-      
-    <div id="content">
-      <?php require "./_subnav.php"; ?>
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
       <?php require "./_utils.php"; ?>
 
-      <div id="clusterInfo">
-        <div id="clusterInfoContent"></div>
-      </div>
-      <div id="clusterHostRoleMapping" style="display:none;margin-top:0">
-        <div id="clusterHostRoleMappingContent">
-        </div>      
+      <div id="content">
+        <?php require "./_subnav.php"; ?>
+
+        <div id="clusterInfo">
+          <div id="clusterInfoContent"></div>
+        </div>
+        <div id="clusterHostRoleMapping" style="display:none;margin-top:0">
+          <div id="clusterHostRoleMappingContent">
+          </div>
+        </div>
       </div>
-    </div>        
-    <!-- End of contentDivId -->
-    
-    <?php require "./_footer.php"; ?>
+
+      <?php require "./_footer.php"; ?>
+    </div>
 
     <!-- Javascript Scaffolding -->
     <script type="text/javascript">

Modified: incubator/ambari/trunk/hmc/html/initializeCluster.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/initializeCluster.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/initializeCluster.php (original)
+++ incubator/ambari/trunk/hmc/html/initializeCluster.php Wed Jul 18 21:08:37 2012
@@ -19,23 +19,22 @@
 */
 ?>
 <?php require_once "./_router.php"; ?>
+<!DOCTYPE html>
 <html>
-  <head>
-    <?php require "./_head.php" ?>
-    <script src="../js/ext/jquery.min.js"></script>
-    <script src="../js/ext/bootstrap.min.js"></script>
-  </head>
+<head>
+  <?php require "./_head.php" ?>
+  <script src="../js/ext/jquery.min.js"></script>
+  <script src="../js/ext/bootstrap.min.js"></script>
+</head>
 
-  <body class="yui3-skin-sam">
+<body class="yui3-skin-sam">
+  <div id="container">
     <?php require "./_topnav.php"; ?>
+    <?php require "./_utils.php"; ?>
+    <?php require "./_txnUtils.php"; ?>
 
     <div id="content">
 
-      <!-- List of clusters
-      <div name="clustersListDiv" id="clustersListDivId">
-      </div>
-      -->
-
       <!-- Installation Wizard -->
       <div name="installationWizardDiv" id="installationWizardDivId" style="display:block">
         <div name="installationWizardProgressBarDiv" id="installationWizardProgressBarDivId">
@@ -99,252 +98,247 @@
           </ol>
         </div>
 
-        <?php require "./_utils.php"; ?>
-
         <div id="installationMainFormsDivId">
-              <div id="createClusterCoreDivId">
-                <div class="pageSummary">
-                  <h2><?php echo $RES['initWizard.createCluster.pageSummary.header'] ?></h2>
-                  <p><?php echo $RES['initWizard.createCluster.pageSummary.body'] ?></p>
-                </div>
-                <div id="formStatusDivId" class="formStatusBar" style="display:none">					
+          <div id="createClusterCoreDivId">
+            <div class="pageSummary">
+              <h2><?php echo $RES['initWizard.createCluster.pageSummary.header'] ?></h2>
+              <p><?php echo $RES['initWizard.createCluster.pageSummary.body'] ?></p>
+            </div>
+            <div id="formStatusDivId" class="formStatusBar" style="display:none">
+            </div>
+            <div class="pageContent">
+              <form id="createClusterFormId">
+                <label for="clusterNameId"><?php echo $RES['initWizard.createCluster.clusterName.label'] ?></label>
+                <input type="text" name="clusterName" id="clusterNameId" placeholder="cluster name" value="">
+              </form>
+              <a href="javascript:void 0" class="btn btn-large" id="createClusterSubmitButtonId"><?php echo $RES['initWizard.createCluster.submit.label'] ?></a>
+            </div>
+          </div>
+          <div id="addNodesCoreDivId" style="display:none">
+              <div class="pageSummary">
+                <h2><?php echo $RES['initWizard.addNodes.pageSummary.header'] ?></h2>
+                <?php echo $RES['initWizard.addNodes.pageSummary.body'] ?>
+              </div>
+              <div id="formStatusDivId" class="alert alert-error" style="display:none">
+              </div>
+              <div class="pageContent">
+              <form id="addNodesFilesFormId" enctype="multipart/form-data" method="post">
+                <input type="hidden" name="ClusterDeployUser" id="clusterDeployUserId" value="root" placeholder="">
+                <label for="clusterDeployUserIdentityFileId"><?php echo $RES['common.sshPrivateKeyFile.label'] ?></label>
+                <input type="file" name="clusterDeployUserIdentityFile" id="clusterDeployUserIdentityFileId" value="" placeholder="">
+                <div class="separator"></div>
+                <label for="clusterHostsFileId"><?php echo $RES['common.hostsFile.label'] ?></label>
+                <input type="file" name="clusterHostsFile" id="clusterHostsFileId" value="" placeholder="">
+                <div class="separator"></div>
+                <div id="yumMirrorSupportFormId">
+                  <div id="yumMirrorSupportFormButtonWrapperId">
+                    <label class="checkbox" for="yumMirrorSupportFormButtonId"><?php echo $RES['initWizard.addNodes.useLocalYum.label'] ?>
+                      <input type="checkbox" name="YumMirrorSupportFormButton" id="yumMirrorSupportFormButtonId" value="" placeholder="">
+                    </label>
+                  </div>
+                  <div id="yumMirrorSupportFormFieldsId" style="display:none">
+                    <label for="yumRepoFilePathId"><?php echo $RES['initWizard.addNodes.yumRepoFilePath.label'] ?></label>
+                    <input type="text" name="YumRepoFilePath" id="yumRepoFilePathId" value="" placeholder="">
+                  </div>
                 </div>
-                <div class="pageContent">       
-                  <form id="createClusterFormId">
-                    <label for="clusterNameId"><?php echo $RES['initWizard.createCluster.clusterName.label'] ?></label>
-                    <input type="text" name="clusterName" id="clusterNameId" placeholder="cluster name" value="">
-                  </form>
-				  <a href="javascript:void 0" class="btn btn-large" id="createClusterSubmitButtonId"><?php echo $RES['initWizard.createCluster.submit.label'] ?></a>
+                <div id="fileUploadWrapperDivId">
+                  <iframe name="fileUploadTarget" id="fileUploadTargetId" src="about:blank" style="display:none"></iframe>
                 </div>
+              </form>
+              <div class="separator"></div>
+              <a href="javascript:void 0" class="btn btn-large" id="addNodesSubmitButtonId"><?php echo $RES['initWizard.addNodes.submit.label'] ?></a>
+              </div>
+          </div>
+
+          <div name="selectServicesCoreDiv" id="selectServicesCoreDivId" style="display:none">
+            <fieldset>
+            <div class="pageSummary">
+              <h2><?php echo $RES['initWizard.selectServices.pageSummary.header'] ?></h2>
+              <p><?php echo $RES['initWizard.selectServices.pageSummary.body'] ?></p>
+            </div>
+            <div style="width:400px;height:40px;float:right;">
+              <div id="formStatusDivId" class="formStatusBar" style="display:none">
               </div>
-              <div id="addNodesCoreDivId" style="display:none">                  
-                  <div class="pageSummary">
-                    <h2><?php echo $RES['initWizard.addNodes.pageSummary.header'] ?></h2>
-                    <?php echo $RES['initWizard.addNodes.pageSummary.body'] ?>
-                  </div>
-                  <div id="formStatusDivId" class="alert alert-error" style="display:none">					
-                  </div>                  
-                  <div class="pageContent">
-                  <form id="addNodesFilesFormId" enctype="multipart/form-data" method="post">
-                    <input type="hidden" name="ClusterDeployUser" id="clusterDeployUserId" value="root" placeholder="">
-                    <label for="clusterDeployUserIdentityFileId"><?php echo $RES['common.sshPrivateKeyFile.label'] ?></label>
-                    <input type="file" name="clusterDeployUserIdentityFile" id="clusterDeployUserIdentityFileId" value="" placeholder="">
-                    <div class="separator"></div>
-                    <label for="clusterHostsFileId"><?php echo $RES['common.hostsFile.label'] ?></label>
-                    <input type="file" name="clusterHostsFile" id="clusterHostsFileId" value="" placeholder="">
-                    <div class="separator"></div>
-                    <div id="yumMirrorSupportFormId">
-                      <div id="yumMirrorSupportFormButtonWrapperId">
-                        <label class="checkbox" for="yumMirrorSupportFormButtonId"><?php echo $RES['initWizard.addNodes.useLocalYum.label'] ?>
-                          <input type="checkbox" name="YumMirrorSupportFormButton" id="yumMirrorSupportFormButtonId" value="" placeholder="">
-                        </label>
-                      </div>
-                      <div id="yumMirrorSupportFormFieldsId" style="display:none">
-                        <label for="yumRepoFilePathId"><?php echo $RES['initWizard.addNodes.yumRepoFilePath.label'] ?></label>
-                        <input type="text" name="YumRepoFilePath" id="yumRepoFilePathId" value="" placeholder="">
-                      </div>
-                    </div>
-                    <div id="fileUploadWrapperDivId">
-                      <iframe name="fileUploadTarget" id="fileUploadTargetId" src="about:blank" style="display:none"></iframe>
-                    </div>
-                  </form>
-                  <div class="separator"></div>
-                  <a href="javascript:void 0" class="btn btn-large" id="addNodesSubmitButtonId"><?php echo $RES['initWizard.addNodes.submit.label'] ?></a>
+            </div>
+            <div class="pageContent" style="margin-top:14px">
+              <div id="selectCoreServicesListId">
+               <ul id="selectCoreServicesListUlId">
+                  <div id="selectCoreServicesDynamicRenderDivId">
                   </div>
+                </ul>
               </div>
-
-              <div name="selectServicesCoreDiv" id="selectServicesCoreDivId" style="display:none">
-                <fieldset>
-                <div class="pageSummary">
-                  <h2><?php echo $RES['initWizard.selectServices.pageSummary.header'] ?></h2>
-                  <p><?php echo $RES['initWizard.selectServices.pageSummary.body'] ?></p>
-               	</div>
-               	<div style="width:400px;height:40px;float:right;">
-                  <div id="formStatusDivId" class="formStatusBar" style="display:none">					
-                  </div>               
-                </div>
-               	<div class="pageContent" style="margin-top:14px">
-                  <div id="selectCoreServicesListId">
-                   <ul id="selectCoreServicesListUlId">
-                      <div id="selectCoreServicesDynamicRenderDivId">
-                      </div>
-                    </ul>
-                  </div>
-                  <div id="selectOptionalServicesListId">
-                    <ul id="selectOptionalServicesListUlId">
-                      <div id="selectOptionalServicesDynamicRenderDivId">
-                      </div>
-                    </ul>
+              <div id="selectOptionalServicesListId">
+                <ul id="selectOptionalServicesListUlId">
+                  <div id="selectOptionalServicesDynamicRenderDivId">
                   </div>
-                  <div id="selectNonSelectableServicesListId">
-                    <ul id="selectNonSelectableServicesListUlId">
-                      <div id="selectNonSelectableServicesDynamicRenderDivId">
-                      </div>
-                    </ul>
+                </ul>
+              </div>
+              <div id="selectNonSelectableServicesListId">
+                <ul id="selectNonSelectableServicesListUlId">
+                  <div id="selectNonSelectableServicesDynamicRenderDivId">
                   </div>
-                </div>
-                </fieldset>
-                <a href="javascript:void 0" class="btn btn-large" style="margin:10px 0 0 60px" id="selectServicesSubmitButtonId"><?php echo $RES['initWizard.selectServices.submit.label'] ?></a>
-
+                </ul>
               </div>
-              <!-- End of selectServicesCoreDivId -->
+            </div>
+            </fieldset>
+            <a href="javascript:void 0" class="btn btn-large" style="margin:10px 0 0 60px" id="selectServicesSubmitButtonId"><?php echo $RES['initWizard.selectServices.submit.label'] ?></a>
 
-              <div name="assignHostsCoreDiv" id="assignHostsCoreDivId" style="display:none">
-                <div id="statusDivId">
-                </div>
-                <div class="pageSummary">
-                  <h2><?php echo $RES['initWizard.assignMasters.pageSummary.header'] ?></h2>
-                  <p><?php echo $RES['initWizard.assignMasters.pageSummary.body'] ?></p>             
-                </div>
-                <div id="formStatusDivId" class="formStatusBar" style="display:none">					
-                </div>               
-                <div id="masterServices">
-                  <div id="masterServicesToHostsContainer">
-                    <div id="masterServicesToHosts"></div>
-                    <a href="javascript:void 0" class="btn btn-large" id="selectServiceMastersSubmitButtonId"><?php echo $RES['initWizard.assignMasters.submit.label'] ?></a>
-                  </div>                  
-                  <div id="hostsToMasterServices"></div>
-                </div>
-                <div style="clear:both"></div>
-              </div>
+          </div>
+          <!-- End of selectServicesCoreDivId -->
 
-              <div name="configureClusterCoreDiv" id="configureClusterCoreDivId" style="display:none">
-                <div class="pageSummary">
-                  <h2><?php echo $RES['initWizard.configureCluster.pageSummary.header'] ?></h2>
-                  <p><?php echo $RES['initWizard.configureCluster.pageSummary.body'] ?></p>
-                </div>
-                <div id="formStatusDivId" class="formStatusBar" style="display:none">					
-                </div>
-
-                <div id="configureClusterInputContainerDivId">
-                  <form id="configureClusterFormId">
-                    <div name="configureClusterInputDiv" id="configureClusterInputDivId">
-                        <fieldset id="configureClusterInputFieldSetId">
-                          <!--<legend>Select mount points</legend>-->
-                          <div name="configureClusterMountPointsInputDiv" id="configureClusterMountPointsInputDivId">
-                            <div id="configureClusterMountPointsDynamicRenderDivId"></div>
-                            <p>
-                              <label for="customMountPoints"><?php echo $RES['initWizard.configureCluster.customMountPoints.label'] ?></label>
-                              <input type="text" name="customMountPoints" id="customMountPointsId" value="" placeholder="Comma-Separated List">
-                            </p>
-                          </div>
-                          <!-- Additional <div>s for other categories of cluster configuration go here -->
-                        </fieldset>
-                    </div>                    
-                    <a id="previewLinkId" href="javascript:void 0"><?php echo $RES['initWizard.configureCluster.preview.label'] ?></a>
-                  </form>
-                  <a href="javascript:void 0" class="btn btn-large" id="configureClusterSubmitButtonId"><?php echo $RES['initWizard.configureCluster.submit.label'] ?></a>
-                </div>
-                <div id="configureClusterDisplayDivId" style="display:none">
-                  <fieldset>
-                    <!--<legend>Effective mount points</legend>-->
-                    <div name="configureClusterMountPointsDisplayDiv" id="configureClusterMountPointsDisplayDivId">
-                    </div>
-                  </fieldset>
-                </div>
+          <div name="assignHostsCoreDiv" id="assignHostsCoreDivId" style="display:none">
+            <div id="statusDivId">
+            </div>
+            <div class="pageSummary">
+              <h2><?php echo $RES['initWizard.assignMasters.pageSummary.header'] ?></h2>
+              <p><?php echo $RES['initWizard.assignMasters.pageSummary.body'] ?></p>
+            </div>
+            <div id="formStatusDivId" class="formStatusBar" style="display:none">
+            </div>
+            <div id="masterServices">
+              <div id="masterServicesToHostsContainer">
+                <div id="masterServicesToHosts"></div>
+                <a href="javascript:void 0" class="btn btn-large" id="selectServiceMastersSubmitButtonId"><?php echo $RES['initWizard.assignMasters.submit.label'] ?></a>
               </div>
+              <div id="hostsToMasterServices"></div>
+            </div>
+            <div style="clear:both"></div>
+          </div>
 
-                <div id="configureClusterAdvancedCoreDivId" style="display:none">
-                  <div class="pageSummary">
-                    <h2><?php echo $RES['initWizard.configureClusterAdvanced.pageSummary.header'] ?></h2>
-                    <p><?php echo $RES['initWizard.configureClusterAdvanced.pageSummary.body'] ?></p>                  
-                  </div>
-                  <div id="formStatusDivId" class="formStatusBar" style="display:none">					
-                  </div>               
-                  <form id="configureClusterAdvancedFormId">
-                    <fieldset id="configureClusterAdvancedFieldSetId">
-                      <!--<legend>Advanced configuration</legend>-->
-                      <div id="configureClusterAdvancedDynamicRenderDivId"></div>
-                    </fieldset>
-                  </form>
-                  <div id="buttonAreaDivId" class="clearfix">
-                    <div id="buttonGroupDivId">
-                      <?php /* 
-                      <div id="backNextDivId" class="btn-group">
-                        <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedBackButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.back.label'] ?></a>
-                        <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedNextButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.next.label'] ?></a>
+          <div name="configureClusterCoreDiv" id="configureClusterCoreDivId" style="display:none">
+            <div class="pageSummary">
+              <h2><?php echo $RES['initWizard.configureCluster.pageSummary.header'] ?></h2>
+              <p><?php echo $RES['initWizard.configureCluster.pageSummary.body'] ?></p>
+            </div>
+            <div id="formStatusDivId" class="formStatusBar" style="display:none">
+            </div>
+
+            <div id="configureClusterInputContainerDivId">
+              <form id="configureClusterFormId">
+                <div name="configureClusterInputDiv" id="configureClusterInputDivId">
+                    <fieldset id="configureClusterInputFieldSetId">
+                      <!--<legend>Select mount points</legend>-->
+                      <div name="configureClusterMountPointsInputDiv" id="configureClusterMountPointsInputDivId">
+                        <div id="configureClusterMountPointsDynamicRenderDivId"></div>
+                        <p>
+                          <label for="customMountPoints"><?php echo $RES['initWizard.configureCluster.customMountPoints.label'] ?></label>
+                          <input type="text" name="customMountPoints" id="customMountPointsId" value="" placeholder="Comma-Separated List">
+                        </p>
                       </div>
-                      */ ?>
-                      <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedSubmitButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.submit.label'] ?></a>
-                    </div>
-                  </div>
+                      <!-- Additional <div>s for other categories of cluster configuration go here -->
+                    </fieldset>
+                </div>
+                <a id="previewLinkId" href="javascript:void 0"><?php echo $RES['initWizard.configureCluster.preview.label'] ?></a>
+              </form>
+              <a href="javascript:void 0" class="btn btn-large" id="configureClusterSubmitButtonId"><?php echo $RES['initWizard.configureCluster.submit.label'] ?></a>
+            </div>
+            <div id="configureClusterDisplayDivId" style="display:none">
+              <fieldset>
+                <!--<legend>Effective mount points</legend>-->
+                <div name="configureClusterMountPointsDisplayDiv" id="configureClusterMountPointsDisplayDivId">
                 </div>
+              </fieldset>
+            </div>
+          </div>
 
-                <div name="deployCoreDiv" id="deployCoreDivId" style="display:none">
-                  <div class="pageSummary">
-                    <h2><?php echo $RES['initWizard.reviewAndDeploy.pageSummary.header'] ?></h2>
-                    <p><?php echo $RES['initWizard.reviewAndDeploy.pageSummary.body'] ?></p>     
+            <div id="configureClusterAdvancedCoreDivId" style="display:none">
+              <div class="pageSummary">
+                <h2><?php echo $RES['initWizard.configureClusterAdvanced.pageSummary.header'] ?></h2>
+                <p><?php echo $RES['initWizard.configureClusterAdvanced.pageSummary.body'] ?></p>
+              </div>
+              <div id="formStatusDivId" class="formStatusBar" style="display:none">
+              </div>
+              <form id="configureClusterAdvancedFormId">
+                <fieldset id="configureClusterAdvancedFieldSetId">
+                  <!--<legend>Advanced configuration</legend>-->
+                  <div id="configureClusterAdvancedDynamicRenderDivId"></div>
+                </fieldset>
+              </form>
+              <div id="buttonAreaDivId" class="clearfix">
+                <div id="buttonGroupDivId">
+                  <?php /*
+                  <div id="backNextDivId" class="btn-group">
+                    <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedBackButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.back.label'] ?></a>
+                    <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedNextButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.next.label'] ?></a>
                   </div>
-                  <div id="formStatusDivId" class="formStatusBar" style="display:none">					
-                  </div>               
-                  <form id="deployFormId">
-                    <fieldset id="deployFieldSetId">
-                      <!--<legend>Review your settings</legend>-->
-                      <div id="deployDynamicRenderDivId"></div>
-                    </fieldset>
-                  </form>
-                  <label></label>
-                  <a href="javascript:void 0" class="btn btn-large" id="deploySubmitButtonId" value="Deploy"><?php echo $RES['initWizard.reviewAndDeploy.submit.label'] ?></a>
+                  */ ?>
+                  <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedSubmitButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.submit.label'] ?></a>
                 </div>
-
-                <?php require "./_txnUtils.php"; ?>
-
               </div>
             </div>
-            <!-- End of installation Wizard -->
-    </div>
-            <?php require "./_footer.php"; ?>
 
-            <!-- Javascript Scaffolding -->
-            <script type="text/javascript">
-
-            var freshInstall = true;
-            var nodesAction = "addNodes";
+            <div name="deployCoreDiv" id="deployCoreDivId" style="display:none">
+              <div class="pageSummary">
+                <h2><?php echo $RES['initWizard.reviewAndDeploy.pageSummary.header'] ?></h2>
+                <p><?php echo $RES['initWizard.reviewAndDeploy.pageSummary.body'] ?></p>
+              </div>
+              <div id="formStatusDivId" class="formStatusBar" style="display:none">
+              </div>
+              <form id="deployFormId">
+                <fieldset id="deployFieldSetId">
+                  <!--<legend>Review your settings</legend>-->
+                  <div id="deployDynamicRenderDivId"></div>
+                </fieldset>
+              </form>
+              <label></label>
+              <a href="javascript:void 0" class="btn btn-large" id="deploySubmitButtonId" value="Deploy"><?php echo $RES['initWizard.reviewAndDeploy.submit.label'] ?></a>
+            </div>
+          </div>
+        </div>
+        <!-- End of installation Wizard -->
+    </div>
+    <?php require "./_footer.php"; ?>
+  </div>
 
-            var InstallationWizard = {
-
-              CreateCluster:
-              {},
-              AddNodes:
-              {},
-              AddNodesProgress:
-              {},
-              SelectServices:
-              {},
-              AssignMasters:
-              {},
-              ConfigureCluster:
-              {},
-              ConfigureServices:
-              {},
-              ReviewAndDeploy:
-              {},
-              DeployProgress:
-              {}
-            };
-
-            var jsFilesToLoad = [
-                'js/utils.js', 
-                'js/txnUtils.js',
-                'js/installationWizard.js',
-                'js/createCluster.js',
-                'js/addNodes.js',
-                'js/addNodesProgress.js',
-                'js/selectServices.js',
-                'js/assignMasters.js',
-                'js/configureCluster.js',
-                'js/configureServicesUtils.js',
-                'js/configureServices.js',
-                'js/reviewAndDeploy.js',
-                'js/deployProgress.js'
-              ];
-
-            // uncomment to allow jumping to a specified stage for development
-            // jsFilesToLoad.push('js/test/initializeClusterTest.js');
-            </script>
+  <!-- Javascript Scaffolding -->
+  <script type="text/javascript">
 
-            <?php require "./_bootstrapJs.php"; ?>
-            <!-- End of Javascript Scaffolding -->
+  var freshInstall = true;
+  var nodesAction = "addNodes";
 
-          </body>
-        </html>
+  var InstallationWizard = {
+
+    CreateCluster:
+    {},
+    AddNodes:
+    {},
+    AddNodesProgress:
+    {},
+    SelectServices:
+    {},
+    AssignMasters:
+    {},
+    ConfigureCluster:
+    {},
+    ConfigureServices:
+    {},
+    ReviewAndDeploy:
+    {},
+    DeployProgress:
+    {}
+  };
+
+  var jsFilesToLoad = [
+      'js/utils.js',
+      'js/txnUtils.js',
+      'js/installationWizard.js',
+      'js/createCluster.js',
+      'js/addNodes.js',
+      'js/addNodesProgress.js',
+      'js/selectServices.js',
+      'js/assignMasters.js',
+      'js/configureCluster.js',
+      'js/configureServicesUtils.js',
+      'js/configureServices.js',
+      'js/reviewAndDeploy.js',
+      'js/deployProgress.js'
+    ];
+
+  // uncomment to allow jumping to a specified stage for development
+  // jsFilesToLoad.push('js/test/initializeClusterTest.js');
+  </script>
+
+  <?php require "./_bootstrapJs.php"; ?>
+  <!-- End of Javascript Scaffolding -->
+</body>
+</html>

Modified: incubator/ambari/trunk/hmc/html/installFailed.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/installFailed.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/installFailed.php (original)
+++ incubator/ambari/trunk/hmc/html/installFailed.php Wed Jul 18 21:08:37 2012
@@ -19,21 +19,24 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
-    <div id="content">
-      <div class="container">
-        <div class="alert alert-important" style="margin-top:40px;padding:20px">
-          <h2 style="margin-bottom:10px"><?php echo $RES['installFailed.header'] ?></h2>
-          <p><?php echo $RES['installFailed.body'] ?></p>
-          <a id="submitLinkId" class="btn btn-large" style="margin-top:20px" href="uninstallWizard.php?clusterName=<?php echo $clusterName ?>"><?php echo $RES['installFailed.submit.label'] ?></a>          
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
+      <div id="content">
+        <div class="container">
+          <div class="alert alert-important" style="margin-top:40px;padding:20px">
+            <h2 style="margin-bottom:10px"><?php echo $RES['installFailed.header'] ?></h2>
+            <p><?php echo $RES['installFailed.body'] ?></p>
+            <a id="submitLinkId" class="btn btn-large" style="margin-top:20px" href="uninstallWizard.php?clusterName=<?php echo $clusterName ?>"><?php echo $RES['installFailed.submit.label'] ?></a>
+          </div>
         </div>
       </div>
+      <?php require "./_footer.php"; ?>
     </div>
-    <?php require "./_footer.php"; ?>
   </body>
 </html>

Modified: incubator/ambari/trunk/hmc/html/manageServices.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/manageServices.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/manageServices.php (original)
+++ incubator/ambari/trunk/hmc/html/manageServices.php Wed Jul 18 21:08:37 2012
@@ -19,37 +19,37 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
 
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
 
-    <div id="content">
-      <?php require "./_subnav.php"; ?>
-      <?php require "./_utils.php"; ?>
-
-      <!-- Service Management: The Main Event -->
-      <div id="serviceManagementCoreDivId">
-        <ul id="serviceManagementListId">
-          <div id="serviceManagementDynamicRenderDivId">
+      <div id="content">
+        <?php require "./_subnav.php"; ?>
+        <?php require "./_utils.php"; ?>
+        <?php require "./_txnUtils.php"; ?>
+
+        <!-- Service Management: The Main Event -->
+        <div id="serviceManagementCoreDivId">
+          <ul id="serviceManagementListId">
+            <div id="serviceManagementDynamicRenderDivId">
+            </div>
+          </ul>
+          <div id="serviceManagementGlobalActionsDivId" style="display:none">
+            <button class="btn btn-large" id="serviceManagementGlobalActionsStartAllButtonId" name="startAll" style="margin-right:10px"><i class="iconic-play" style="margin-right:10px"></i>Start All</button>
+            <button class="btn btn-large" id="serviceManagementGlobalActionsStopAllButtonId" name="stopAll"><i class="iconic-stop" style="margin-right:10px"></i>Stop All</button>
           </div>
-        </ul>
-        <div id="serviceManagementGlobalActionsDivId" style="display:none">
-          <button class="btn btn-large" id="serviceManagementGlobalActionsStartAllButtonId" name="startAll" style="margin-right:10px"><i class="iconic-play" style="margin-right:10px"></i>Start All</button>
-          <button class="btn btn-large" id="serviceManagementGlobalActionsStopAllButtonId" name="stopAll"><i class="iconic-stop" style="margin-right:10px"></i>Stop All</button>
         </div>
+        <!-- End of serviceManagementCoreDivId -->
       </div>
-      <!-- End of serviceManagementCoreDivId -->
-
-      <?php require "./_txnUtils.php"; ?>
 
+      <?php require "./_footer.php"; ?>
     </div>
-    <!-- End of contentDivId -->
-
-    <?php require "./_footer.php"; ?>
 
     <!-- Javascript Scaffolding -->
     <script type="text/javascript">

Modified: incubator/ambari/trunk/hmc/html/showDeployAddedNodesProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/showDeployAddedNodesProgress.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/showDeployAddedNodesProgress.php (original)
+++ incubator/ambari/trunk/hmc/html/showDeployAddedNodesProgress.php Wed Jul 18 21:08:37 2012
@@ -19,34 +19,33 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
 
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
-
-    <div id="content">
-
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
       <?php require "./_utils.php"; ?>
       <?php require "./_txnUtils.php"; ?>
 
-    </div>
-    <!-- End of contentDivId -->
+      <div id="content">
+      </div>
 
-    <?php require "./_footer.php"; ?>
+      <?php require "./_footer.php"; ?>
+    </div>
 
     <!-- Javascript Scaffolding -->
     <script type="text/javascript">
-      /* Minimal data required to bootstrap clusters.js. */
       var clusterName = '<?php echo $clusterName; ?>';
 
-      var jsFilesToLoad = [ 
+      var jsFilesToLoad = [
         'js/utils.js',
         'js/txnUtils.js',
         'js/deployAddedNodesProgress.js',
-        'js/showDeployAddedNodesProgress.js' 
+        'js/showDeployAddedNodesProgress.js'
       ];
     </script>
 

Modified: incubator/ambari/trunk/hmc/html/showDeployProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/showDeployProgress.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/showDeployProgress.php (original)
+++ incubator/ambari/trunk/hmc/html/showDeployProgress.php Wed Jul 18 21:08:37 2012
@@ -19,34 +19,33 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
 
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
-
-    <div id="content">
-
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
       <?php require "./_utils.php"; ?>
       <?php require "./_txnUtils.php"; ?>
 
-    </div>
-    <!-- End of contentDivId -->
+      <div id="content">
+      </div>
 
-    <?php require "./_footer.php"; ?>
+      <?php require "./_footer.php"; ?>
+    </div>
 
     <!-- Javascript Scaffolding -->
     <script type="text/javascript">
-      /* Minimal data required to bootstrap clusters.js. */
       var clusterName = '<?php echo $clusterName; ?>';
 
-      var jsFilesToLoad = [ 
+      var jsFilesToLoad = [
         'js/utils.js',
         'js/txnUtils.js',
         'js/deployProgress.js',
-        'js/showDeployProgress.js' 
+        'js/showDeployProgress.js'
       ];
     </script>
 

Modified: incubator/ambari/trunk/hmc/html/showManageServicesProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/showManageServicesProgress.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/showManageServicesProgress.php (original)
+++ incubator/ambari/trunk/hmc/html/showManageServicesProgress.php Wed Jul 18 21:08:37 2012
@@ -19,27 +19,26 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
 
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
-
-    <div id="content">
-
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
       <?php require "./_utils.php"; ?>
       <?php require "./_txnUtils.php"; ?>
 
-    </div>
-    <!-- End of contentDivId -->
+      <div id="content">
+      </div>
 
-    <?php require "./_footer.php"; ?>
+      <?php require "./_footer.php"; ?>
+    </div>
 
     <!-- Javascript Scaffolding -->
     <script type="text/javascript">
-      /* Minimal data required to bootstrap clusters.js. */
       var clusterName = '<?php echo $clusterName; ?>';
 
       var jsFilesToLoad = [ 

Modified: incubator/ambari/trunk/hmc/html/showUninstallProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/showUninstallProgress.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/showUninstallProgress.php (original)
+++ incubator/ambari/trunk/hmc/html/showUninstallProgress.php Wed Jul 18 21:08:37 2012
@@ -19,30 +19,29 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
 
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
-
-    <div id="content">
-
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
       <?php require "./_utils.php"; ?>
       <?php require "./_txnUtils.php"; ?>
 
-    </div>
-    <!-- End of contentDivId -->
+      <div id="content">
+      </div>
 
-    <?php require "./_footer.php"; ?>
+      <?php require "./_footer.php"; ?>
+    </div>
 
     <!-- Javascript Scaffolding -->
     <script type="text/javascript">
-      /* Minimal data required to bootstrap clusters.js. */
       var clusterName = '<?php echo $clusterName; ?>';
 
-      var jsFilesToLoad = [ 
+      var jsFilesToLoad = [
         'js/utils.js',
         'js/txnUtils.js',
         'js/uninstallProgress.js',

Modified: incubator/ambari/trunk/hmc/html/uninstallFailed.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/uninstallFailed.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/uninstallFailed.php (original)
+++ incubator/ambari/trunk/hmc/html/uninstallFailed.php Wed Jul 18 21:08:37 2012
@@ -19,23 +19,26 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
-    <div id="content">
-      <div class="container">
-        <div class="alert alert-important" style="margin-top:40px;padding:20px">
-          <h2 style="margin-bottom:10px"><?php echo $RES['uninstallFailed.header'] ?></h2>
-          <p><?php echo $RES['uninstallFailed.body'] ?></p>
-          <?php /*
-          <a id="submitLinkId" class="btn btn-large" style="margin-top:20px" href="uninstallWizard.php?clusterName=<?php echo $clusterName ?>"><?php echo $RES['uninstallFailed.submit.label'] ?></a>
-          */ ?>          
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
+      <div id="content">
+        <div class="container">
+          <div class="alert alert-important" style="margin-top:40px;padding:20px">
+            <h2 style="margin-bottom:10px"><?php echo $RES['uninstallFailed.header'] ?></h2>
+            <p><?php echo $RES['uninstallFailed.body'] ?></p>
+            <?php /*
+            <a id="submitLinkId" class="btn btn-large" style="margin-top:20px" href="uninstallWizard.php?clusterName=<?php echo $clusterName ?>"><?php echo $RES['uninstallFailed.submit.label'] ?></a>
+            */ ?>
+          </div>
         </div>
       </div>
+      <?php require "./_footer.php"; ?>
     </div>
-    <?php require "./_footer.php"; ?>
   </body>
 </html>

Modified: incubator/ambari/trunk/hmc/html/uninstallWizard.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/uninstallWizard.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/uninstallWizard.php (original)
+++ incubator/ambari/trunk/hmc/html/uninstallWizard.php Wed Jul 18 21:08:37 2012
@@ -19,13 +19,17 @@
 */
 ?>
 <?php require_once "./_router.php" ?>
+<!DOCTYPE html>
 <html>
-  <head>
-    <?php require "./_head.php" ?>
-  </head>
+<head>
+  <?php require "./_head.php" ?>
+</head>
 
-  <body class="yui3-skin-sam">
+<body class="yui3-skin-sam">
+  <div id="container">
     <?php require "./_topnav.php"; ?>
+    <?php require "./_utils.php"; ?>
+    <?php require "./_txnUtils.php"; ?>
     <?php include_once "../php/util/clusterState.php"; ?>
     
     <div id="content">
@@ -33,7 +37,6 @@
 
       <!-- Uninstallation Wizard -->
       <div id="installationWizardDivId" style="display:block">
-        <?php require "./_utils.php"; ?>
         <div class="pageSummary" style="margin-top:0px">
           <h2><?php echo $RES['uninstallWizard.pageSummary.header'] ?></h2>
           <p><?php echo $RES['uninstallWizard.pageSummary.body'] ?></p>
@@ -63,38 +66,37 @@
               </fieldset>
             </div>
           </div>
-          <?php require "./_txnUtils.php"; ?>
-
         </div>
       </div>
       <!-- End of Uninstallation Wizard -->
     </div>            
     <?php require "./_footer.php"; ?>
+  </div>
 
-    <!-- Javascript Scaffolding -->
-    <script type="text/javascript">
-
-    var nodesAction = "uninstall";
-    var clusterName = "<?php echo $clusterName; ?>";
+  <!-- Javascript Scaffolding -->
+  <script type="text/javascript">
 
-    var InstallationWizard = {
+  var nodesAction = "uninstall";
+  var clusterName = "<?php echo $clusterName; ?>";
 
-      AddNodes: 
-      {},
-      AddNodesProgress:
-      {}
-    };
-
-    var jsFilesToLoad = [ 
-        'js/utils.js', 
-        'js/txnUtils.js',
-        'js/uninstall.js', 
-        'js/uninstallProgress.js', 
-      ];
-    </script>
+  var InstallationWizard = {
+
+    AddNodes:
+    {},
+    AddNodesProgress:
+    {}
+  };
+
+  var jsFilesToLoad = [
+      'js/utils.js',
+      'js/txnUtils.js',
+      'js/uninstall.js',
+      'js/uninstallProgress.js'
+    ];
+  </script>
 
-    <?php require "./_bootstrapJs.php"; ?>
-    <!-- End of Javascript Scaffolding -->
+  <?php require "./_bootstrapJs.php"; ?>
+  <!-- End of Javascript Scaffolding -->
 
-  </body>
+</body>
 </html> 

Modified: incubator/ambari/trunk/hmc/html/upgradeStack/deploy.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/upgradeStack/deploy.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/upgradeStack/deploy.php (original)
+++ incubator/ambari/trunk/hmc/html/upgradeStack/deploy.php Wed Jul 18 21:08:37 2012
@@ -19,6 +19,7 @@
 */
 ?>
 <?php require_once '../_router.php' ?>
+<!DOCTYPE html>
 <html>
 <head>
   <?php require "../_head.php" ?>
@@ -26,36 +27,38 @@
 </head>
 
 <body class="yui3-skin-sam">
-  <?php require "../_topnav.php"; ?>
-
-  <div id="content">
-    <?php require '_stageMenu.php'; ?>
-
-    <!-- Begin Wizard -->
-    <div id="upgradeStackWizard">
-      <?php require "../_utils.php"; ?>
-      <div id="deployPanel">
-        <div class="pageSummary" style="margin-top:0px">
-          <h2><?php echo $RES['upgradeStack.deploy.pageSummary.header'] ?></h2>
-          <p><?php echo $RES['upgradeStack.deploy.pageSummary.body'] ?></p>
-        </div>
-        <div id="formStatusDivId" class="alert alert-error" style="display:none">
+  <div id="container">
+    <?php require "../_topnav.php"; ?>
+    <?php require "../_utils.php"; ?>
+    <?php require "../_txnUtils.php"; ?>
+
+    <div id="content">
+      <?php require '_stageMenu.php'; ?>
+
+      <!-- Begin Wizard -->
+      <div id="upgradeStackWizard">
+        <div id="deployPanel">
+          <div class="pageSummary" style="margin-top:0px">
+            <h2><?php echo $RES['upgradeStack.deploy.pageSummary.header'] ?></h2>
+            <p><?php echo $RES['upgradeStack.deploy.pageSummary.body'] ?></p>
+          </div>
+          <div id="formStatusDivId" class="alert alert-error" style="display:none">
+          </div>
+          <form id="deployFormId">
+            <fieldset id="deployFieldSetId">
+              <!--<legend>Review your settings</legend>-->
+              <div id="deployDynamicRenderDivId"></div>
+            </fieldset>
+          </form>
+          <!--<a href="reconfigure.php" class="btn btn-large" id="backToReconfigureButton"><?php echo $RES['upgradeStack.deploy.backButton.label'] ?></a>-->
+          <a href="javascript:void 0" class="btn btn-large btn-success" id="deploySubmitButton" style="margin:0 0 40px 320px"><?php echo $RES['upgradeStack.deploy.submit.label'] ?></a>
         </div>
-        <form id="deployFormId">
-          <fieldset id="deployFieldSetId">
-            <!--<legend>Review your settings</legend>-->
-            <div id="deployDynamicRenderDivId"></div>
-          </fieldset>
-        </form>
-        <!--<a href="reconfigure.php" class="btn btn-large" id="backToReconfigureButton"><?php echo $RES['upgradeStack.deploy.backButton.label'] ?></a>-->
-        <a href="javascript:void 0" class="btn btn-large btn-success" id="deploySubmitButton" style="margin:0 0 40px 320px"><?php echo $RES['upgradeStack.deploy.submit.label'] ?></a>
       </div>
-      <?php require "../_txnUtils.php"; ?>
+      <!-- End Wizard -->
+
     </div>
-    <!-- End Wizard -->
+    <?php require "../_footer.php"; ?>
   </div>
-  <?php require "../_footer.php"; ?>
-
   <!-- Javascript Scaffolding -->
   <script type="text/javascript">
 

Modified: incubator/ambari/trunk/hmc/html/upgradeStack/index.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/upgradeStack/index.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/upgradeStack/index.php (original)
+++ incubator/ambari/trunk/hmc/html/upgradeStack/index.php Wed Jul 18 21:08:37 2012
@@ -19,15 +19,19 @@
 */
 ?>
 <?php require_once '../_router.php' ?>
+<!DOCTYPE html>
 <html>
 <head>
   <?php require "../_head.php" ?>
   <script src="/hmc/js/ext/jquery.min.js"></script>
 </head>
 <body class="yui3-skin-sam">
-  <?php require "../_topnav.php"; ?>
-  <?php require "../_utils.php"; ?>
-  <div id="content">
+  <div id="container">
+    <?php require "../_topnav.php"; ?>
+    <?php require "../_utils.php"; ?>
+    <?php require "../_txnUtils.php"; ?>
+
+    <div id="content">
       <div class="alert alert-info" style="margin-top:40px;padding:20px">
         <h2><?php echo $RES['upgradeStack.index.pageSummary.header'] ?></h2>
         <p><?php echo $RES['upgradeStack.index.pageSummary.body'] ?></p>
@@ -49,11 +53,12 @@
               <a href="javascript:void 0" class="btn btn-large btn-success" id="upgradeButton"><?php echo $RES['upgradeStack.index.submit.label'] ?></a>
               <a href="../" class="btn btn-large" id="cancelButton" style="margin-left:10px"><?php echo $RES['upgradeStack.index.cancel.label'] ?></a>
             </div>
+          </form>
         </fieldset>
       </div>
     </div>
+    <?php require "../_footer.php"; ?>
   </div>
-  <?php require "../_footer.php"; ?>
   <script type="text/javascript">
 
     var clusterName = '<?php echo $clusterName; ?>';
@@ -65,5 +70,6 @@
   </script>
 
   <?php require "../_bootstrapJs.php"; ?>
+
 </body>
 </html> 

Modified: incubator/ambari/trunk/hmc/html/upgradeStack/reconfigure.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/upgradeStack/reconfigure.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/upgradeStack/reconfigure.php (original)
+++ incubator/ambari/trunk/hmc/html/upgradeStack/reconfigure.php Wed Jul 18 21:08:37 2012
@@ -19,6 +19,7 @@
 */
 ?>
 <?php require_once '../_router.php' ?>
+<!DOCTYPE html>
 <html>
 <head>
   <?php require "../_head.php" ?>
@@ -27,46 +28,47 @@
 </head>
 
 <body class="yui3-skin-sam">
-  <?php require "../_topnav.php"; ?>
-
-  <div id="content">
-    <?php require '_stageMenu.php'; ?>
-
-    <!-- Begin Wizard -->
-    <div id="upgradeStackWizard">
-      <?php require "../_utils.php"; ?>
-      <div id="reconfigurePanel">
-        <div class="pageSummary" style="margin-top:0px">
-          <h2><?php echo $RES['upgradeStack.reconfigure.pageSummary.header'] ?></h2>
-          <p><?php echo $RES['upgradeStack.reconfigure.pageSummary.body'] ?></p>
-        </div>
-        <div id="formStatusDivId" class="alert alert-error" style="display:none">
-        </div>
-        <div id="configureClusterAdvancedCoreDivId">
-          <form id="configureClusterAdvancedFormId">
-            <fieldset id="configureClusterAdvancedFieldSetId">
-              <div id="configureClusterAdvancedDynamicRenderDivId"></div>
-            </fieldset>
-          </form>
-          <div id="buttonAreaDivId" class="clearfix">
-            <div id="buttonGroupDivId">
-              <?php /*
-                          <div id="backNextDivId" class="btn-group">
-                            <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedBackButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.back.label'] ?></a>
-                            <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedNextButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.next.label'] ?></a>
-                          </div>
-                          */ ?>
-              <a href="javascript:void 0" class="btn btn-large btn-success" id="reconfigureSubmitButton"><?php echo $RES['upgradeStack.reconfigure.submit.label'] ?></a>
+  <div id="container">
+    <?php require "../_topnav.php"; ?>
+    <?php require "../_utils.php"; ?>
+    <?php require "../_txnUtils.php"; ?>
+
+    <div id="content">
+      <?php require '_stageMenu.php'; ?>
+
+      <!-- Begin Wizard -->
+      <div id="upgradeStackWizard">
+        <div id="reconfigurePanel">
+          <div class="pageSummary" style="margin-top:0px">
+            <h2><?php echo $RES['upgradeStack.reconfigure.pageSummary.header'] ?></h2>
+            <p><?php echo $RES['upgradeStack.reconfigure.pageSummary.body'] ?></p>
+          </div>
+          <div id="formStatusDivId" class="alert alert-error" style="display:none">
+          </div>
+          <div id="configureClusterAdvancedCoreDivId">
+            <form id="configureClusterAdvancedFormId">
+              <fieldset id="configureClusterAdvancedFieldSetId">
+                <div id="configureClusterAdvancedDynamicRenderDivId"></div>
+              </fieldset>
+            </form>
+            <div id="buttonAreaDivId" class="clearfix">
+              <div id="buttonGroupDivId">
+                <?php /*
+                            <div id="backNextDivId" class="btn-group">
+                              <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedBackButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.back.label'] ?></a>
+                              <a href="javascript:void 0" class="btn btn-large" id="configureClusterAdvancedNextButtonId"><?php echo $RES['initWizard.configureClusterAdvanced.next.label'] ?></a>
+                            </div>
+                            */ ?>
+                <a href="javascript:void 0" class="btn btn-large btn-success" id="reconfigureSubmitButton"><?php echo $RES['upgradeStack.reconfigure.submit.label'] ?></a>
+              </div>
             </div>
           </div>
         </div>
       </div>
-      <?php require "../_txnUtils.php"; ?>
+      <!-- End Wizard -->
     </div>
-    <!-- End Wizard -->
+    <?php require "../_footer.php"; ?>
   </div>
-  <?php require "../_footer.php"; ?>
-
   <!-- Javascript Scaffolding -->
   <script type="text/javascript">
 

Modified: incubator/ambari/trunk/hmc/html/upgradeStack/showUpgradeProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/upgradeStack/showUpgradeProgress.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/upgradeStack/showUpgradeProgress.php (original)
+++ incubator/ambari/trunk/hmc/html/upgradeStack/showUpgradeProgress.php Wed Jul 18 21:08:37 2012
@@ -19,15 +19,19 @@
 */
 ?>
 <?php require_once '../_router.php' ?>
+<!DOCTYPE html>
 <html>
 <head>
   <?php require "../_head.php" ?>
   <script src="/hmc/js/ext/jquery.min.js"></script>
 </head>
 <body class="yui3-skin-sam">
-  <?php require "../_topnav.php"; ?>
-  <?php require "../_utils.php"; ?>
-  <div id="content">
+  <div id="container">
+    <?php require "../_topnav.php"; ?>
+    <?php require "../_utils.php"; ?>
+    <?php require "../_txnUtils.php"; ?>
+
+    <div id="content">
       <div class="alert alert-info" style="margin-top:40px;padding:20px">
         <h2><?php echo $RES['upgradeStack.index.pageSummary.header'] ?></h2>
         <p><?php echo $RES['upgradeStack.index.pageSummary.body'] ?></p>
@@ -40,9 +44,8 @@
         <?php */ ?>
       </div>
     </div>
-    <?php require "../_txnUtils.php"; ?>
+    <?php require "../_footer.php"; ?>
   </div>
-  <?php require "../_footer.php"; ?>
   <script type="text/javascript">
 
     var clusterName = '<?php echo $clusterName; ?>';

Modified: incubator/ambari/trunk/hmc/html/upgradeStack/uninstall.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/upgradeStack/uninstall.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/upgradeStack/uninstall.php (original)
+++ incubator/ambari/trunk/hmc/html/upgradeStack/uninstall.php Wed Jul 18 21:08:37 2012
@@ -19,35 +19,37 @@
 */
 ?>
 <?php require_once '../_router.php' ?>
+<!DOCTYPE html>
 <html>
 <head>
   <?php require "../_head.php" ?>
   <script src="/hmc/js/ext/jquery.min.js"></script>
 </head>
 <body class="yui3-skin-sam">
-  <?php require "../_topnav.php"; ?>
-
-  <div id="content">
-    <?php require '_stageMenu.php'; ?>
-
-    <!-- Begin Wizard -->
-    <div id="upgradeStackWizard">
-      <?php require "../_utils.php"; ?>
-      <div id="uninstallPanel">
-        <div class="pageSummary" style="margin-top:0px">
-          <h2><?php echo $RES['upgradeStack.uninstall.pageSummary.header'] ?></h2>
-          <p><?php echo $RES['upgradeStack.uninstall.pageSummary.body'] ?></p>
+  <div id="container">
+    <?php require "../_topnav.php"; ?>
+    <?php require "../_utils.php"; ?>
+    <?php require "../_txnUtils.php"; ?>
+
+    <div id="content">
+      <?php require '_stageMenu.php'; ?>
+
+      <!-- Begin Wizard -->
+      <div id="upgradeStackWizard">
+        <div id="uninstallPanel">
+          <div class="pageSummary" style="margin-top:0px">
+            <h2><?php echo $RES['upgradeStack.uninstall.pageSummary.header'] ?></h2>
+            <p><?php echo $RES['upgradeStack.uninstall.pageSummary.body'] ?></p>
+          </div>
+          <div id="formStatusDivId" class="alert alert-error" style="display:none">
+          </div>
+          <a href="javascript:void 0" class="btn btn-large btn-success" id="uninstallSubmitButton"><?php echo $RES['upgradeStack.uninstall.submit.label'] ?></a>
         </div>
-        <div id="formStatusDivId" class="alert alert-error" style="display:none">
-        </div>
-        <a href="javascript:void 0" class="btn btn-large btn-success" id="uninstallSubmitButton"><?php echo $RES['upgradeStack.uninstall.submit.label'] ?></a>
       </div>
-      <?php require "../_txnUtils.php"; ?>
+      <!-- End Wizard -->
     </div>
-    <!-- End Wizard -->
+    <?php require "../_footer.php"; ?>
   </div>
-  <?php require "../_footer.php"; ?>
-
   <!-- Javascript Scaffolding -->
   <script type="text/javascript">
 

Modified: incubator/ambari/trunk/hmc/html/welcome.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/html/welcome.php?rev=1363117&r1=1363116&r2=1363117&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/html/welcome.php (original)
+++ incubator/ambari/trunk/hmc/html/welcome.php Wed Jul 18 21:08:37 2012
@@ -19,22 +19,25 @@
 */
 ?>
 <?php require_once "./_router.php"; ?>
+<!DOCTYPE html>
 <html>
   <head>
     <?php require "./_head.php" ?>
   </head>
 
   <body class="yui3-skin-sam">
-    <?php require "./_topnav.php"; ?>
+    <div id="container">
+      <?php require "./_topnav.php"; ?>
 
-    <div id="content">
-      <div class="alert alert-info" style="margin-top:40px;padding:20px">
-        <h2 style="margin-bottom:10px"><?php echo $RES['welcome.header'] ?></h2>
-        <p><?php echo $RES['welcome.body'] ?></p>
-        <p><span class='label label-info'>Note</span><span style='margin-left:10px;'><?php echo $RES['welcome.note'] ?></span></p> 
-        <a id="submitLinkId" class='btn btn-large' style='margin-top:20px' href='initializeCluster.php'><?php echo $RES['welcome.submit.label'] ?></a>
+      <div id="content">
+        <div class="alert alert-info" style="margin-top:40px;padding:20px">
+          <h2 style="margin-bottom:10px"><?php echo $RES['welcome.header'] ?></h2>
+          <p><?php echo $RES['welcome.body'] ?></p>
+          <p><span class='label label-info'>Note</span><span style='margin-left:10px;'><?php echo $RES['welcome.note'] ?></span></p>
+          <a id="submitLinkId" class='btn btn-large' style='margin-top:20px' href='initializeCluster.php'><?php echo $RES['welcome.submit.label'] ?></a>
+        </div>
       </div>
+      <?php require "./_footer.php"; ?>
     </div>
-    <?php require "./_footer.php"; ?>
   </body>
 </html>