Skip to content

Commit

Permalink
Update NtpAdminView.vue
Browse files Browse the repository at this point in the history
Pretty print:  Converted Tabs to Spaces
  • Loading branch information
OFreddy committed Dec 25, 2023
1 parent 2c345c0 commit 5b622fe
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions webapp/src/views/NtpAdminView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,28 @@
</div>
</CardElement>
<CardElement :text="$t('ntpadmin.Deepsleep')" textVariant="text-bg-primary" add-space>
<div class="row mb-3">
<label class="col-sm-2 form-check-label" for="inputDeepsleep">{{ $t('ntpadmin.EnableDeepsleep') }}</label>
<div class="col-sm-10">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="inputDeepsleep"
v-model="ntpConfigList.deepsleep" />
</div>
</div>
</div>

<div class="row mb-3">
<label for="inputDeepsleeptime" class="col-sm-2 col-form-label">{{ $t('ntpadmin.DeepsleepTime') }}</label>
<div class="col-sm-10">
<div class="input-group">
<input type="number" class="form-control" id="inputDeepsleeptime" min="0" max="300"
placeholder="Deepsleep duration in seconds"
v-model="ntpConfigList.deepsleeptime"
aria-describedby="deepsleeptimeDescription" />
<span class="input-group-text" id="deepsleeptimeDescription">{{ $t('ntpadmin.Seconds') }}</span>
</div>
</div>
</div>
<div class="row mb-3">
<label class="col-sm-2 form-check-label" for="inputDeepsleep">{{ $t('ntpadmin.EnableDeepsleep') }}</label>
<div class="col-sm-10">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="inputDeepsleep"
v-model="ntpConfigList.deepsleep" />
</div>
</div>
</div>

<div class="row mb-3">
<label for="inputDeepsleeptime" class="col-sm-2 col-form-label">{{ $t('ntpadmin.DeepsleepTime') }}</label>
<div class="col-sm-10">
<div class="input-group">
<input type="number" class="form-control" id="inputDeepsleeptime" min="0" max="300"
placeholder="Deepsleep duration in seconds"
v-model="ntpConfigList.deepsleeptime"
aria-describedby="deepsleeptimeDescription" />
<span class="input-group-text" id="deepsleeptimeDescription">{{ $t('ntpadmin.Seconds') }}</span>
</div>
</div>
</div>
</CardElement>

<FormFooter @reload="getNtpConfig"/>
Expand Down

0 comments on commit 5b622fe

Please sign in to comment.