[PATCH 23/51] base: Add selectize to the base template

Damien Lespiau damien.lespiau at intel.com
Tue Aug 25 04:23:12 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>
---
 templates/base.html | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates/base.html b/templates/base.html
index cef0671..8d9ff75 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,6 +7,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>
@@ -16,8 +17,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