Show UTC time offset and use better dropdown with search

This commit is contained in:
Johannes Zellner
2020-01-08 13:01:31 +01:00
parent 840b326187
commit 2fa9c89246
5 changed files with 1451 additions and 10 deletions

View File

@@ -264,18 +264,23 @@
<div class="card" style="margin-bottom: 15px;">
<div class="row">
<div class="col-md-8">
<div class="col-md-12">
<p>
The current timezone setting is <b>{{ timeZone.currentTimeZone }}</b>. This setting is used
The current timezone setting is <b>{{ timeZone.currentTimeZone.display }}</b>. This setting is used
for scheduling backup and update tasks.
</p>
<p class="text-danger" ng-show="timeZone.error"><br/>{{ timeZone.error }}</p>
</div>
<div class="col-md-4">
<select class="form-control" ng-model="timeZone.timeZone" ng-disabled="timeZone.busy" ng-options="zone for zone in timeZone.availableTimeZones"></select>
</div>
<div class="row">
<div class="col-md-12">
<multiselect class="pull-right" ng-model="timeZone.timeZone" ng-disabled="timeZone.busy" options="tz.display for tz in timeZone.availableTimeZones" data-multiple="false" filter-after-rows="5" scroll-after-rows="10"></multiselect>
</div>
</div>
<br/>
<div class="row">
<div class="col-md-6">
<span class="text-success text-bold" ng-show="timeZone.success && timeZone.timeZone === timeZone.currentTimeZone">Saved</span>