Revision 58552
Added by Argiro Kokogiannaki almost 4 years ago
searchFilter.component.html | ||
---|---|---|
56 | 56 |
<a |
57 | 57 |
[class]="((isDisabled)?'uk-disabled uk-link-muted ':' portal-link ') + ' uk-margin-small-top'" |
58 | 58 |
[attr.uk-toggle]="'target: #toggle-'+filter.filterId" (click)="toggle()"> |
59 |
<span *ngIf="!isOpen">+ View more</span>
|
|
60 |
<span *ngIf="isOpen">- View less</span>
|
|
59 |
<span *ngIf="!isOpen">+ View all</span>
|
|
60 |
<!-- <span *ngIf="isOpen">- View less</span>-->
|
|
61 | 61 |
</a> |
62 | 62 |
|
63 | 63 |
<div hidden [id]="'toggle-'+filter.filterId" class="uk-text-small uk-margin-small-bottom"> |
64 | 64 |
<div class=""> |
65 |
<span *ngIf="filter.values.length >= 99">* only the Top 100 values are shown</span> |
|
66 |
<input class="uk-input uk-margin-small-bottom uk-width-1-1 " name="filter-keyword" placeholder="Search for {{filter.title}}" type="text" [(ngModel)]="keyword"> |
|
65 |
<span class="uk-text-meta uk-margin-small-left">Top 100 values are |
|
66 |
shown in the filters</span> |
|
67 |
<div class="uk-grid uk-margin-small-left uk-flex uk-flex-bottom"> |
|
68 |
<input class="uk-input uk-margin-small-top uk-form-small uk-width-2-3@m uk-width-3-5@s text-input-box " |
|
69 |
name="filter-keyword" |
|
70 |
placeholder="Search..." type="text" [(ngModel)]="keyword"> |
|
67 | 71 |
|
68 |
<span *ngIf = "showResultCount === true" class="uk-flex-inline uk-flex-middle uk-width-5-6@m uk-width-1-1@s uk-align-right uk-margin-small-bottom"> |
|
72 |
<span *ngIf = "showResultCount === true" |
|
73 |
class="uk-width-1-3@m uk-width-2-5@s uk-padding-small uk-padding-remove-vertical uk-padding-remove-right"> |
|
69 | 74 |
<span class="uk-width-1-4 uk-text-muted"> Sort by:</span> |
70 | 75 |
<select [(ngModel)]="sortBy" |
71 |
class=" uk-width-expand uk-select uk-hidden@m" |
|
76 |
class=" uk-width-expand uk-select uk-hidden@m uk-form-small"
|
|
72 | 77 |
id="form-horizontal-select" name="select_order"> |
73 | 78 |
<option value="num">Results number</option> |
74 | 79 |
<option value="name">Name</option> |
... | ... | |
82 | 87 |
</mat-select> |
83 | 88 |
</span> |
84 | 89 |
</div> |
90 |
</div> |
|
85 | 91 |
|
86 | 92 |
<div class="uk-modal-body uk-overflow-auto uk-height-max-small uk-padding-remove |
87 | 93 |
uk-margin-small-left uk-margin-small-right uk-margin-small-top uk-width-1-1"> |
... | ... | |
129 | 135 |
</ng-container> |
130 | 136 |
</div> |
131 | 137 |
</div> |
132 |
<!-- <a [class]="(isDisabled)?'uk-disabled uk-link-muted ':' portal-link '"-->
|
|
133 |
<!-- [attr.uk-toggle]="'target: #toggle-'+filter.filterId" (click)="toggle()">-->
|
|
134 |
<!-- <span *ngIf="isOpen">- View less</span>-->
|
|
135 |
<!-- </a>-->
|
|
138 |
<a [class]="(isDisabled)?'uk-disabled uk-link-muted ':' portal-link '"
|
|
139 |
[attr.uk-toggle]="'target: #toggle-'+filter.filterId" (click)="toggle()">
|
|
140 |
<span *ngIf="isOpen">- View less</span>
|
|
141 |
</a>
|
|
136 | 142 |
</div> |
137 | 143 |
</div> |
138 | 144 |
</div> |
Also available in: Unified diff
[Library|Trunk]
Search:
-Entities Selection: add check if route is enabled
-Delay in result types checkboxes to 2 s
-Use breadcrumb component
-add connect background
-remove space between names in showAuthors component
-Filters:
-message about top 100 always visible
-rename to view all
-change css for search input
-show 100 if results > 95
-view less under the 2nd list
-Search bar:
-select contains all avaliable entities not only search results
-
Landing pages:
-correct issue with pmid in landing
-correct issue with date in cite this
-Hide Addthis:
value in properties