2018-02-02 18:31:21 +01:00
|
|
|
<div class="modal fade">
|
2018-02-24 19:45:41 +01:00
|
|
|
<div class="modal-dialog">
|
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>
|
|
|
|
<input id="baseUrl" type="text" name="BaseUrl" [(ngModel)]="baseUrl"
|
2018-05-02 18:29:37 +02:00
|
|
|
placeholder="{{'ex' | i18n}} https://bitwarden.company.com">
|
2018-02-02 18:31:21 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box-footer">
|
|
|
|
{{'selfHostedEnvironmentFooter' | i18n}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-header">
|
|
|
|
<button type="button" (click)="toggleCustom()">
|
|
|
|
<i class="fa fa-plus-square-o" [hidden]="showCustom"></i>
|
|
|
|
<i class="fa fa-minus-square-o" [hidden]="!showCustom"></i>
|
|
|
|
{{'customEnvironment' | i18n}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="box-content" [hidden]="!showCustom">
|
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="webVaultUrl">{{'webVaultUrl' | i18n}}</label>
|
|
|
|
<input id="webVaultUrl" type="text" name="WebVaultUrl" [(ngModel)]="webVaultUrl">
|
|
|
|
</div>
|
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="apiUrl">{{'apiUrl' | i18n}}</label>
|
|
|
|
<input id="apiUrl" type="text" name="ApiUrl" [(ngModel)]="apiUrl">
|
|
|
|
</div>
|
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="identityUrl">{{'identityUrl' | i18n}}</label>
|
|
|
|
<input id="identityUrl" type="text" name="IdentityUrl" [(ngModel)]="identityUrl">
|
|
|
|
</div>
|
2018-08-20 22:23:55 +02:00
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="notificationsUrl">{{'notificationsUrl' | i18n}}</label>
|
|
|
|
<input id="notificationsUrl" type="text" name="NotificationsUrl"
|
|
|
|
[(ngModel)]="notificationsUrl">
|
|
|
|
</div>
|
2018-02-02 18:31:21 +01:00
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="iconsUrl">{{'iconsUrl' | i18n}}</label>
|
|
|
|
<input id="iconsUrl" type="text" name="IconsUrl" [(ngModel)]="iconsUrl">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box-footer" [hidden]="!showCustom">
|
|
|
|
{{'customEnvironmentFooter' | i18n}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2019-04-02 04:43:42 +02:00
|
|
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}">
|
2018-02-02 18:31:21 +01:00
|
|
|
<i class="fa fa-save fa-lg fa-fw"></i>
|
|
|
|
</button>
|
|
|
|
<button type="button" data-dismiss="modal">{{'close' | i18n}}</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|