From abb1e53b704fd4a7b46de01860d55b024b38e8dc Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 10 Sep 2019 15:25:24 +0900 Subject: [PATCH] Add data upload button --- .../containers/DocumentUploadButton.vue | 30 +++++ .../organisms/DocumentUploadForm.vue | 111 ++++++++++++++++++ frontend/pages/projects/_id/dataset/index.vue | 5 +- frontend/rules/index.js | 10 ++ frontend/store/documents.js | 2 +- 5 files changed, 155 insertions(+), 3 deletions(-) create mode 100644 frontend/components/containers/DocumentUploadButton.vue create mode 100644 frontend/components/organisms/DocumentUploadForm.vue diff --git a/frontend/components/containers/DocumentUploadButton.vue b/frontend/components/containers/DocumentUploadButton.vue new file mode 100644 index 00000000..e37d07b7 --- /dev/null +++ b/frontend/components/containers/DocumentUploadButton.vue @@ -0,0 +1,30 @@ + + + diff --git a/frontend/components/organisms/DocumentUploadForm.vue b/frontend/components/organisms/DocumentUploadForm.vue new file mode 100644 index 00000000..0f5cf600 --- /dev/null +++ b/frontend/components/organisms/DocumentUploadForm.vue @@ -0,0 +1,111 @@ + + + diff --git a/frontend/pages/projects/_id/dataset/index.vue b/frontend/pages/projects/_id/dataset/index.vue index f213259f..f0bba761 100644 --- a/frontend/pages/projects/_id/dataset/index.vue +++ b/frontend/pages/projects/_id/dataset/index.vue @@ -1,6 +1,7 @@