manageServices.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?php require_once "./head.inc" ?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing,
  12. software distributed under the License is distributed on an
  13. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. KIND, either express or implied. See the License for the
  15. specific language governing permissions and limitations
  16. under the License.
  17. -->
  18. <html>
  19. <head>
  20. <?php require "./head.htmli" ?>
  21. </head>
  22. <body class="yui3-skin-sam">
  23. <?php require "./topnav.htmli"; ?>
  24. <div id="ContentDivId">
  25. <?php require "./subnav.htmli"; ?>
  26. <?php require "./utils.htmli"; ?>
  27. <!-- Service Management: The Main Event -->
  28. <div id="serviceManagementCoreDivId">
  29. <ul id="serviceManagementListId">
  30. <div id="serviceManagementDynamicRenderDivId">
  31. <!--
  32. <li class="serviceManagementEntry serviceManagementEntryStopped">
  33. <div>
  34. <span class="serviceManagementEntryNameContainer">
  35. <a href="javascript:void(null)" class="serviceManagementEntryName">HDFS</a>
  36. </span>
  37. <div class="serviceManagementEntryActionsContainer">
  38. <a href="javascript:void(null)" title="Start"
  39. class="serviceManagementEntryAction serviceManagementEntryActionStart"></a>
  40. <a href="javascript:void(null)" title="Stop"
  41. class="serviceManagementEntryAction serviceManagementEntryActionStop"></a>
  42. <a href="javascript:void(null)" title="Reconfigure"
  43. class="serviceManagementEntryAction serviceManagementEntryActionReconfigure"></a>
  44. </div>
  45. </div>
  46. </li>
  47. <li class="serviceManagementEntry serviceManagementEntryStarted">
  48. <div>
  49. <span class="serviceManagementEntryNameContainer">
  50. <a href="javascript:void(null)" class="serviceManagementEntryName">MapReduce</a>
  51. </span>
  52. <div class="serviceManagementEntryActionsContainer">
  53. <a href="javascript:void(null)" title="Start"
  54. class="serviceManagementEntryAction serviceManagementEntryActionStart"></a>
  55. <a href="javascript:void(null)" title="Stop"
  56. class="serviceManagementEntryAction serviceManagementEntryActionStop"></a>
  57. <a href="javascript:void(null)" title="Reconfigure"
  58. class="serviceManagementEntryAction serviceManagementEntryActionReconfigure"></a>
  59. </div>
  60. </div>
  61. </li>
  62. <li class="serviceManagementEntry serviceManagementEntryStarted">
  63. <div>
  64. <span class="serviceManagementEntryNameContainer">
  65. <a href="javascript:void(null)" class="serviceManagementEntryName">HBase</a>
  66. </span>
  67. <div class="serviceManagementEntryActionsContainer">
  68. <a href="javascript:void(null)" title="Start"
  69. class="serviceManagementEntryAction serviceManagementEntryActionStart"></a>
  70. <a href="javascript:void(null)" title="Stop"
  71. class="serviceManagementEntryAction serviceManagementEntryActionStop"></a>
  72. <a href="javascript:void(null)" title="Reconfigure"
  73. class="serviceManagementEntryAction serviceManagementEntryActionReconfigure"></a>
  74. </div>
  75. </div>
  76. </li>
  77. -->
  78. </div>
  79. </ul>
  80. <div id="serviceManagementGlobalActionsDivId" style="display:none">
  81. <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>
  82. <button class="btn btn-large" id="serviceManagementGlobalActionsStopAllButtonId" name="stopAll"><i class="iconic-stop" style="margin-right:10px"></i>Stop All</button>
  83. </div>
  84. <br/>
  85. </div>
  86. <!-- End of serviceManagementCoreDivId -->
  87. <?php require "./txnUtils.htmli"; ?>
  88. </div>
  89. <!-- End of contentDivId -->
  90. <?php require "./footer.htmli"; ?>
  91. <!-- Javascript Scaffolding -->
  92. <script type="text/javascript">
  93. /* Minimal data required to bootstrap manageServices.js. */
  94. var clusterName = '<?php echo $_GET['clusterName']; ?>';
  95. var jsFilesToLoad = [
  96. 'js/utils.js',
  97. 'js/txnUtils.js',
  98. 'js/configureServicesUtils.js',
  99. 'js/manageServices.js',
  100. 'js/manageServicesProgress.js'
  101. ];
  102. </script>
  103. <?php require "./bootstrapJs.htmli"; ?>
  104. <!-- End of Javascript Scaffolding -->
  105. </body>
  106. </html>