2021-10-25 08:26:12 +02:00
|
|
|
<div class="modal fade" role="dialog" aria-modal="true" attr.aria-label="{{ 'settings' | i18n }}">
|
2019-04-02 05:27:54 +02:00
|
|
|
<div class="modal-dialog" role="document">
|
2018-02-02 18:31:21 +01:00
|
|
|
<form class="modal-content" (ngSubmit)="submit()">
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-header">
|
|
|
|
{{ "selfHostedEnvironment" | i18n }}
|
|
|
|
</div>
|
|
|
|
<div class="box-content">
|
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="baseUrl">{{ "baseUrl" | i18n }}</label>
|
2021-11-23 23:03:43 +01:00
|
|
|
<input
|
|
|
|
id="baseUrl"
|
|
|
|
type="text"
|
2018-08-20 22:23:55 +02:00
|
|
|
name="BaseUrl"
|
2021-11-23 23:03:43 +01:00
|
|
|
[(ngModel)]="baseUrl"
|
2018-02-02 18:31:21 +01:00
|
|
|
placeholder="{{ 'ex' | i18n }} https://bitwarden.company.com"
|
2021-11-23 23:03:43 +01:00
|
|
|
appInputVerbatim
|
2018-02-02 18:31:21 +01:00
|
|
|
/>
|
|
|
|
</div>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
2018-02-02 18:31:21 +01:00
|
|
|
<div class="box-footer">
|
2019-04-02 04:43:42 +02:00
|
|
|
{{ "selfHostedEnvironmentFooter" | i18n }}
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-04-02 04:43:42 +02:00
|
|
|
<div class="box">
|
|
|
|
<div class="box-header">
|
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
(click)="toggleCustom()"
|
|
|
|
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
|
2021-12-20 15:47:17 +01:00
|
|
|
>
|
2019-04-02 04:56:28 +02:00
|
|
|
<i class="fa fa-plus-square-o" [hidden]="showCustom" aria-hidden="true"></i>
|
|
|
|
<i class="fa fa-minus-square-o" [hidden]="!showCustom" aria-hidden="true"></i>
|
2018-02-02 18:31:21 +01:00
|
|
|
{{ "customEnvironment" | i18n }}
|
|
|
|
</button>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
2018-02-02 18:31:21 +01:00
|
|
|
<div class="box-content" [hidden]="!showCustom">
|
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="webVaultUrl">{{ "webVaultUrl" | i18n }}</label>
|
|
|
|
<input
|
2021-11-23 23:03:43 +01:00
|
|
|
id="webVaultUrl"
|
2018-02-02 18:31:21 +01:00
|
|
|
type="text"
|
2021-11-23 23:03:43 +01:00
|
|
|
name="WebVaultUrl"
|
2018-02-02 18:31:21 +01:00
|
|
|
[(ngModel)]="webVaultUrl"
|
|
|
|
appInputVerbatim
|
2021-12-20 15:47:17 +01:00
|
|
|
/>
|
2018-02-02 18:31:21 +01:00
|
|
|
</div>
|
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="apiUrl">{{ "apiUrl" | i18n }}</label>
|
2021-11-23 23:03:43 +01:00
|
|
|
<input id="apiUrl" type="text" name="ApiUrl" [(ngModel)]="apiUrl" appInputVerbatim />
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
2018-02-02 18:31:21 +01:00
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="identityUrl">{{ "identityUrl" | i18n }}</label>
|
2021-12-20 15:47:17 +01:00
|
|
|
<input
|
2021-11-23 23:03:43 +01:00
|
|
|
id="identityUrl"
|
|
|
|
type="text"
|
|
|
|
name="IdentityUrl"
|
|
|
|
[(ngModel)]="identityUrl"
|
|
|
|
appInputVerbatim
|
2021-12-20 15:47:17 +01:00
|
|
|
/>
|
|
|
|
</div>
|
2018-02-02 18:31:21 +01:00
|
|
|
<div class="box-content-row" appBoxRow>
|
2018-08-20 22:23:55 +02:00
|
|
|
<label for="notificationsUrl">{{ "notificationsUrl" | i18n }}</label>
|
2021-12-20 15:47:17 +01:00
|
|
|
<input
|
2018-08-20 22:23:55 +02:00
|
|
|
id="notificationsUrl"
|
2021-11-23 23:03:43 +01:00
|
|
|
type="text"
|
2018-08-20 22:23:55 +02:00
|
|
|
name="NotificationsUrl"
|
2021-11-23 23:03:43 +01:00
|
|
|
[(ngModel)]="notificationsUrl"
|
|
|
|
appInputVerbatim
|
2021-12-20 15:47:17 +01:00
|
|
|
/>
|
|
|
|
</div>
|
2018-02-02 18:31:21 +01:00
|
|
|
<div class="box-content-row" appBoxRow>
|
2018-08-20 22:23:55 +02:00
|
|
|
<label for="iconsUrl">{{ "iconsUrl" | i18n }}</label>
|
2021-12-20 15:47:17 +01:00
|
|
|
<input
|
2021-11-23 23:03:43 +01:00
|
|
|
id="iconsUrl"
|
|
|
|
type="text"
|
|
|
|
name="IconsUrl"
|
|
|
|
[(ngModel)]="iconsUrl"
|
|
|
|
appInputVerbatim
|
2021-12-20 15:47:17 +01:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-02 18:31:21 +01:00
|
|
|
<div class="box-footer" [hidden]="!showCustom">
|
|
|
|
{{ "customEnvironmentFooter" | i18n }}
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-02 18:31:21 +01:00
|
|
|
<div class="modal-footer">
|
2019-04-02 05:08:54 +02:00
|
|
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{ 'save' | i18n }}">
|
|
|
|
<i class="fa fa-save fa-lg fa-fw" aria-hidden="true"></i>
|
2018-02-02 18:31:21 +01:00
|
|
|
</button>
|
2019-04-02 05:08:54 +02:00
|
|
|
<button type="button" data-dismiss="modal">{{ "close" | i18n }}</button>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
2018-02-02 18:31:21 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|