bitwarden-estensione-browser/src/popup/accounts/environment.component.html

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

105 lines
3.1 KiB
HTML
Raw Normal View History

<form #form (ngSubmit)="submit()">
<header>
<div class="left">
2018-04-05 04:59:42 +02:00
<a routerLink="/home">{{ "close" | i18n }}</a>
2021-12-21 15:43:35 +01:00
</div>
2021-11-02 23:28:53 +01:00
<h1 class="center">
<span class="title">{{ "appName" | i18n }}</span>
2021-12-21 15:43:35 +01:00
</h1>
<div class="right">
<button type="submit" appBlurClick [disabled]="form.loading">
<span [hidden]="form.loading">{{ "save" | i18n }}</span>
<i class="bwi bwi-spinner bwi-lg bwi-spin" [hidden]="!form.loading" aria-hidden="true"></i>
</button>
2021-12-21 15:43:35 +01:00
</div>
</header>
2018-04-05 16:29:11 +02:00
<content>
<div class="box">
2021-11-02 23:28:53 +01:00
<h2 class="box-header">
2018-04-05 16:29:11 +02:00
{{ "selfHostedEnvironment" | i18n }}
2021-12-21 15:43:35 +01:00
</h2>
2018-04-05 16:29:11 +02:00
<div class="box-content">
<div class="box-content-row" appBoxRow>
<label for="baseUrl">{{ "baseUrl" | i18n }}</label>
2021-12-21 15:43:35 +01:00
<input
2018-04-05 16:29:11 +02:00
id="baseUrl"
type="text"
name="BaseUrl"
[(ngModel)]="baseUrl"
2019-10-08 23:04:44 +02:00
placeholder="ex. https://bitwarden.company.com"
appInputVerbatim
2021-12-21 15:43:35 +01:00
/>
</div>
2021-12-21 15:43:35 +01:00
</div>
2021-11-02 23:28:53 +01:00
<div class="box-footer">
{{ "selfHostedEnvironmentFooter" | i18n }}
</div>
2021-11-02 23:28:53 +01:00
</div>
<div class="box">
<h2 class="box-header">
{{ "customEnvironment" | i18n }}
</h2>
2019-10-08 23:04:44 +02:00
<div class="box-content" [hidden]="!showCustom">
<div class="box-content-row" appBoxRow>
<label for="webVaultUrl">{{ "webVaultUrl" | i18n }}</label>
<input
id="webVaultUrl"
type="text"
2018-04-25 23:53:51 +02:00
name="WebVaultUrl"
2019-10-08 23:04:44 +02:00
[(ngModel)]="webVaultUrl"
inputmode="url"
appInputVerbatim
/>
</div>
2018-04-05 16:29:11 +02:00
<div class="box-content-row" appBoxRow>
<label for="apiUrl">{{ "apiUrl" | i18n }}</label>
<input
id="apiUrl"
type="text"
name="ApiUrl"
[(ngModel)]="apiUrl"
2019-10-08 23:04:44 +02:00
inputmode="url"
appInputVerbatim
/>
2018-04-05 16:29:11 +02:00
</div>
<div class="box-content-row" appBoxRow>
<label for="identityUrl">{{ "identityUrl" | i18n }}</label>
2018-04-25 23:53:51 +02:00
<input
id="identityUrl"
type="text"
name="IdentityUrl"
[(ngModel)]="identityUrl"
inputmode="url"
2019-10-08 23:04:44 +02:00
appInputVerbatim
2018-04-05 16:29:11 +02:00
/>
</div>
2018-04-05 16:29:11 +02:00
<div class="box-content-row" appBoxRow>
2018-08-20 23:40:39 +02:00
<label for="notificationsUrl">{{ "notificationsUrl" | i18n }}</label>
2021-12-21 15:43:35 +01:00
<input
2018-08-20 23:40:39 +02:00
id="notificationsUrl"
2018-04-25 23:53:51 +02:00
type="text"
2018-08-20 23:40:39 +02:00
name="NotificationsUrl"
inputmode="url"
2019-10-08 23:04:44 +02:00
[(ngModel)]="notificationsUrl"
appInputVerbatim
2021-12-21 15:43:35 +01:00
/>
</div>
2018-04-05 16:29:11 +02:00
<div class="box-content-row" appBoxRow>
<label for="iconsUrl">{{ "iconsUrl" | i18n }}</label>
2021-12-21 15:43:35 +01:00
<input
2018-04-25 23:53:51 +02:00
id="iconsUrl"
type="text"
name="IconsUrl"
[(ngModel)]="iconsUrl"
2018-08-20 23:40:39 +02:00
inputmode="url"
2019-10-08 23:04:44 +02:00
appInputVerbatim
2021-12-21 15:43:35 +01:00
/>
</div>
</div>
2018-04-05 16:29:11 +02:00
<div class="box-footer" [hidden]="!showCustom">
{{ "customEnvironmentFooter" | i18n }}
2021-12-21 15:43:35 +01:00
</div>
</div>
2018-04-05 16:29:11 +02:00
</content>
</form>