diff --git a/src/App.vue b/src/App.vue
index 1258c40c..9d221f31 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -14,6 +14,7 @@
open neuron search
keyword search
Get facets
+ Show Flatmap Images
str.charAt(0).toUpperCase() + str.slice(1);
@@ -101,7 +104,11 @@ export default {
data: function () {
return {
contextArray: [null, null],
- tabArray: [{ title: 'Flatmap', id: 1, type: 'search'}, { title: 'Connectivity', id: 2, type: 'connectivity' }],
+ tabArray: [
+ { title: 'Flatmap', id: 1, type: 'search'},
+ { title: 'Connectivity', id: 2, type: 'connectivity' },
+ { title: 'Images', id: 3, type: 'flatmapImages' },
+ ],
sideBarVisibility: true,
envVars: {
API_LOCATION: import.meta.env.VITE_APP_API_LOCATION,
@@ -114,6 +121,7 @@ export default {
ROOT_URL: import.meta.env.VITE_APP_ROOT_URL,
},
connectivityInput: exampleConnectivityInput,
+ flatmapImages: flatmapImages,
activeId: 1,
}
},
@@ -224,6 +232,12 @@ export default {
let facets = await this.$refs.sideBar.getAlgoliaFacets()
console.log('Algolia facets:', facets)
},
+ showFlatmapImages: function () {
+ if (this.$refs.sideBar) {
+ this.$refs.sideBar.setDrawerOpen(true);
+ this.$refs.sideBar.tabClicked({id: 3, type: 'flatmapImages'})
+ }
+ },
},
mounted: function () {
console.log('mounted app')
diff --git a/src/components.d.ts b/src/components.d.ts
index ba5eedf9..864675c0 100644
--- a/src/components.d.ts
+++ b/src/components.d.ts
@@ -19,6 +19,8 @@ declare module 'vue' {
ElIconArrowRight: typeof import('@element-plus/icons-vue')['ArrowRight']
ElIconLocation: typeof import('@element-plus/icons-vue')['Location']
ElIconWarning: typeof import('@element-plus/icons-vue')['Warning']
+ ElIconWarnTriangleFilled: typeof import('@element-plus/icons-vue')['WarnTriangleFilled']
+ ElImage: typeof import('element-plus/es')['ElImage']
ElInput: typeof import('element-plus/es')['ElInput']
ElOption: typeof import('element-plus/es')['ElOption']
ElPagination: typeof import('element-plus/es')['ElPagination']
@@ -26,6 +28,7 @@ declare module 'vue' {
ElSelect: typeof import('element-plus/es')['ElSelect']
ElTag: typeof import('element-plus/es')['ElTag']
ExternalResourceCard: typeof import('./components/ExternalResourceCard.vue')['default']
+ FlatmapImages: typeof import('./components/FlatmapImages.vue')['default']
ImageGallery: typeof import('./components/ImageGallery.vue')['default']
SearchFilters: typeof import('./components/SearchFilters.vue')['default']
SearchHistory: typeof import('./components/SearchHistory.vue')['default']
diff --git a/src/components/FlatmapImages.vue b/src/components/FlatmapImages.vue
new file mode 100644
index 00000000..15584c6c
--- /dev/null
+++ b/src/components/FlatmapImages.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/SideBar.vue b/src/components/SideBar.vue
index ed69cd05..87bae956 100644
--- a/src/components/SideBar.vue
+++ b/src/components/SideBar.vue
@@ -22,7 +22,7 @@
span) {
height: $tab-height - 2 !important; // tab height minus border
diff --git a/src/data/flatmapImages.js b/src/data/flatmapImages.js
new file mode 100644
index 00000000..182f17f9
--- /dev/null
+++ b/src/data/flatmapImages.js
@@ -0,0 +1,86 @@
+export default [
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7543",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7544",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7542",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7545",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7546",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7527",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7526",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7528",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7529",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7533",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7534",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7536",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7535",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7537",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7530",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7531",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7532",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7538",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7540",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7539",
+ "datasetId": "226"
+ },
+ {
+ "thumbnail": "http://localhost:8000/thumbnail/7541",
+ "datasetId": "226"
+ }
+]
\ No newline at end of file