summaryrefslogtreecommitdiff
path: root/templates/user_shifts.html
diff options
context:
space:
mode:
authorJan-Philipp Litza <janphilipp@litza.de>2012-12-30 15:06:52 +0100
committerJan-Philipp Litza <janphilipp@litza.de>2012-12-30 15:06:52 +0100
commitde695c0fe49c2a56cc46460640412b67fefc090f (patch)
tree6ed9a31698942d927eb9a461dcfbf1ca93f09237 /templates/user_shifts.html
parent0d47caa09ba5837698f4974e1b291a297a8e935b (diff)
make shifts filterable by timespan instead of days and enable new view for arbitrary timespans
Diffstat (limited to 'templates/user_shifts.html')
-rw-r--r--templates/user_shifts.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/user_shifts.html b/templates/user_shifts.html
index 927f3cca..543d8911 100644
--- a/templates/user_shifts.html
+++ b/templates/user_shifts.html
@@ -1,9 +1,12 @@
<form action="#shifts" type="get">
<fieldset class="form" id="filter"><legend>Filter</legend>
+<div>
+%start_select% <input type="time" name="start_time" size="5" pattern="^\d{1,2}:\d{2}$" placeholder="HH:MM" maxlength="5" value="%start_time%">
+&#8211; %end_select% <input type="time" name="end_time" size="5" pattern="^\d{1,2}:\d{2}$" placeholder="HH:MM" maxlength="5" value="%end_time%">
+</div>
<input type="hidden" name="p" value="user_shifts">
%room_select%
%type_select%
-%day_select%
%filled_select%
<div>%task_notice%</div>
<div>%new_style_checkbox%</div>