Commit 155fdd7b authored by Anton's avatar Anton

Add tabs to AnnotationList

# Conflicts:
#	partials/CellEditor.vue
parents 28321b32 b6914265
......@@ -19,6 +19,12 @@
:error="spec.error",
:error-label="spec.errorMessage",
style="width: 100%")
template(v-if="spec.inputType === 'select'")
q-select(
:float-label="spec.label",
:options="spec.selectOptions",
@select="value => handleItemChanged(value, cell, spec.path)")
template(v-else)
q-input(
:float-label="spec.label",
:type="spec.inputType",
......@@ -206,14 +212,24 @@
path: 'regexp'
},
{
inputType: 'text',
inputType: 'select',
type: 'Annotation-List',
label: 'Abbreviate',
help: 'Show shortened annotations',
label: 'Display type',
help: '',
error: false,
errorMessage: '',
value: undefined,
path: 'abbreviate'
value: 'scroll-list',
path: 'displaytype',
selectOptions: [
{
label: 'Scroll List',
value: 'scroll-list'
},
{
label: 'Tab List',
value: 'tab-list'
}
]
}]
}
}
......
......@@ -102,6 +102,15 @@
error: false,
errorMessage: 'Needs to be a valid URL',
value: ''
},
{
inputType: 'text',
type: 'Annotation-List-Tabs',
label: 'Annotation List Cell Tabs',
help: 'Insert a Video UUID',
error: false,
errorMessage: '',
value: ''
}
]
}
......
<template lang="pug">
// annotation list
div Annotation Tabs
</template>
<script>
import CellAnnotationList from './CellAnnotationList.vue'
export default {
extends: CellAnnotationList,
data () {
return {
}
}
}
</script>
<style scoped lang="stylus">
@import '~variables'
</style>
......@@ -10,6 +10,7 @@ import CellVideo from './CellVideo'
import CellHtml from './CellHtml'
import CellTimeline from './CellTimeline'
import CellAnnotationList from './CellAnnotationList'
import CellAnnotationListTabs from './CellAnnotationListTabs'
import Cell2DGrid from './Cell2DGrid'
// import CellVimeo from './CellVimeo'
......@@ -29,6 +30,7 @@ export default {
CellInternalLink,
CellVideo,
CellAnnotationList,
CellAnnotationListTabs,
CellTimeline,
Cell2DGrid
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment