summaryrefslogtreecommitdiff
path: root/templates/user_shifts.html
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2018-01-22 20:39:08 +0100
committerGitHub <noreply@github.com>2018-01-22 20:39:08 +0100
commit46431e44088baa8f860b217dadc31dbb72de34b3 (patch)
tree9a447060f9f58983b6d96ccda9a25a7fa58281ed /templates/user_shifts.html
parent5ab7084896a7c10b62bd424f900c8b04f4bb6df9 (diff)
parentd3fd3c427d1f6f666ec3b2857104695df705eb70 (diff)
Merge pull request #417 from jbeyerstedt/feature/collapse-filters
shifts view: add button to collapse the filters
Diffstat (limited to 'templates/user_shifts.html')
-rw-r--r--templates/user_shifts.html17
1 files changed, 13 insertions, 4 deletions
diff --git a/templates/user_shifts.html b/templates/user_shifts.html
index 83458529..2fdade29 100644
--- a/templates/user_shifts.html
+++ b/templates/user_shifts.html
@@ -60,13 +60,22 @@
</div>
</div>
</div>
- <div class="col-md-2 col-xs-4 col-xxs-12">%room_select%</div>
- <div class="col-md-2 col-xs-4 col-xxs-12">%type_select%</div>
- <div class="col-md-2 col-xs-4 col-xxs-12">%filled_select%</div>
+ <div class="col-md-6">
+ <button class="btn btn-info btn-sm" style="margin-top: 20px; margin-bottom:10px" type="button" data-toggle="collapse"
+ data-target="#collapseRoomSelect" aria-expanded="false"
+ aria-controls="collapseRoomSelect">
+ collapse/show filters
+ </button>
+ <div class="collapse in row" id="collapseRoomSelect">
+ <div class="col-xs-4 col-xxs-12">%room_select%</div>
+ <div class="col-xs-4 col-xxs-12">%type_select%</div>
+ <div class="col-xs-4 col-xxs-12">%filled_select%</div>
+ <div class="col-sm-12"><p>%task_notice%</p></div>
+ </div>
+ </div>
</div>
<div class="row">
<div class="col-md-12">
- <div><p>%task_notice%</p></div>
<input class="btn btn-primary" type="submit" style="width:75%; margin-bottom: 20px" value="%filter%">
</div>
</div>