diff --git a/frontend/pages/projects/_id/index.vue b/frontend/pages/projects/_id/index.vue index e9974643..df48bcd8 100644 --- a/frontend/pages/projects/_id/index.vue +++ b/frontend/pages/projects/_id/index.vue @@ -3,58 +3,42 @@ Welcome doccano! - - - Import a dataset - - - - Continue - Cancel - - - Create labels for this project - - - Continue - Cancel - - - Add members for collaborative work - - - Continue - Cancel - - - Define a guideline for the work - - - Continue - Cancel - - - Annotate the dataset - - - Continue - Cancel - - - View statistics - - - Continue - Cancel - - - Export the dataset - - - Finish - Cancel - - + +
+ + {{ item.title }} + + + + + Continue + + + Cancel + + +
@@ -65,7 +49,25 @@ export default { data() { return { - e6: 1 + e6: 1, + items: [ + { title: 'Import a dataset' }, + { title: 'Create labels for this project' }, + { title: 'Add members for collaborative work' }, + { title: 'Define a guideline for the work' }, + { title: 'Annotate the dataset' }, + { title: 'View statistics' }, + { title: 'Export the dataset' } + ] + } + }, + + methods: { + next() { + this.e6 = Math.max(1, (this.e6 + 1) % (this.items.length + 1)) + }, + prev() { + this.e6 = Math.max(1, this.e6 - 1) } },