Change sends list links to buttons
This commit is contained in:
parent
9e2dcf2978
commit
cef93ff63f
|
@ -36,7 +36,7 @@
|
||||||
<div id="items" class="items">
|
<div id="items" class="items">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="list" *ngIf="filteredSends.length">
|
<div class="list" *ngIf="filteredSends.length">
|
||||||
<a
|
<button
|
||||||
*ngFor="let s of filteredSends"
|
*ngFor="let s of filteredSends"
|
||||||
appStopClick
|
appStopClick
|
||||||
(click)="selectSend(s.id)"
|
(click)="selectSend(s.id)"
|
||||||
|
@ -45,11 +45,11 @@
|
||||||
[ngClass]="{ active: s.id === sendId }"
|
[ngClass]="{ active: s.id === sendId }"
|
||||||
class="flex-list-item"
|
class="flex-list-item"
|
||||||
>
|
>
|
||||||
<div class="item-icon" aria-hidden="true">
|
<span class="item-icon" aria-hidden="true">
|
||||||
<i class="bwi bwi-fw bwi-lg" [ngClass]="s.type == 0 ? 'bwi-file-text' : 'bwi-file'"></i>
|
<i class="bwi bwi-fw bwi-lg" [ngClass]="s.type == 0 ? 'bwi-file-text' : 'bwi-file'"></i>
|
||||||
</div>
|
</span>
|
||||||
<div class="item-content">
|
<span class="item-content">
|
||||||
<div class="item-title">
|
<span class="item-title">
|
||||||
{{ s.name }}
|
{{ s.name }}
|
||||||
<span class="title-badges">
|
<span class="title-badges">
|
||||||
<ng-container *ngIf="s.disabled">
|
<ng-container *ngIf="s.disabled">
|
||||||
|
@ -98,10 +98,10 @@
|
||||||
<span class="sr-only">{{ "pendingDeletion" | i18n }}</span>
|
<span class="sr-only">{{ "pendingDeletion" | i18n }}</span>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</span>
|
||||||
<span class="item-details">{{ s.deletionDate | date }}</span>
|
<span class="item-details">{{ s.deletionDate | date }}</span>
|
||||||
</div>
|
</span>
|
||||||
</a>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="no-items" *ngIf="!filteredSends.length">
|
<div class="no-items" *ngIf="!filteredSends.length">
|
||||||
<i class="bwi bwi-spinner bwi-spin bwi-3x" *ngIf="!loaded" aria-hidden="true"></i>
|
<i class="bwi bwi-spinner bwi-spin bwi-3x" *ngIf="!loaded" aria-hidden="true"></i>
|
||||||
|
|
|
@ -111,8 +111,10 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
.item-icon {
|
.item-icon {
|
||||||
|
display: block;
|
||||||
margin-left: -5px;
|
margin-left: -5px;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
@include themify($themes) {
|
@include themify($themes) {
|
||||||
|
@ -121,7 +123,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-content {
|
.item-content {
|
||||||
|
display: block;
|
||||||
.item-title {
|
.item-title {
|
||||||
|
display: block;
|
||||||
.title-badges {
|
.title-badges {
|
||||||
@include themify($themes) {
|
@include themify($themes) {
|
||||||
color: themed("mutedColor");
|
color: themed("mutedColor");
|
||||||
|
|
Loading…
Reference in New Issue