[PATCH 03/51] template: Add bootstrap to the base template

Damien Lespiau damien.lespiau at intel.com
Tue Aug 25 04:22:52 AEST 2015


Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 templates/base.html | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/templates/base.html b/templates/base.html
index 48ea4f0..3d07504 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -6,9 +6,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>
-- 
2.1.0



More information about the Patchwork mailing list