diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/app.module.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/search/search.component.html | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 980625f13..80734f7a2 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts | |||
@@ -6,6 +6,7 @@ import { RouterModule } from '@angular/router'; | |||
6 | import { removeNgStyles, createNewHosts } from '@angularclass/hmr'; | 6 | import { removeNgStyles, createNewHosts } from '@angularclass/hmr'; |
7 | 7 | ||
8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; | 8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; |
9 | import { DropdownModule } from 'ng2-bootstrap/components/dropdown'; | ||
9 | import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; | 10 | import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; |
10 | import { PaginationModule } from 'ng2-bootstrap/components/pagination'; | 11 | import { PaginationModule } from 'ng2-bootstrap/components/pagination'; |
11 | import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload'; | 12 | import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload'; |
@@ -111,6 +112,7 @@ const APP_PROVIDERS = [ | |||
111 | HttpModule, | 112 | HttpModule, |
112 | RouterModule.forRoot(routes), | 113 | RouterModule.forRoot(routes), |
113 | 114 | ||
115 | DropdownModule, | ||
114 | ProgressbarModule, | 116 | ProgressbarModule, |
115 | PaginationModule, | 117 | PaginationModule, |
116 | FileUploadModule | 118 | FileUploadModule |
diff --git a/client/src/app/shared/search/search.component.html b/client/src/app/shared/search/search.component.html index fb13ac72e..b3afc9598 100644 --- a/client/src/app/shared/search/search.component.html +++ b/client/src/app/shared/search/search.component.html | |||
@@ -3,8 +3,8 @@ | |||
3 | <button id="simple-btn-keyboard-nav" type="button" class="btn btn-default" dropdownToggle> | 3 | <button id="simple-btn-keyboard-nav" type="button" class="btn btn-default" dropdownToggle> |
4 | {{ getStringChoice(searchCriterias.field) }} <span class="caret"></span> | 4 | {{ getStringChoice(searchCriterias.field) }} <span class="caret"></span> |
5 | </button> | 5 | </button> |
6 | <ul class="dropdown-menu" role="menu" aria-labelledby="simple-btn-keyboard-nav"> | 6 | <ul class="dropdown-menu" role="menu" aria-labelledby="simple-btn-keyboard-nav" dropdownMenu> |
7 | <li *ngFor="let choice of choiceKeys" class="dropdown-item"> | 7 | <li *ngFor="let choice of choiceKeys" class="dropdown-item" role="menu-item"> |
8 | <a class="dropdown-item" href="#" (click)="choose($event, choice)">{{ getStringChoice(choice) }}</a> | 8 | <a class="dropdown-item" href="#" (click)="choose($event, choice)">{{ getStringChoice(choice) }}</a> |
9 | </li> | 9 | </li> |
10 | </ul> | 10 | </ul> |