-
Notifications
You must be signed in to change notification settings - Fork 5
/
search.html
24 lines (21 loc) · 956 Bytes
/
search.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% ckan_extends %}
{% block secondary_content %}
{% resource 'ckanext-datesearch/moment.js' %}
{% resource 'ckanext-datesearch/daterangepicker.js' %}
{% resource 'ckanext-datesearch/daterangepicker-bs3.css' %}
{% resource 'ckanext-datesearch/daterangepicker-module.js' %}
{# This <section> is the date-range picker widget in the sidebar. #}
<section class="module module-narrow module-shallow">
<h2 class="module-heading">
<i class="icon-medium icon-calendar"></i> {{ _('Filter by date') }}
<a href="{{ h.remove_url_param(['ext_startdate', 'ext_enddate']) }}"
class="action">{{ _('Clear') }}</a>
</h2>
<div class="module-content input-prepend" data-module="daterange-query">
<span class="add-on"><i class="icon-calendar"></i></span>
<input type="text" style="width: 150px" id="daterange"
data-module="daterangepicker-module" />
</div>
</section>
{{ super() }}
{% endblock %}