mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Quick filter styling
This commit is contained in:
parent
da87542a52
commit
c28f19c9cf
@ -73,7 +73,7 @@
|
||||
<div class="btn-toolbar col-auto">
|
||||
<div class="btn-group ml-2" ngbDropdown role="group">
|
||||
<button class="btn btn-outline-primary btn-sm" id="dropdownTags" ngbDropdownToggle>Tags</button>
|
||||
<div class="dropdown-menu" ngbDropdownMenu aria-labelledby="dropdownTags">
|
||||
<div class="dropdown-menu quick-filter" ngbDropdownMenu aria-labelledby="dropdownTags">
|
||||
<div class="list-group list-group-flush">
|
||||
<input class="list-group-item form-control" type="text" [(ngModel)]="searchText" placeholder="Filter tags">
|
||||
<ng-container *ngIf="(tags | filter: searchText).length > 0">
|
||||
@ -91,7 +91,7 @@
|
||||
|
||||
<div class="btn-group ml-2" ngbDropdown role="group">
|
||||
<button class="btn btn-outline-primary btn-sm" id="dropdownCorrespondents" ngbDropdownToggle>Correspondents</button>
|
||||
<div class="dropdown-menu" ngbDropdownMenu aria-labelledby="dropdownCorrespondents">
|
||||
<div class="dropdown-menu quick-filter" ngbDropdownMenu aria-labelledby="dropdownCorrespondents">
|
||||
<div class="list-group list-group-flush">
|
||||
<input class="list-group-item form-control" type="text" [(ngModel)]="searchText" placeholder="Filter correspondents">
|
||||
<ng-container *ngIf="(correspondents | filter: searchText).length > 0">
|
||||
@ -109,7 +109,7 @@
|
||||
|
||||
<div class="btn-group ml-2" ngbDropdown role="group">
|
||||
<button class="btn btn-outline-primary btn-sm" id="dropdownDocumentTypes" ngbDropdownToggle>Document Types</button>
|
||||
<div class="dropdown-menu" ngbDropdownMenu aria-labelledby="dropdownDocumentTypes">
|
||||
<div class="dropdown-menu quick-filter" ngbDropdownMenu aria-labelledby="dropdownDocumentTypes">
|
||||
<div class="list-group list-group-flush">
|
||||
<input class="list-group-item form-control" type="text" [(ngModel)]="searchText" placeholder="Filter tags">
|
||||
<ng-container *ngIf="(documentTypes | filter: searchText).length > 0">
|
||||
|
@ -0,0 +1,4 @@
|
||||
.quick-filter {
|
||||
min-width: 250px;
|
||||
max-height: 400px;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user