[PATCH 24/46] base: Add selectize to the base template

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


The only tricky thing is the inclusion of the EcmaScript shim for IE8.

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

diff --git a/templates/base.html b/templates/base.html
index 31b2598..b7e0588 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -5,6 +5,7 @@
   <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/selectize.bootstrap3.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">
@@ -17,10 +18,12 @@
     <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>
+    <script src="http://cdnjs.cloudflare.com/ajax/libs/es5-shim/2.0.8/es5-shim.min.js"></script>
   <![endif]-->
   <script language="JavaScript" type="text/javascript"
-    src="/js/bootstrap.min.js">
-  </script>
+    src="/js/bootstrap.min.js"></script>
+  <script language="JavaScript" type="text/javascript"
+    src="/js/selectize.min.js"></script>
 {% block headers %}{% endblock %}
  </head>
  <body>
-- 
1.8.3.1



More information about the Patchwork mailing list