Visual tweaks

This commit is contained in:
Michael Shamoon 2020-12-09 01:25:04 -08:00
parent 0f635d1bb2
commit 4fbb814e5b
3 changed files with 8 additions and 4 deletions

View File

@ -84,7 +84,7 @@
<path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/> <path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>
</svg> </svg>
</div> </div>
<div>{{tag.name}}</div> <div class="mr-1">{{tag.name}}</div>
<div class="badge bg-primary text-light rounded-pill ml-auto">{{tag.document_count}}</div> <div class="badge bg-primary text-light rounded-pill ml-auto">{{tag.document_count}}</div>
</button> </button>
</ng-container> </ng-container>
@ -104,7 +104,7 @@
<path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/> <path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>
</svg> </svg>
</div> </div>
<div>{{correspondent.name}}</div> <div class="mr-1">{{correspondent.name}}</div>
<div class="badge bg-primary text-light rounded-pill ml-auto">{{correspondent.document_count}}</div> <div class="badge bg-primary text-light rounded-pill ml-auto">{{correspondent.document_count}}</div>
</button> </button>
</ng-container> </ng-container>
@ -124,7 +124,7 @@
<path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/> <path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>
</svg> </svg>
</div> </div>
<div>{{documentType.name}}</div> <div class="mr-1">{{documentType.name}}</div>
<div class="badge bg-primary text-light rounded-pill ml-auto">{{documentType.document_count}}</div> <div class="badge bg-primary text-light rounded-pill ml-auto">{{documentType.document_count}}</div>
</button> </button>
</ng-container> </ng-container>

View File

@ -1,7 +1,8 @@
.quick-filter { .quick-filter {
min-width: 250px; min-width: 250px;
max-height: 400px; max-height: 400px;
overflow-y: scroll;
.selected-icon { .selected-icon {
min-width: 1em; min-width: 1em;
min-height: 1em; min-height: 1em;

View File

@ -45,6 +45,9 @@ export class DocumentListComponent implements OnInit {
tags: PaperlessTag[] = [] tags: PaperlessTag[] = []
correspondents: PaperlessCorrespondent[] = [] correspondents: PaperlessCorrespondent[] = []
documentTypes: PaperlessDocumentType[] = [] documentTypes: PaperlessDocumentType[] = []
filterTagsText: string
filterCorrespondentsText: string
filterDocumentTypesText: string
@ViewChild(FilterEditorComponent) filterEditor; @ViewChild(FilterEditorComponent) filterEditor;