diff --git a/pdb-js/src/app/app.module.ts b/pdb-js/src/app/app.module.ts index 579a93c..e8aaf6d 100644 --- a/pdb-js/src/app/app.module.ts +++ b/pdb-js/src/app/app.module.ts @@ -23,6 +23,7 @@ import { QueryAutocompleteComponent } from './query-autocomplete/query-autocompl import { LimitByComponent } from './limit-by/limit-by.component'; import { PlotViewComponent } from './plot-view/plot-view.component'; import { GalleryViewComponent, GalleryItemView } from './gallery-view/gallery-view.component'; +import { ImageToggleComponent } from './image-toggle/image-toggle.component'; @NgModule({ declarations: [ @@ -36,7 +37,8 @@ import { GalleryViewComponent, GalleryItemView } from './gallery-view/gallery-vi LimitByComponent, PlotViewComponent, GalleryViewComponent, - GalleryItemView + GalleryItemView, + ImageToggleComponent ], imports: [ BrowserModule, diff --git a/pdb-js/src/app/gallery-view/gallery-view.component.html b/pdb-js/src/app/gallery-view/gallery-view.component.html index 094ce5f..b68101e 100644 --- a/pdb-js/src/app/gallery-view/gallery-view.component.html +++ b/pdb-js/src/app/gallery-view/gallery-view.component.html @@ -1,4 +1,27 @@ - +
\ No newline at end of file + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/pdb-js/src/assets/img/descending-filter.svg b/pdb-js/src/assets/img/descending-filter.svg index b3e8196..9753e1a 100644 --- a/pdb-js/src/assets/img/descending-filter.svg +++ b/pdb-js/src/assets/img/descending-filter.svg @@ -1 +1,66 @@ - \ No newline at end of file + + + + + + image/svg+xml + + + + + + + + + diff --git a/pdb-js/src/styles.scss b/pdb-js/src/styles.scss index 2ce1286..4c24d1f 100644 --- a/pdb-js/src/styles.scss +++ b/pdb-js/src/styles.scss @@ -93,9 +93,19 @@ mat-form-field:last-child { mat-form-field.pdb-form-number { width: 3.5em; } +.pdb-form-icon-small { + display: inline-block; + width: 2em; + vertical-align: middle; +} mat-form-field.pdb-form-mid { width: 7.5em; } +mat-form-field.pdb-form-wide { + width: 10em; +} + + .errorPanel {