1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-09 09:51:02 +01:00
bitwarden-browser/apps/desktop/src/app/accounts/environment.component.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

97 lines
3.6 KiB
HTML
Raw Normal View History

<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">
<h1 class="box-header" id="selfHosteEnvironmentTitle">
2018-02-02 18:31:21 +01:00
{{ "selfHostedEnvironment" | i18n }}
</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>
<input
id="baseUrl"
type="text"
2018-08-20 22:23:55 +02:00
name="BaseUrl"
[(ngModel)]="baseUrl"
2018-02-02 18:31:21 +01:00
placeholder="{{ 'ex' | i18n }} https://bitwarden.company.com"
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">
<h2 class="box-header">
<button type="button" (click)="toggleCustom()" [attr.aria-expanded]="showCustom">
<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>
</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
id="webVaultUrl"
2018-02-02 18:31:21 +01:00
type="text"
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>
<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
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"
type="text"
2018-08-20 22:23:55 +02:00
name="NotificationsUrl"
[(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
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">
<button type="submit" class="primary" appA11yTitle="{{ 'save' | i18n }}">
<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>