base.html 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title> {% block title %}Page{% endblock %} | Osmium Bototest </title>
  8. {% load staticfiles %}
  9. <link rel="stylesheet" href="{% static 'js/jquery-ui/css/no-theme/jquery-ui-1.10.3.cutom.css' %}">
  10. <link rel="stylesheet" href="{% static 'css/font-icons/entypo/css/entypo.css' %}">
  11. <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic">
  12. <link rel="stylesheet" href="{% static 'css/bootstrap.css' %}">
  13. <link rel="stylesheet" href="{% static 'css/neon-theme.css' %}">
  14. <link rel="stylesheet" href="{% static 'css/neon-forms.css' %}">
  15. <link rel="stylesheet" href="{% static 'css/osmium-app.css' %}">
  16. <link rel="stylesheet" href="{% static 'css/bootstrap.css.map' %}">
  17. <link rel="shortcut icon" href="{% static 'images/favicon.ico' %}">
  18. <!--[if lt IE 9]><script src="{% static 'js/ie8-responsive-file-warning.js' %}"></script><![endif]-->
  19. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  20. <!--[if lt IE 9]>
  21. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  22. <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  23. <![endif]-->
  24. </head>
  25. <body class="page-body">
  26. <div class="container">
  27. <!-- Site Header -->
  28. <div class="header">
  29. <!-- Logo -->
  30. <a href="{% url 'home' %}">
  31. <img class="header-logo pull-left" src="{% static 'images-osmium/osmium-header-logo.png' %}">
  32. </a>
  33. <!-- Right Aligned Nav options -->
  34. <ul class="nav nav-pills pull-right account-nav">
  35. <!-- User Account dropdown -->
  36. <li>
  37. {% if user.is_authenticated %}
  38. <ul class="pull-left">
  39. <!-- Profile Info -->
  40. <li class="dropdown"><!-- add class "pull-right" if you want to place this from right -->
  41. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  42. {{ user }} <span class="caret"></span>
  43. </a>
  44. <ul class="dropdown-menu">
  45. <!-- Profile sub-links -->
  46. <li><a href="{% url 'auth_logout' %}"><i class="entypo-logout"></i>Logout</a></li>
  47. </ul>
  48. </li>
  49. </ul>
  50. {% else %}
  51. <a href="{% url 'auth_login' %}">Login</a>
  52. {% endif %}
  53. </li>
  54. </ul>
  55. <br>
  56. </div> <!-- End Header -->
  57. {% block content %}{% endblock %}
  58. {% block body %}{% endblock %}
  59. <!-- Footer -->
  60. <footer class="main">
  61. <strong>OsmiumBototest &copy; 2014 Chibwe Ltd</strong>
  62. </footer>
  63. </div> <!-- End Container -->
  64. <script src="{% static 'js/jquery-1.11.0.min.js' %}"></script>
  65. <script src="{% static 'js/bootstrap.js' %}"></script>
  66. <script src="{% static 'js/custom.js' %}"></script>
  67. <script>
  68. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  69. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  70. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  71. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  72. ga('create', 'UA-50462872-1', 'osmiumtables.com');
  73. ga('send', 'pageview');
  74. </script>
  75. {% block javascripts %}{% endblock javascripts %}
  76. </body>
  77. </html>