mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 10:43:35 +00:00
Add basic heading markup
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
<content [ngClass]="{'stacked-boxes': showGroupings()}">
|
||||
<ng-container *ngIf="showGroupings()">
|
||||
<div class="box list" *ngIf="nestedFolders && nestedFolders.length">
|
||||
<div class="box-header">
|
||||
<h2 class="box-header">
|
||||
{{'folders' | i18n}}
|
||||
</div>
|
||||
</h2>
|
||||
<div class="box-content single-line">
|
||||
<button type="button" *ngFor="let f of nestedFolders" class="box-content-row" appStopClick appBlurClick
|
||||
(click)="selectFolder(f.node)">
|
||||
@@ -38,9 +38,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="box list" *ngIf="nestedCollections && nestedCollections.length">
|
||||
<div class="box-header">
|
||||
<h2 class="box-header">
|
||||
{{'collections' | i18n}}
|
||||
</div>
|
||||
</h2>
|
||||
<div class="box-content single-line">
|
||||
<button type="button" *ngFor="let c of nestedCollections" class="box-content-row" appStopClick appBlurClick
|
||||
(click)="selectCollection(c.node)">
|
||||
@@ -66,10 +66,10 @@
|
||||
<cdk-virtual-scroll-viewport itemSize="46" minBufferPx="400" maxBufferPx="600" *ngIf="ciphers.length"
|
||||
#virtualScrollViewport>
|
||||
<div class="box list only-list">
|
||||
<div class="box-header">
|
||||
<h2 class="box-header">
|
||||
{{groupingTitle}}
|
||||
<span class="flex-right">{{isSearching() ? ciphers.length : ciphers.length}}</span>
|
||||
</div>
|
||||
</h2>
|
||||
<div class="box-content">
|
||||
<app-cipher-row *cdkVirtualFor="let c of ciphers" [cipher]="c" title="{{'viewItem' | i18n}}"
|
||||
(onSelected)="selectCipher($event)" (launchEvent)="launchCipher($event)"></app-cipher-row>
|
||||
|
||||
Reference in New Issue
Block a user