2022-08-18 11:28:37 +02:00
|
|
|
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="selfHosteEnvironmentTitle">
|
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">
|
2022-08-18 11:28:37 +02:00
|
|
|
<h1 class="box-header" id="selfHosteEnvironmentTitle">
|
2018-02-02 18:31:21 +01:00
|
|
|
{{ "selfHostedEnvironment" | i18n }}
|
2022-08-18 11:28:37 +02:00
|
|
|
</h1>
|
2018-02-02 18:31:21 +01:00
|
|
|
<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">
|
2022-08-18 11:28:37 +02:00
|
|
|
<h2 class="box-header">
|
2022-03-27 15:04:45 +02:00
|
|
|
<button type="button" (click)="toggleCustom()" [attr.aria-expanded]="showCustom">
|
2022-12-15 15:13:09 +01:00
|
|
|
<i
|
|
|
|
class="bwi bwi-lg"
|
|
|
|
aria-hidden="true"
|
|
|
|
[ngClass]="{ 'bwi-angle-right': !showCustom, 'bwi-angle-down': showCustom }"
|
|
|
|
></i>
|
2018-02-02 18:31:21 +01:00
|
|
|
{{ "customEnvironment" | i18n }}
|
|
|
|
</button>
|
2022-08-18 11:28:37 +02:00
|
|
|
</h2>
|
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">
|
2022-05-05 16:36:46 +02:00
|
|
|
<button type="submit" class="primary" appA11yTitle="{{ 'save' | i18n }}">
|
2022-01-27 18:21:53 +01:00
|
|
|
<i class="bwi bwi-save-changes bwi-lg bwi-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>
|