base.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {% load staticfiles marcador_tags %}
  2. <!doctype html>
  3. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
  4. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
  5. <!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
  6. <!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
  7. <head>
  8. <meta charset="utf-8">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. <title>Marcador - {% block title %}{% endblock %}</title>
  11. <meta name="description" content="">
  12. <meta name="viewport" content="width=device-width, initial-scale=1">
  13. <link rel="apple-touch-icon" href="{% static "apple-touch-icon.png" %}">
  14. <link rel="stylesheet" href="{% static "css/bootstrap.min.css" %}">
  15. <style>
  16. body {
  17. padding-top: 50px;
  18. padding-bottom: 20px;
  19. }
  20. </style>
  21. <link rel="stylesheet" href="{% static 'css/bootstrap-theme.min.css' %}">
  22. <link rel="stylesheet" href="{% static 'css/main.css' %}">
  23. <script src="{% static 'js/vendor/modernizr-2.8.3-respond-1.4.2.min.js' %}"></script>
  24. </head>
  25. <body>
  26. <!--[if lt IE 8]>
  27. <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
  28. <![endif]-->
  29. <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  30. <div class="container">
  31. <div class="navbar-header">
  32. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  33. <span class="sr-only">Toggle navigation</span>
  34. <span class="icon-bar"></span>
  35. <span class="icon-bar"></span>
  36. <span class="icon-bar"></span>
  37. </button>
  38. <a class="navbar-brand" href="/">Django Marcador</a>
  39. </div>
  40. <div id="navbar" class="navbar-collapse collapse">
  41. {% block toggle_login %}
  42. {% include 'toggle_login.html' %}
  43. {% endblock %}
  44. </div><!--/.navbar-collapse -->
  45. </div>
  46. </nav>
  47. <!-- Main jumbotron for a primary marketing message or call to action -->
  48. <div class="container">
  49. <!-- Example row of columns -->
  50. <div class="row">
  51. <div class="col-md-12">
  52. {% block heading %}{% endblock %}
  53. </div>
  54. </div>
  55. <div class="row">
  56. <div class="col-md-8">
  57. {% block content %}{% endblock %}
  58. </div>
  59. <div class="col-md-4">
  60. <div class="panel panel-primary">
  61. <div class="panel-heading">Tag Cloud</div>
  62. <div class="panel-body">
  63. {% block sidebar %}
  64. {% tagcloud %}
  65. {% endblock %}
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <hr>
  71. <footer>
  72. <p>&copy; SCAD's Design & Develop 2018</p>
  73. <p>With help of <a href="http://django-marcador.keimlink.de/en/index.html">django-marcador</a> tutoial</p>
  74. </footer>
  75. </div> <!-- /container --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
  76. <script>window.jQuery || document.write('<script src="{% static 'js/vendor/jquery-1.11.2.min.js' %}"><\/script>')</script>
  77. <script src="{% static 'js/vendor/bootstrap.min.js' %}"></script>
  78. <script src="{% static 'js/main.js' %}"></script>
  79. <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
  80. <script>
  81. (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
  82. function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
  83. e=o.createElement(i);r=o.getElementsByTagName(i)[0];
  84. e.src='//www.google-analytics.com/analytics.js';
  85. r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
  86. ga('create','UA-XXXXX-X','auto');ga('send','pageview');
  87. </script>
  88. </body>
  89. </html>