1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-19 08:53:28 +00:00

Add basic heading markup

This commit is contained in:
Patrick H. Lauke
2021-11-02 22:28:53 +00:00
parent f20a1e7424
commit c8fc7ee6fc
34 changed files with 126 additions and 125 deletions

View File

@@ -1,4 +1,5 @@
<header>
<h1 class="sr-only">{{'currentTab' | i18n}}</h1>
<div class="left">
<app-pop-out [show]="!inSidebar"></app-pop-out>
<button type="button" appBlurClick (click)="refresh()" appA11yTitle="{{'refresh' | i18n}}" *ngIf="inSidebar">
@@ -22,10 +23,10 @@
</div>
<ng-container *ngIf="loaded">
<div class="box list" *ngIf="loginCiphers">
<div class="box-header">
<h2 class="box-header">
{{'typeLogins' | i18n}}
<span class="flex-right">{{loginCiphers.length}}</span>
</div>
</h2>
<div class="box-content">
<app-cipher-row *ngFor="let loginCipher of loginCiphers" [cipher]="loginCipher"
title="{{'autoFill' | i18n}}" [showView]="true" (onSelected)="fillCipher($event)"
@@ -40,20 +41,20 @@
</div>
</div>
<div class="box list" *ngIf="cardCiphers && cardCiphers.length">
<div class="box-header">
<h2 class="box-header">
{{'cards' | i18n}}
<span class="flex-right">{{cardCiphers.length}}</span>
</div>
</h2>
<div class="box-content">
<app-cipher-row *ngFor="let cardCipher of cardCiphers" [cipher]="cardCipher" title="{{'autoFill' | i18n}}" [showView]="true"
(onSelected)="fillCipher($event)" (onView)="viewCipher($event)"></app-cipher-row>
</div>
</div>
<div class="box list" *ngIf="identityCiphers && identityCiphers.length">
<div class="box-header">
<h2 class="box-header">
{{'identities' | i18n}}
<span class="flex-right">{{identityCiphers.length}}</span>
</div>
</h2>
<div class="box-content">
<app-cipher-row *ngFor="let identityCipher of identityCiphers" [cipher]="identityCipher" title="{{'autoFill' | i18n}}" [showView]="true"
(onSelected)="fillCipher($event)" (onView)="viewCipher($event)"></app-cipher-row>