shifts view: add button to collapse the filters

This commit is contained in:
Jannik Beyerstedt 2018-01-01 22:16:41 +01:00
parent d012468529
commit d3fd3c427d
1 changed files with 13 additions and 4 deletions

View File

@ -60,13 +60,22 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-md-2 col-xs-4 col-xxs-12">%room_select%</div> <div class="col-md-6">
<div class="col-md-2 col-xs-4 col-xxs-12">%type_select%</div> <button class="btn btn-info btn-sm" style="margin-top: 20px; margin-bottom:10px" type="button" data-toggle="collapse"
<div class="col-md-2 col-xs-4 col-xxs-12">%filled_select%</div> 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>
<div class="row"> <div class="row">
<div class="col-md-12"> <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%"> <input class="btn btn-primary" type="submit" style="width:75%; margin-bottom: 20px" value="%filter%">
</div> </div>
</div> </div>