[PATCH 22/49] base: Add selectize to the base template

Damien Lespiau damien.lespiau at intel.com
Fri Oct 2 00:12:27 AEST 2015


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

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

diff --git a/templates/base.html b/templates/base.html
index 3f1d363..a0b6244 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -6,6 +6,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="{% static "css/bootstrap.min.css" %}"/>
+  <link rel="stylesheet" type="text/css" href="{% static "css/selectize.bootstrap3.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>
@@ -15,8 +16,10 @@
     <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 type="text/javascript" src="{% static "js/bootstrap.min.js" %}"></script>
+  <script type="text/javascript" src="{% static "js/selectize.min.js" %}"></script>
 {% block headers %}{% endblock %}
  </head>
  <body>
-- 
2.1.0



More information about the Patchwork mailing list