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.html 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="{% block language %}en-gb{% endblock %}">
  3. <head>
  4. <title>{% block title %}Oscar :: Flexible ecommerce for Django{% 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. {% block extrahead %}{% endblock %}
  20. </head>
  21. <body id="{% block body_id %}default{% endblock %}" class="{% block body_class %}default{% endblock %}">
  22. {% block layout %}{% endblock %}
  23. {% block tracking %}
  24. {% if not debug and not request.user.is_staff %}
  25. <!-- Tracking to go here. -->
  26. {% endif %}
  27. {% endblock %}
  28. <!-- Jquery -->
  29. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  30. <script>window.jQuery || document.write('<script src="{{ STATIC_URL }}js/jquery/jquery-1.7.1.min.js"><\/script>')</script>
  31. <script src="{{ STATIC_URL }}js/jquery/jquery.easing.1.3.js" type="text/javascript" charset="utf-8"></script>
  32. <!-- Bootstrap -->
  33. <script type="text/javascript" src="{{ STATIC_URL }}js/bootstrap/bootstrap.min.js"></script>
  34. {# Block for additional scripts #}
  35. {% block extrascripts %}{% endblock %}
  36. <script type="text/javascript">
  37. $(function(){
  38. {% block onbodyload %}
  39. {% endblock %}
  40. });
  41. </script>
  42. </body>
  43. </html>