2020-12-22 16:57:44 +01:00
|
|
|
<div class="page-header">
|
|
|
|
<h1>{{ "vault" | i18n }}</h1>
|
|
|
|
</div>
|
|
|
|
<div class="mt-4">
|
|
|
|
<ng-container *ngIf="ciphers.length">
|
|
|
|
<table class="table table-hover table-list table-ciphers">
|
|
|
|
<tbody>
|
|
|
|
<tr *ngFor="let c of ciphers">
|
|
|
|
<td class="table-list-icon">
|
|
|
|
<app-vault-icon [cipher]="c"></app-vault-icon>
|
|
|
|
</td>
|
|
|
|
<td class="reduced-lh wrap">
|
|
|
|
<a href="#" appStopClick (click)="selectCipher(c)" title="{{ 'editItem' | i18n }}">{{
|
|
|
|
c.name
|
|
|
|
}}</a>
|
|
|
|
<ng-container *ngIf="!organization && c.organizationId">
|
2021-06-22 01:27:27 +02:00
|
|
|
<i
|
2022-01-27 18:25:58 +01:00
|
|
|
class="bwi bwi-collection"
|
2021-06-22 01:27:27 +02:00
|
|
|
appStopProp
|
|
|
|
title="{{ 'shared' | i18n }}"
|
|
|
|
aria-hidden="true"
|
|
|
|
></i>
|
2020-12-22 16:57:44 +01:00
|
|
|
<span class="sr-only">{{ "shared" | i18n }}</span>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="c.hasAttachments">
|
|
|
|
<i
|
2022-01-27 18:25:58 +01:00
|
|
|
class="bwi bwi-paperclip"
|
2020-12-22 16:57:44 +01:00
|
|
|
appStopProp
|
|
|
|
title="{{ 'attachments' | i18n }}"
|
|
|
|
aria-hidden="true"
|
|
|
|
></i>
|
|
|
|
<span class="sr-only">{{ "attachments" | i18n }}</span>
|
|
|
|
</ng-container>
|
|
|
|
<br />
|
|
|
|
<small>{{ c.subTitle }}</small>
|
|
|
|
</td>
|
2021-02-01 17:37:32 +01:00
|
|
|
<td class="table-list-options">
|
|
|
|
<div class="dropdown" appListDropdown *ngIf="c.hasAttachments">
|
|
|
|
<button
|
|
|
|
class="btn btn-outline-secondary dropdown-toggle"
|
|
|
|
type="button"
|
|
|
|
id="dropdownMenuButton"
|
|
|
|
data-toggle="dropdown"
|
|
|
|
aria-haspopup="true"
|
|
|
|
aria-expanded="false"
|
|
|
|
appA11yTitle="{{ 'options' | i18n }}"
|
|
|
|
>
|
2022-01-27 18:25:58 +01:00
|
|
|
<i class="bwi bwi-cog bwi-lg" aria-hidden="true"></i>
|
2021-02-01 17:37:32 +01:00
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
|
|
|
<a class="dropdown-item" href="#" appStopClick (click)="viewAttachments(c)">
|
2022-01-27 18:25:58 +01:00
|
|
|
<i class="bwi bwi-fw bwi-paperclip" aria-hidden="true"></i>
|
2021-02-01 17:37:32 +01:00
|
|
|
{{ "attachments" | i18n }}
|
|
|
|
</a>
|
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2021-02-01 17:37:32 +01:00
|
|
|
</td>
|
2020-12-22 16:57:44 +01:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</ng-container>
|
2021-10-15 01:40:35 +02:00
|
|
|
<ng-container *ngIf="!loaded">
|
|
|
|
<i
|
2022-01-27 18:25:58 +01:00
|
|
|
class="bwi bwi-spinner bwi-spin text-muted"
|
2021-10-15 01:40:35 +02:00
|
|
|
title="{{ 'loading' | i18n }}"
|
|
|
|
aria-hidden="true"
|
|
|
|
></i>
|
|
|
|
<span class="sr-only">{{ "loading" | i18n }}</span>
|
|
|
|
</ng-container>
|
2020-12-22 16:57:44 +01:00
|
|
|
</div>
|
|
|
|
<ng-template #cipherAddEdit></ng-template>
|
2021-02-01 17:37:32 +01:00
|
|
|
<ng-template #attachments></ng-template>
|