1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00

(feat) use switch instant of checkbox in show slots unavailables calendar filter

This commit is contained in:
Du Peng 2023-01-03 15:26:32 +01:00
parent 504ae64607
commit e7615b70a6

View File

@ -13,8 +13,18 @@
</div>
</div>
<div class="row">
<h3 class="col-md-11 col-sm-11 col-xs-11 text-black" translate>{{ 'app.shared.calendar.show_unavailables' }}</h3>
<input class="col-md-1 col-sm-1 col-xs-1" type="checkbox" ng-model="filter.dispo" ng-change="filterAvailabilities(filter)">
<h3 class="col-md-8 col-sm-8 col-xs-8 text-black" translate>{{ 'app.shared.calendar.show_unavailables' }}</h3>
<div class="col-md-4 col-sm-4 col-xs-4">
<input bs-switch
ng-model="filter.dispo"
type="checkbox"
switch-size="small"
switch-on-text="{{ 'app.shared.buttons.yes' | translate }}"
switch-off-text="{{ 'app.shared.buttons.no' | translate }}"
switch-animate="true"
ng-change="filterAvailabilities(filter)"
switch-animate="true"/>
</div>
</div>
<div class="m-t" ng-show="$root.modules.trainings">
<div class="row">