aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/admin/exordefects/index.html17
-rw-r--r--templates/web/base/common_header_tags.html4
-rw-r--r--templates/web/base/common_scripts.html1
3 files changed, 10 insertions, 12 deletions
diff --git a/templates/web/base/admin/exordefects/index.html b/templates/web/base/admin/exordefects/index.html
index dba58198d..65b2aa486 100644
--- a/templates/web/base/admin/exordefects/index.html
+++ b/templates/web/base/admin/exordefects/index.html
@@ -6,26 +6,29 @@
[% END %]
<form method="get" action="[% c.uri_for('download') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
+ <div class="filters">
<p>
- <label for="start_date">[% ('Start Date:') %]</label><input type="text" class="form-control"
- placeholder="[% ('Click here or enter as dd/mm/yyyy') %]" name="start_date" id="start_date"
- value="[% start_date ? start_date.strftime( '%d/%m/%Y') : '' | html %]" />
+ <label for="start_date">[% ('Start Date:') %]</label><input type="date" class="form-control"
+ name="start_date" id="start_date"
+ value="[% start_date ? start_date.strftime( '%Y-%m-%d') : '' | html %]" />
</p>
<p>
- <label for="end_date">[% ('End Date:') %]</label><input type="text" class="form-control"
- placeholder="[% ('Click here or enter as dd/mm/yyyy') %]" name="end_date" id="end_date" size="5"
- value="[% end_date ? end_date.strftime( '%d/%m/%Y') : '' | html %]" />
+ <label for="end_date">[% ('End Date:') %]</label><input type="date" class="form-control"
+ name="end_date" id="end_date" size="5"
+ value="[% end_date ? end_date.strftime( '%Y-%m-%d') : '' | html %]" />
</p>
<p>
- [% ('Inspector:') %] <select class="form-control" id='user_id' name='user_id'>
+ <label for="user_id">[% ('Inspector:') %]</label>
+ <select class="form-control" id='user_id' name='user_id'>
<option value=''>[% ('All inspectors') %]</option>
[% FOR inspector IN inspectors %]
<option value="[% inspector.id %]" [% 'selected' IF user_id == inspector.id %]>[% inspector.name %] ([% inspector.get_extra_metadata('initials') %])</option>
[% END %]
</select>
</p>
+ </div>
<p>
<input type="submit" class="btn" size="30" value="Download RDI file" />
diff --git a/templates/web/base/common_header_tags.html b/templates/web/base/common_header_tags.html
index 151fe2c1c..749a4f740 100644
--- a/templates/web/base/common_header_tags.html
+++ b/templates/web/base/common_header_tags.html
@@ -17,10 +17,6 @@
(function(b){var a=b.documentElement;a.className=a.className.replace(/\bno-js\b/,"js");var c=-1<a.className.indexOf("iel8"),c=Modernizr.mq("(min-width: 48em)")||c?"desktop":"mobile";b=b.getElementById("js-meta-data");fixmystreet.page=b.getAttribute("data-page");fixmystreet.cobrand=b.getAttribute("data-cobrand");"mobile"==c&&(a.className+=" mobile","around"==fixmystreet.page&&(a.className+=" map-fullscreen only-map map-reporting"))})(document);
</script>
-[% IF admin %]
- <link rel="stylesheet" href="[% version('/vendor/jquery-ui/css/smoothness/jquery-ui-1.10.3.custom.min.css') %]">
-[% END %]
-
[% IF robots %]
<meta name="robots" content="[% robots %]">
[% ELSIF c.config.STAGING_SITE %]
diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html
index 86e826b18..cf9692128 100644
--- a/templates/web/base/common_scripts.html
+++ b/templates/web/base/common_scripts.html
@@ -66,7 +66,6 @@ END;
IF admin;
scripts.push(
- version('/vendor/jquery-ui/js/jquery-ui-1.10.3.custom.min.js'),
version('/cobrands/fixmystreet/admin.js'),
);
END;