From 25848c5cd32750b90e1b7af87680ba5062b63460 Mon Sep 17 00:00:00 2001 From: andy Date: Sun, 13 Aug 2017 12:12:48 +0100 Subject: [PATCH] image collection --- src/vue-poc/components/core.js | 17 ++- src/vue-poc/expath-pkg.xml | 2 +- src/vue-poc/features/about.vue | 2 +- src/vue-poc/features/adminlog/logs.vue | 2 +- src/vue-poc/features/eval/eval.vue | 3 +- src/vue-poc/features/home.vue | 2 +- src/vue-poc/features/images/image.vue | 16 ++- src/vue-poc/features/images/images.vue | 93 ++++++++++--- src/vue-poc/features/images/images.xqm | 41 ++++-- src/vue-poc/features/job/jobs.vue | 2 +- src/vue-poc/features/ping/ping.vue | 15 +- src/vue-poc/lib/vue-compile/vue-compile.xqm | 2 +- src/vue-poc/models.gen.xqm | 2 +- src/vue-poc/static/app-gen.js | 131 +++++++++++++----- src/vue-poc/static/app.html | 4 +- src/vue-poc/tasks/createthumbs.xq | 15 -- ...scanpics.xq => pics-01-store-directory.xq} | 3 +- src/vue-poc/tasks/pics-02-store-meta.xq | 22 +++ ...{createimage.xq => pics-03-store-image.xq} | 0 src/vue-poc/tasks/pics-04-store-thumbs.xq | 46 ++++++ src/vue-poc/tasks/vue-compile.xq | 5 + 21 files changed, 325 insertions(+), 100 deletions(-) delete mode 100644 src/vue-poc/tasks/createthumbs.xq rename src/vue-poc/tasks/{scanpics.xq => pics-01-store-directory.xq} (86%) create mode 100644 src/vue-poc/tasks/pics-02-store-meta.xq rename src/vue-poc/tasks/{createimage.xq => pics-03-store-image.xq} (100%) create mode 100644 src/vue-poc/tasks/pics-04-store-thumbs.xq create mode 100644 src/vue-poc/tasks/vue-compile.xq diff --git a/src/vue-poc/components/core.js b/src/vue-poc/components/core.js index 6be0fbe..cc7d3c0 100644 --- a/src/vue-poc/components/core.js +++ b/src/vue-poc/components/core.js @@ -93,6 +93,7 @@ const router = new VueRouter({ { path: '/tasks/vuecompile', component: Vuecompile,meta:{title:"vue compile"} }, { path: '/jobs', component: Job,meta:{title:"Jobs"} }, { path: '/timeline', component: Timeline,meta:{title:"timeline"} }, + { path: '/about', component: About,meta:{title:"About Vue-poc"} }, { path: '*', component: Notfound,meta:{title:"Page not found"} } ], }); @@ -135,7 +136,7 @@ const app = new Vue({ children: [ {href: '/database', text: 'Databases',icon: 'account_balance' }, {href: '/files', text: 'File system',icon: 'folder' }, - {href: '/edit',text: 'edit',icon: 'mode_edit'}, + {href: '/edit',text: 'Edit',icon: 'mode_edit'}, {href: '/history',text: 'history',icon: 'history'} ]}, { @@ -153,7 +154,7 @@ const app = new Vue({ children: [ {href: '/jobs',text: 'Running jobs',icon: 'dashboard'}, {href: '/logs',text: 'Server logs',icon: 'dns'}, - {href: '/ping',text: 'ping',icon: 'update'} + {href: '/ping',text: 'Ping',icon: 'update'} ]}, { icon: 'camera_roll', @@ -161,7 +162,7 @@ const app = new Vue({ model: false, children: [ {href: '/images',text: 'Collection',icon: 'photo_camera'}, - {href: '/thumbnail',text: 'thumbnail',icon: 'touch_app'} + {href: '/thumbnail',text: 'Thumbnail',icon: 'touch_app'} ]}, { icon: 'more_horiz', @@ -169,12 +170,14 @@ const app = new Vue({ model: false, children: [ {href: '/session',text: 'Session',icon: 'person'}, - {href: '/select',text: 'select',icon: 'extension'}, + {href: '/select',text: 'Select',icon: 'extension'}, {href: '/puzzle',text: 'Puzzle',icon: 'extension'}, - {href: '/tabs',text: 'tabs',icon: 'switch_camera'}, - {href: '/timeline',text: 'time line',icon: 'timelapse'} + {href: '/tabs',text: 'Tabs',icon: 'switch_camera'}, + {href: '/timeline',text: 'Time line',icon: 'timelapse'} ]}, - {href: '/settings',text: 'settings',icon: 'settings' } + + {href: '/settings',text: 'Settings',icon: 'settings' }, + {href: '/about',text: 'About', icon: 'help' }, ] }}, diff --git a/src/vue-poc/expath-pkg.xml b/src/vue-poc/expath-pkg.xml index d3c584d..0a53225 100644 --- a/src/vue-poc/expath-pkg.xml +++ b/src/vue-poc/expath-pkg.xml @@ -2,7 +2,7 @@ abbrev="vue-poc" version="0.0.4" spec="1.0"> vue-poc test of vue.js. - + diff --git a/src/vue-poc/features/about.vue b/src/vue-poc/features/about.vue index 6bef888..8b83cbd 100644 --- a/src/vue-poc/features/about.vue +++ b/src/vue-poc/features/about.vue @@ -1,7 +1,7 @@