]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
template: Add bootstrap to the base template
authorDamien Lespiau <damien.lespiau@intel.com>
Sun, 31 Aug 2014 21:42:24 +0000 (22:42 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 5 Nov 2015 03:51:30 +0000 (03:51 +0000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
templates/base.html

index 72dab3424f8662b585d303ca4b8281384996f706..0a2ced302a9672cf522c5e8d4907aa99b67422a5 100644 (file)
@@ -5,9 +5,18 @@
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
   <title>{% block title %}Patchwork{% endblock %} - Patchwork</title>
+  <link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.min.css" %}"/>
   <link rel="stylesheet" type="text/css" href="{% static "css/style.css" %}"/>
   <script type="text/javascript" src="{% static "js/common.js" %}"></script>
   <script type="text/javascript" src="{% static "js/jquery-1.10.1.min.js" %}"></script>
+  <!-- IE8 support of HTML5 elements and media queries -->
+  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+  <!--[if lt IE 9]>
+    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js">
+    </script>
+    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+  <![endif]-->
+  <script type="text/javascript" src="{% static "js/bootstrap.min.js" %}"></script>
 {% block headers %}{% endblock %}
  </head>
  <body>