[Library | explore-redesign]: Added/ updated how filters appear in mobile screens | Updated search forms.
1. general.less: Added fixed position for .filters-toggle-button. 2. newSearchPage.component.html: Added floating button for filters in mobile screens. 3. advancedSearchForm.component.html: Re-introduced commented out <entities-selection> inside <advanced-search-input> | Removed iconPosition and commented button for filters inside search form. 4. home.module.ts: Imported SearchInputModule. 5. home.component.html: Replaced <advanced-search-input> with <div search-input> 6. searchDataProviders.component.ts: Set entitiesSelection to false for <new-search-page> 7. newSearchPage.component.ts & searchAll.component.html: Set entitiesSelection to false for <advanced-search-form>
This commit is contained in:
parent
0774efbb0d
commit
2da6b5f360
|
@ -22,12 +22,14 @@
|
|||
Advanced search
|
||||
</a>
|
||||
</div>
|
||||
<advanced-search-input #advanced (searchEmitter)="goTo()">
|
||||
<!-- <advanced-search-input #advanced (searchEmitter)="goTo()">-->
|
||||
<!-- <entities-selection [simpleView]="true" currentEntity="all" [selectedEntity]="selectedEntity"
|
||||
(selectionChange)="entityChanged($event);advanced.focusNext(input, $event)" (disableSelectEmitter)="disableSelectChange($event)"
|
||||
[onChangeNavigate]="false" class="uk-width-2-5"></entities-selection> -->
|
||||
<div class="uk-width-expand" input #input placeholder="Search in Explore" [searchable]="true" [hint]="'What are you looking for?'" [(value)]="keyword"></div>
|
||||
</advanced-search-input>
|
||||
<!-- <div class="uk-width-expand" input #input placeholder="Search in Explore" [searchable]="true" [hint]="'What are you looking for?'" [(value)]="keyword"></div>-->
|
||||
<!-- </advanced-search-input>-->
|
||||
<div search-input [(value)]="keyword" [placeholder]="'Search in Explore'" (searchEmitter)="goTo()"></div>
|
||||
|
||||
<!-- <div *ngIf="selectedEntity === 'result' && input.focused" (click)="$event.stopPropagation();advanced.focusNext(input, $event)" class="uk-dropdown uk-display-block uk-margin-small-top uk-width-auto">
|
||||
<div class="uk-padding-small">
|
||||
<quick-selections [resultTypes]="resultTypes" [quickFilter]="resultsQuickFilter"></quick-selections>
|
||||
|
|
|
@ -27,6 +27,7 @@ import {book, cog, database, earth} from "../openaireLibrary/utils/icons/icons";
|
|||
import {NumbersModule} from "../openaireLibrary/sharedComponents/numbers/numbers.module";
|
||||
import {AdvancedSearchInputModule} from "../openaireLibrary/sharedComponents/advanced-search-input/advanced-search-input.module";
|
||||
import {InputModule} from "../openaireLibrary/sharedComponents/input/input.module";
|
||||
import {SearchInputModule} from "../openaireLibrary/sharedComponents/search-input/search-input.module";
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
|
@ -37,7 +38,7 @@ import {InputModule} from "../openaireLibrary/sharedComponents/input/input.modul
|
|||
PiwikServiceModule,
|
||||
HomeRoutingModule,
|
||||
HelperModule,
|
||||
SEOServiceModule, OtherPortalsModule, EntitiesSelectionModule, QuickSelectionsModule, IconsModule, NumbersModule, AdvancedSearchInputModule, InputModule
|
||||
SEOServiceModule, OtherPortalsModule, EntitiesSelectionModule, QuickSelectionsModule, IconsModule, NumbersModule, AdvancedSearchInputModule, InputModule, SearchInputModule
|
||||
],
|
||||
declarations: [
|
||||
HomeComponent
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 296358935954c71466369aa72d4c9703296516e4
|
||||
Subproject commit ef742be1b236e84d7fc7819acbbf5679f9726db5
|
|
@ -1 +1 @@
|
|||
Subproject commit 2cf37e137168bad4b9cf20c227a38a6ba0e0f704
|
||||
Subproject commit 7d6932d363c461913123b59cf196c41a1a288c34
|
Loading…
Reference in New Issue