error.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {% comment %}
  2. Licensed to Cloudera, Inc. under one
  3. or more contributor license agreements. See the NOTICE file
  4. distributed with this work for additional information
  5. regarding copyright ownership. Cloudera, Inc. licenses this file
  6. to you under the Apache License, Version 2.0 (the
  7. "License"); you may not use this file except in compliance
  8. with the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. {% endcomment %}
  16. {% load is_selected %}
  17. <!DOCTYPE html>
  18. <html lang="en">
  19. <head>
  20. <meta charset="utf-8">
  21. <title>Error</title>
  22. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  23. <meta name="description" content="">
  24. <meta name="author" content="">
  25. <link href="/static/ext/css/bootstrap.min.css" rel="stylesheet">
  26. <link href="/static/ext/css/bootstrap-responsive.min.css" rel="stylesheet">
  27. <link href="/static/css/jhue.css" rel="stylesheet">
  28. <link href="/static/ext/css/fileuploader.css" rel="stylesheet">
  29. <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
  30. <!--[if lt IE 9]>
  31. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  32. <![endif]-->
  33. <style type="text/css">
  34. body {
  35. padding-top: 60px;
  36. }
  37. </style>
  38. <script src="/static/ext/js/jquery/jquery-1.7.1.min.js"></script>
  39. <script src="/static/js/Source/jHue/jquery.showusername.js"></script>
  40. <script src="/static/js/Source/jHue/jquery.filechooser.js"></script>
  41. <script src="/static/js/Source/jHue/jquery.contextmenu.js"></script>
  42. <script src="/static/js/Source/jHue/jquery.selector.js"></script>
  43. <script src="/static/js/Source/jHue/jquery.alert.js"></script>
  44. <script src="/static/ext/js/jquery/plugins/jquery.simpleplaceholder.js"></script>
  45. <script src="/static/ext/js/jquery/plugins/jquery.dataTables.1.8.2.min.js"></script>
  46. <script src="/static/ext/js/bootstrap.min.js"></script>
  47. <script src="/static/ext/js/fileuploader.js"></script>
  48. <script type="text/javascript" charset="utf-8">
  49. $(document).ready(function(){
  50. $("#username").showUsername();
  51. $("input:text[placeholder]").simplePlaceholder();
  52. $(".submitter").keydown(function(e){
  53. if (e.keyCode==13){
  54. $(this).closest("form").submit();
  55. }
  56. }).change(function(){
  57. $(this).closest("form").submit();
  58. });
  59. $("#checkConfig").load("/debug/check_config_ajax");
  60. });
  61. </script>
  62. </head>
  63. <body>
  64. <div class="navbar navbar-fixed-top">
  65. <div class="navbar-inner">
  66. <div class="container-fluid">
  67. <a class="brand" href="#">Hue 2</a>
  68. <div class="nav-collapse">
  69. <ul class="nav">
  70. <li><a href="/beeswax/">Beeswax</a></li>
  71. <li><a href="/filebrowser/">File Browser</a></li>
  72. <li><a href="/jobsub/">Job Designer</a></li>
  73. <li><a href="/jobbrowser/jobs/">Job Browser</a></li>
  74. <li><a href="/useradmin/">User Admin</a></li>
  75. <li><a href="/shell/">Shell</a></li>
  76. <li><a href="/help/">Help</a></li>
  77. <li><a href="/about/">About</a></li>
  78. <li class="divider-vertical"></li>
  79. <li id="checkConfig"><li>
  80. </ul>
  81. <p class="navbar-text pull-right">Logged in as <strong><span id="username">xxx</span></strong> - <a href="/accounts/logout/">Sign out</a></p>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. <div class="container-fluid">
  87. <h1>Error!</h1>
  88. <pre>{{ error }}</pre>
  89. <textarea style="width: 100%;" rows=80 readonly="readonly">
  90. {{ traceback }}
  91. </textarea>
  92. </div>
  93. </body>
  94. </html>