1
0

explorer.html 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!--
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  16. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  17. <html xmlns="http://www.w3.org/1999/xhtml">
  18. <head>
  19. <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" />
  20. <link rel="stylesheet" type="text/css" href="/static/hadoop.css" />
  21. <title>Browsing HDFS</title>
  22. </head>
  23. <body>
  24. <div class="modal" id="file-info" tabindex="-1" role="dialog" aria-hidden="true">
  25. <div class="modal-dialog">
  26. <div class="modal-content">
  27. <div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  28. <h4 class="modal-title" id="file-info-title">File information</h4>
  29. </div>
  30. <div class="modal-body" id="file-info-body">
  31. <a id="file-info-download">Download</a>
  32. <a id="file-info-preview" style="cursor:pointer">Tail the file (last 32K)</a>
  33. <hr />
  34. <div class="panel panel-info" id="file-info-blockinfo-panel">
  35. <div class="panel-heading">
  36. Block information --
  37. <select class="btn btn-default" id="file-info-blockinfo-list">
  38. </select>
  39. </div>
  40. <div class="panel-body" id="file-info-blockinfo-body"></div>
  41. </div>
  42. <div class="panel panel-info" id="file-info-tail" style="display:none">
  43. <div class="panel-heading">File contents</div>
  44. <div class="panel-body">
  45. <div class="input-group-sm">
  46. <textarea class="form-control" style="height: 150px" id="file-info-preview-body"></textarea>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. <div class="modal-footer"><button type="button" class="btn btn-primary"
  52. data-dismiss="modal">Close</button></div>
  53. </div>
  54. </div>
  55. </div>
  56. <div class="container">
  57. <div class="page-header">
  58. <h1>Browse Directory</h1>
  59. </div>
  60. <div class="alert alert-danger" id="alert-panel" style="display:none">
  61. <button type="button" class="close" onclick="$('#alert-panel').hide();">&times;</button>
  62. <div class="alert-body" id="alert-panel-body"></div>
  63. </div>
  64. <div class="row">
  65. <form onsubmit="return false;">
  66. <div class="input-group"><input type="text" class="form-control" id=
  67. "directory" /> <span class="input-group-btn"><button class="btn btn-default"
  68. type="submit" id="btn-nav-directory"><span class="input-group-btn">Go!</span></button></span></div>
  69. </form>
  70. </div>
  71. <br />
  72. <div id="panel"></div>
  73. </div>
  74. <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js">
  75. </script><script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js">
  76. </script><script type="text/javascript" src="/static/dust-full-2.0.0.min.js">
  77. </script><script type="text/javascript" src="/static/dust-helpers-1.1.1.min.js">
  78. </script><script type="text/javascript" src="dfs-dust.js">
  79. </script><script type="text/javascript" src="explorer.js">
  80. </script>
  81. <hr />
  82. <p><a href="http://hadoop.apache.org/core">Hadoop</a>, 2013.</p>
  83. </body>
  84. </html>