bitwarden-estensione-browser/src/app/vault/vault.component.html

95 lines
4.9 KiB
HTML
Raw Normal View History

2018-06-06 15:43:28 +02:00
<div class="container page-content">
<div class="row">
2018-06-06 23:25:57 +02:00
<div class="col-3">
2019-02-21 22:50:37 +01:00
<app-vault-groupings (onAllClicked)="clearGroupingFilters()" (onFavoritesClicked)="filterFavorites()"
(onCipherTypeClicked)="filterCipherType($event)" (onFolderClicked)="filterFolder($event.id)"
(onAddFolder)="addFolder()" (onEditFolder)="editFolder($event.id)"
(onCollectionClicked)="filterCollection($event.id)" (onSearchTextChanged)="filterSearchText($event)"
(onTrashClicked)="filterDeleted()">
2018-06-06 23:25:57 +02:00
</app-vault-groupings>
</div>
<div class="col-6">
2018-06-07 23:12:11 +02:00
<div class="page-header d-flex">
<h1>
{{'myVault' | i18n}}
<small #actionSpinner [appApiAction]="ciphersComponent.actionPromise">
2019-10-11 16:35:24 +02:00
<ng-container *ngIf="actionSpinner.loading">
<i class="fa fa-spinner fa-spin text-muted" title="{{'loading' | i18n}}"
aria-hidden="true"></i>
<span class="sr-only">{{'loading' | i18n}}</span>
</ng-container>
</small>
</h1>
2018-06-07 23:12:11 +02:00
<div class="ml-auto d-flex">
<app-vault-bulk-actions [ciphersComponent]="ciphersComponent" [modal]="modal" [deleted]="deleted">
</app-vault-bulk-actions>
<button type="button" class="btn btn-outline-primary btn-sm" (click)="addCipher()" *ngIf="!deleted">
2019-10-11 17:22:21 +02:00
<i class="fa fa-plus fa-fw" aria-hidden="true"></i>{{'addItem' | i18n}}
2018-06-07 23:12:11 +02:00
</button>
</div>
</div>
2019-02-21 22:50:37 +01:00
<app-vault-ciphers (onCipherClicked)="editCipher($event)"
(onAttachmentsClicked)="editCipherAttachments($event)" (onAddCipher)="addCipher()"
(onShareClicked)="shareCipher($event)" (onCollectionsClicked)="editCipherCollections($event)"
(onCloneClicked)="cloneCipher($event)">
2018-06-06 23:25:57 +02:00
</app-vault-ciphers>
</div>
<div class="col-3">
2018-07-18 15:21:23 +02:00
<div class="card border-warning mb-4" *ngIf="showUpdateKey">
<div class="card-header bg-warning text-white">
2019-10-11 17:22:21 +02:00
<i class="fa fa-warning fa-fw" aria-hidden="true"></i> {{'updateKeyTitle' | i18n}}
2018-07-18 15:21:23 +02:00
</div>
<div class="card-body">
<p>{{'updateEncryptionKeyShortDesc' | i18n}}</p>
<button class="btn btn-block btn-outline-secondary" type="button" (click)="updateKey()">
{{'updateEncryptionKey' | i18n}}
</button>
</div>
</div>
<app-verify-email *ngIf="showVerifyEmail" class="d-block mb-4"></app-verify-email>
<app-send-info class="d-block mb-4"></app-send-info>
<div class="card border-warning mb-4" *ngIf="showBrowserOutdated">
<div class="card-header bg-warning text-white">
2019-10-11 17:22:21 +02:00
<i class="fa fa-warning fa-fw" aria-hidden="true"></i> {{'updateBrowser' | i18n}}
</div>
2018-06-06 15:43:28 +02:00
<div class="card-body">
<p>{{'updateBrowserDesc' | i18n}}</p>
2019-02-21 22:50:37 +01:00
<a class="btn btn-block btn-outline-secondary" target="_blank"
href="https://browser-update.org/update-browser.html" rel="noopener">
{{'updateBrowser' | i18n}}
</a>
2018-06-06 15:43:28 +02:00
</div>
2018-07-20 16:44:17 +02:00
</div>
<div class="card border-success mb-4" *ngIf="showPremiumCallout">
<div class="card-header bg-success text-white">
2019-10-11 17:22:21 +02:00
<i class="fa fa-star fa-fw" aria-hidden="true"></i> {{'goPremium' | i18n}}
2018-07-20 16:44:17 +02:00
</div>
<div class="card-body">
<p>{{'premiumUpgradeUnlockFeatures' | i18n}}</p>
<a class="btn btn-block btn-outline-secondary" routerLink="/settings/premium">
{{'goPremium' | i18n}}
</a>
</div>
2018-06-06 15:43:28 +02:00
</div>
<div class="card">
2018-07-19 19:56:44 +02:00
<div class="card-header d-flex">
{{'organizations' | i18n}}
2019-02-21 22:50:37 +01:00
<a class="ml-auto" href="https://help.bitwarden.com/article/what-is-an-organization/"
2019-10-11 16:35:24 +02:00
target="_blank" rel="noopener" appA11yTitle="{{'learnMore' | i18n}}">
<i class="fa fa-question-circle-o" aria-hidden="true"></i>
2018-07-19 19:56:44 +02:00
</a>
2018-06-07 23:12:11 +02:00
</div>
<div class="card-body">
<app-organizations [vault]="true"></app-organizations>
2018-06-07 23:12:11 +02:00
</div>
</div>
2018-06-06 15:43:28 +02:00
</div>
</div>
</div>
2018-06-06 23:25:57 +02:00
<ng-template #attachments></ng-template>
<ng-template #folderAddEdit></ng-template>
2018-06-07 05:23:14 +02:00
<ng-template #cipherAddEdit></ng-template>
2018-06-12 17:46:11 +02:00
<ng-template #share></ng-template>
<ng-template #collections></ng-template>
<ng-template #updateKeyTemplate></ng-template>