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

improve layout for settings

This commit is contained in:
Sylvain 2020-06-02 12:14:53 +02:00
parent 075b642cc8
commit ee3868cb90

View File

@ -43,37 +43,35 @@
</div> </div>
<div class="section-separator"></div> <div class="section-separator"></div>
<div class="row"> <div class="row">
<div class="col-md-6"> <h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_move_their_reservations' }}</h3>
<div class="row">
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_move_their_reservations' }}</h3>
<boolean-setting name="booking_move_enable" settings="allSettings" label="app.admin.settings.reservations_shifting" classes="m-l"></boolean-setting>
</div>
<div class="row" ng-show="allSettings.booking_move_enable === 'true'">
<number-setting name="booking_move_delay"
settings="allSettings"
label="app.admin.settings.prior_period_hours"
classes="col-md-8"
fa-icon="fa-clock-o"
min="0"
required="allSettings.booking_move_enable === 'true'">
</number-setting>
</div>
</div>
<div class="col-md-6"> <div class="col-md-6">
<div class="row"> <boolean-setting name="booking_move_enable" settings="allSettings" label="app.admin.settings.reservations_shifting" classes="m-l"></boolean-setting>
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_cancel_their_reservations' }}</h3> </div>
<boolean-setting name="booking_cancel_enable" settings="allSettings" label="app.admin.settings.reservations_cancelling" classes="m-l"></boolean-setting> <div class="col-md-6" ng-show="allSettings.booking_move_enable === 'true'">
</div> <number-setting name="booking_move_delay"
<div class="row" ng-show="allSettings.booking_cancel_enable === 'true'"> settings="allSettings"
<number-setting name="booking_cancel_delay" label="app.admin.settings.prior_period_hours"
settings="allSettings" classes="col-md-8"
label="app.admin.settings.prior_period_hours" fa-icon="fa-clock-o"
classes="col-md-8" min="0"
fa-icon="fa-clock-o" required="allSettings.booking_move_enable === 'true'">
min="0" </number-setting>
required="allSettings.booking_cancel_enable === 'true'"> </div>
</number-setting> </div>
</div> <div class="row">
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_cancel_their_reservations' }}</h3>
<div class="col-md-6">
<boolean-setting name="booking_cancel_enable" settings="allSettings" label="app.admin.settings.reservations_cancelling" classes="m-l"></boolean-setting>
</div>
<div class="col-md-6" ng-show="allSettings.booking_cancel_enable === 'true'">
<number-setting name="booking_cancel_delay"
settings="allSettings"
label="app.admin.settings.prior_period_hours"
classes="col-md-8"
fa-icon="fa-clock-o"
min="0"
required="allSettings.booking_cancel_enable === 'true'">
</number-setting>
</div> </div>
</div> </div>
<div class="section-separator"></div> <div class="section-separator"></div>