mirror of
https://github.com/bitwarden/browser
synced 2026-01-08 19:43:45 +00:00
persist browser context on popout, add uri options input & toggle (#1290)
* persist browser context on popout, add uri options input & toggle * pass tab array to ngOptions, add null check
This commit is contained in:
committed by
GitHub
parent
25a86608b2
commit
32db40ec7f
@@ -218,7 +218,13 @@
|
||||
<div class="row-main">
|
||||
<label for="loginUri{{i}}">{{'uriPosition' | i18n : (i + 1)}}</label>
|
||||
<input id="loginUri{{i}}" type="text" name="Login.Uris[{{i}}].Uri" [(ngModel)]="u.uri"
|
||||
placeholder="{{'ex' | i18n}} https://google.com" inputmode="url" appInputVerbatim>
|
||||
[hidden]="u.showUriOptionsInput === true" placeholder="{{'ex' | i18n}} https://google.com"
|
||||
inputmode="url" appInputVerbatim>
|
||||
<select *ngIf="uriOptions != null && uriOptions.length"
|
||||
id="loginUriOptions{{i}}" name="Login.Uris[{{i}}].Options" [(ngModel)]="u.uri"
|
||||
[hidden]="u.showUriOptionsInput === false || u.showUriOptionsInput == null || uriOptions == null">
|
||||
<option *ngFor="let o of uriOptions" [ngValue]="o.url">{{o.url}}</option>
|
||||
</select>
|
||||
<label for="loginUriMatch{{i}}" class="sr-only">
|
||||
{{'matchDetection' | i18n}} {{(i + 1)}}
|
||||
</label>
|
||||
@@ -229,6 +235,11 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="action-buttons">
|
||||
<a *ngIf="uriOptions != null && uriOptions.length" class="row-btn" href="#" appStopClick appBlurClick
|
||||
appA11yTitle="{{'Toggle Input Mode'}}" (click)="toggleUriInput(u)">
|
||||
<i aria-hidden="true" class="fa fa-lg"
|
||||
[ngClass]="u.showUriOptionsInput ? 'fa-edit' : 'fa-list'"></i>
|
||||
</a>
|
||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||
appA11yTitle="{{'toggleOptions' | i18n}}" (click)="toggleUriOptions(u)">
|
||||
<i class="fa fa-lg fa-cog" aria-hidden="true"></i>
|
||||
|
||||
Reference in New Issue
Block a user