]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
base: Add selectize to the base template
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 29 Sep 2014 23:50:19 +0000 (00:50 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 5 Nov 2015 03:51:37 +0000 (03:51 +0000)
The only tricky thing is the inclusion of the EcmaScript shim for IE8.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
templates/base.html

index 3f1d363e9a1f50d9ec9d9f5f5a773b542fb3c9e2..a0b6244a4abe7e8aad369d0f83d8a459680e9b65 100644 (file)
@@ -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>
     <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>