summaryrefslogtreecommitdiff
path: root/templates/user_shifts.html
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-11-29 15:24:30 +0100
committerGitHub <noreply@github.com>2017-11-29 15:24:30 +0100
commit968b7197ceb407ecfa0a59cdef8fe47344633489 (patch)
treee0bd17887f043231202ab5e31fa2342f8f8242bd /templates/user_shifts.html
parent599f2fd264bfc7b1b6826fe206442806e317340f (diff)
parentb29e23f0864edad3c20716581de73e81c335b615 (diff)
Merge pull request #367 from MyIgel/master
Feature: Time Interval Buttons (on Shifts page), closes #366
Diffstat (limited to 'templates/user_shifts.html')
-rw-r--r--templates/user_shifts.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/user_shifts.html b/templates/user_shifts.html
index c3fb7718..446c4b82 100644
--- a/templates/user_shifts.html
+++ b/templates/user_shifts.html
@@ -41,6 +41,19 @@
</div>
</div>
</div>
+ <div class="form-group" style="margin-top: .5em">
+ <div class="btn-group">
+ <a href="javascript:setDay(-1)" class="btn btn-default ">%set_yesterday%</a>
+ <a href="javascript:setDay()" class="btn btn-default ">%set_today%</a>
+ <a href="javascript:setDay(1)" class="btn btn-default ">%set_tomorrow%</a>
+ </div>
+ <div class="btn-group">
+ <a href="javascript:setHours(-8)" class="btn btn-default ">%set_last_8h%</a>
+ <a href="javascript:setHours(-4)" class="btn btn-default ">%set_last_4h%</a>
+ <a href="javascript:setHours(4)" class="btn btn-default ">%set_next_4h%</a>
+ <a href="javascript:setHours(8)" class="btn btn-default ">%set_next_8h%</a>
+ </div>
+ </div>
</div>
<div class="col-md-2">%room_select%</div>
<div class="col-md-2">%type_select%</div>