123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- <?php
- /*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
- */
- ?>
- <?php require_once "./head.inc" ?>
- <html>
- <head>
- <?php require "./head.htmli" ?>
- </head>
- <body class="yui3-skin-sam">
- <?php require "./topnav.htmli"; ?>
- <div id="ContentDivId">
- <?php require "./subnav.htmli"; ?>
-
- <!-- 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>
- <?php require "./utils.htmli"; ?>
- <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">
- </div>
- <div class="pageContent">
-
- <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 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.htmli"; ?>
- </div>
- </div>
- <!-- End of installation Wizard -->
- </div>
- <?php require "./footer.htmli"; ?>
- <!-- Javascript Scaffolding -->
- <script type="text/javascript">
- var freshInstall = false;
- var clusterName = "<?php echo $_GET['clusterName']; ?>";
- var nodesAction = "addNodes";
- var InstallationWizard = {
-
- AddNodes:
- {},
- AddNodesProgress:
- {},
- SelectComponents:
- {},
- DeployProgress:
- {}
- };
-
- var jsFilesToLoad = [
- 'js/utils.js',
- 'js/txnUtils.js',
- 'js/addNodes.js',
- 'js/addNodesProgress.js',
- 'js/selectComponents.js',
- 'js/deployAddedNodesProgress.js',
- 'js/addNodesWizardInit.js'
- ];
- </script>
-
- <?php require "./bootstrapJs.htmli"; ?>
- <!-- End of Javascript Scaffolding -->
- </body>
- </html>
|