You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base_dashboard.html 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html>
  2. <html lang="{% block language %}en-gb{% endblock %}">
  3. <head>
  4. <title>{% block title %}Oscar :: Dashboard{% endblock %}</title>
  5. <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
  6. <meta name="created" content='{% now "jS M Y h:i" %}' />
  7. <meta name="description" content="{% block description %}{% endblock %}" />
  8. <meta name="keywords" content="{% block keywords %}{% endblock %}" />
  9. <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
  10. <!--[if lt IE 9]>
  11. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  12. <![endif]-->
  13. <!--[if lt IE 8]>
  14. <script src="{{ STATIC_URL }}js/snowcone/snowcone.js"></script>
  15. <![endif]-->
  16. <link rel="shortcut icon" href="{{ STATIC_URL }}favicon.ico" />
  17. <!-- Main styles - will need to be minified -->
  18. <link rel="stylesheet" href="{{ STATIC_URL }}css/styles.css" />
  19. <link rel="stylesheet" href="{{ STATIC_URL }}css/dashboard.css" />
  20. {% block extrahead %}{% endblock %}
  21. </head>
  22. <body id="{% block body_id %}default{% endblock %}" class="{% block body_class %}default{% endblock %}">
  23. {% block layout %}{% endblock %}
  24. {% block tracking %}
  25. {% if not debug and not request.user.is_staff %}
  26. <!-- Tracking to go here. -->
  27. {% endif %}
  28. {% endblock %}
  29. <!-- Jquery -->
  30. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  31. <script>window.jQuery || document.write('<script src="{{ STATIC_URL }}js/jquery/jquery-1.7.1.min.js"><\/script>')</script>
  32. <script src="{{ STATIC_URL }}js/jquery/jquery.easing.1.3.js" type="text/javascript" charset="utf-8"></script>
  33. <!-- Bootstrap -->
  34. <script type="text/javascript" src="{{ STATIC_URL }}js/bootstrap/bootstrap.min.js"></script>
  35. <!-- Front end js -->
  36. <script src="{{ STATIC_URL }}js/oscar/dashboard.js" type="text/javascript" charset="utf-8"></script>
  37. {# Block for additional scripts #}
  38. {% block extrascripts %}{% endblock %}
  39. {# Block to allow pages to define which js functions get loaded #}
  40. <script type="text/javascript">
  41. $(function(){
  42. {% block onbodyload %}
  43. {% endblock %}
  44. });
  45. </script>
  46. </body>
  47. </html>