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

Damien Lespiau damien.lespiau at intel.com
Sun Nov 9 06:08:21 AEDT 2014


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

diff --git a/templates/base.html b/templates/base.html
index b337106..42ecb28 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -4,12 +4,23 @@
  <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="/css/bootstrap.min.css"/>
   <link rel="stylesheet" type="text/css" href="/css/style.css"/>
   <script language="JavaScript" type="text/javascript"
    src="/js/jquery-1.10.1.min.js">
   </script>
   <script language="JavaScript" type="text/javascript" src="/js/common.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 language="JavaScript" type="text/javascript"
+    src="/js/bootstrap.min.js">
+  </script>
 {% block headers %}{% endblock %}
  </head>
  <body>
-- 
1.8.3.1



More information about the Patchwork mailing list