base.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Celery Flower</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <!-- bootstap overwritable styles -->
  10. <style type="text/css">
  11. body { padding-top: 60px; }
  12. </style>
  13. <link href="{{ static_url('css/bootstrap.css') }}" rel="stylesheet">
  14. <link href="{{ static_url('css/bootstrap-responsive.css') }}" rel="stylesheet">
  15. <link href="{{ static_url('css/rickshaw.min.css') }}" rel="stylesheet">
  16. <link href="{{ static_url('css/jquery-ui.css') }}" rel="stylesheet">
  17. <link href="{{ static_url('css/flower.css') }}" rel="stylesheet">
  18. {% block extra_styles %}
  19. {% end %}
  20. <!--[if lt IE 9]>
  21. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  22. <![endif]-->
  23. <!-- Le fav and touch icons -->
  24. <link rel="shortcut icon" href="{{ static_url('favicon.ico') }}">
  25. <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ static_url('img/apple-touch-icon-144-precomposed.png') }}">
  26. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ static_url('img/apple-touch-icon-114-precomposed.png') }}">
  27. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ static_url('img/apple-touch-icon-72-precomposed.png') }}">
  28. <link rel="apple-touch-icon-precomposed" href="{{ static_url('img/apple-touch-icon-57-precomposed.png') }}">
  29. </head>
  30. <body>
  31. <script type="text/javascript">
  32. var prefix = "{{ url_prefix }}"
  33. </script>
  34. {% block navbar %}
  35. {% module Template("navbar.html", active_tab="", absolute_url=absolute_url) %}
  36. {% end %}
  37. <div class="container-fluid">
  38. <div id="alert" class="alert alert-success hide">
  39. <a class="close" onclick="flower.on_alert_close(event)">×</a>
  40. <p id="alert-message"></p>
  41. </div>
  42. </div>
  43. {% block container %}
  44. {% end %}
  45. <!-- Le javascript
  46. ================================================== -->
  47. <!-- Placed at the end of the document so the pages load faster -->
  48. <script src="{{ static_url('js/jquery-1.7.2.min.js') }}"></script>
  49. <script src="{{ static_url('js/jquery-ui-1-8-15.min.js') }}"></script>
  50. <script src="{{ static_url('js/bootstrap-transition.js') }}"></script>
  51. <script src="{{ static_url('js/bootstrap-alert.js') }}"></script>
  52. <script src="{{ static_url('js/bootstrap-modal.js') }}"></script>
  53. <script src="{{ static_url('js/bootstrap-dropdown.js') }}"></script>
  54. <script src="{{ static_url('js/bootstrap-scrollspy.js') }}"></script>
  55. <script src="{{ static_url('js/bootstrap-tab.js') }}"></script>
  56. <script src="{{ static_url('js/bootstrap-tooltip.js') }}"></script>
  57. <script src="{{ static_url('js/bootstrap-popover.js') }}"></script>
  58. <script src="{{ static_url('js/bootstrap-button.js') }}"></script>
  59. <script src="{{ static_url('js/bootstrap-collapse.js') }}"></script>
  60. <script src="{{ static_url('js/bootstrap-carousel.js') }}"></script>
  61. <script src="{{ static_url('js/bootstrap-typeahead.js') }}"></script>
  62. <script src="{{ static_url('js/d3.min.js') }}"></script>
  63. <script src="{{ static_url('js/d3.layout.min.js') }}"></script>
  64. <script src="{{ static_url('js/rickshaw.min.js') }}"></script>
  65. <script src="{{ static_url('js/flower.js') }}"></script>
  66. </body>
  67. </html>