2021-09-15 20:02:46 +02:00
|
|
|
<app-callout type="info" *ngIf="vaultTimeoutPolicy">
|
2021-12-20 15:47:17 +01:00
|
|
|
{{ "vaultTimeoutPolicyInEffect" | i18n: vaultTimeoutPolicyHours:vaultTimeoutPolicyMinutes }}
|
2021-09-15 20:02:46 +02:00
|
|
|
</app-callout>
|
|
|
|
|
|
|
|
<div [formGroup]="form">
|
2021-12-20 15:47:17 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="vaultTimeout">{{ "vaultTimeout" | i18n }}</label>
|
|
|
|
<select
|
|
|
|
id="vaultTimeout"
|
|
|
|
name="VaultTimeout"
|
|
|
|
formControlName="vaultTimeout"
|
|
|
|
class="form-control"
|
|
|
|
appAutofocus
|
|
|
|
>
|
|
|
|
<option *ngFor="let o of vaultTimeouts" [ngValue]="o.value">{{ o.name }}</option>
|
|
|
|
</select>
|
|
|
|
<small class="form-text text-muted">{{ "vaultTimeoutDesc" | i18n }}</small>
|
|
|
|
</div>
|
|
|
|
<div class="form-group row" *ngIf="showCustom" formGroupName="custom">
|
|
|
|
<div class="col">
|
|
|
|
<label for="hours">{{ "hours" | i18n }}</label>
|
|
|
|
<input
|
|
|
|
id="hours"
|
|
|
|
class="form-control"
|
|
|
|
type="number"
|
|
|
|
min="0"
|
|
|
|
name="hours"
|
|
|
|
formControlName="hours"
|
|
|
|
/>
|
2021-09-15 20:02:46 +02:00
|
|
|
</div>
|
2021-12-20 15:47:17 +01:00
|
|
|
<div class="col">
|
|
|
|
<label for="minutes">{{ "minutes" | i18n }}</label>
|
|
|
|
<input
|
|
|
|
id="minutes"
|
|
|
|
class="form-control"
|
|
|
|
type="number"
|
|
|
|
min="0"
|
|
|
|
max="59"
|
|
|
|
name="minutes"
|
|
|
|
formControlName="minutes"
|
|
|
|
/>
|
2021-09-15 20:02:46 +02:00
|
|
|
</div>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group"></div>
|
|
|
|
<!-- Styling fix -->
|
2021-09-15 20:02:46 +02:00
|
|
|
</div>
|