Project

General

Profile

« Previous | Next » 

Revision 58326

[Trunk | Library]:
1. rangeFilter.component.html: Disable button if form is invalid or not dirty (unchanged).
2. loading.component.ts: Added loading gif and <ng-content>.
3. searchResult.component.html: Add class "uk-margin-top" in <ul> (in order to align filters and results).
4. searchFilter.component.html: [Bug fix] class in <ng-container> does nothing. Move class="uk-animation-fade filterItem searchFilterItem uk-text-small" to <div> element (in view more).
5. newSearchPage.component.ts: Close offcanvas for filters (in small screens) when query changes.
6. newSearchPage.component.html: Align filters and results | Use same code for filters in all screens (<ng-template #filters_column>).

View differences:

searchFilter.component.html
111 111
<!--                      </div>-->
112 112
<!--                </div>-->
113 113
<!--              </ng-container>-->
114
              <ng-container *ngFor="let value of sort(filter.values)"
115
                   class="uk-animation-fade filterItem searchFilterItem uk-text-small">
116
                <div *ngIf="filterKeywords(value.name)" title = "{{value.name}}">
114
              <ng-container *ngFor="let value of sort(filter.values)">
115
                <div *ngIf="filterKeywords(value.name)" title = "{{value.name}}"
116
                     class="uk-animation-fade filterItem searchFilterItem uk-text-small">
117 117
                  <label *ngIf="filter.filterType == 'checkbox' || filter.filterType == 'radio'">
118 118
                    <input *ngIf="filter.filterType == 'checkbox'" type="checkbox"
119 119
                           [disabled]="isDisabled || (showResultCount && value.number === 0)"

Also available in: Unified diff