| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <modal-dialog class="user-settings-modal" |
| [visible]="visible$ | async" |
| [showCloseBtn]="true" |
| title="{{'userSettings.modalTitle' | translate}}" |
| (onCloseRequest)="handleCloseRequest($event)"> |
| <section class="user-settings-form-section"> |
| <form [formGroup]="form"> |
| <div class="checkbox"> |
| <div class="description">{{'userSettings.displayShortHostName.description' | translate}}</div> |
| |
| <input type="radio" [value]="false" name="displayShortHostNames" id="userSettingsDisplayLongHostNames" formControlName="displayShortHostNames" /> |
| <label class="radio" for="userSettingsDisplayLongHostNames"> |
| {{'userSettings.displayShortHostName.valueFalse' | translate}} |
| <span class="host-name-example">({{hostNameExample$ | async}})</span> |
| </label> |
| |
| <input type="radio" [value]="true" name="displayShortHostNames" id="userSettingsDisplayShortHostNames" formControlName="displayShortHostNames" /> |
| <label for="userSettingsDisplayShortHostNames" class="radio"> |
| {{'userSettings.displayShortHostName.valueTrue' | translate}} |
| <span class="host-name-example">({{hostNameExampleShort$ | async}})</span> |
| </label> |
| </div> |
| <div class="description">{{'userSettings.timeZone.description' | translate}}</div> |
| <time-zone-map-input [value]="timeZone$ | async" (onChange)="setTimeZoneValue($event)" formControlName="timeZone"></time-zone-map-input> |
| </form> |
| </section> |
| </modal-dialog> |