From 395434620bfcf5374b95cb33edbdbbf009b65222 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Wed, 12 Sep 2018 11:05:38 +0200 Subject: [PATCH] Refactor code --- .../src/components/NewContentBlockWizard.vue | 10 +- .../ContentBlockChooserWidget.vue | 106 ------------------ .../ContentBlockElementChooserWidget.vue | 106 ++++++++++++++++++ .../components/content-forms/VideoForm.vue | 3 - 4 files changed, 111 insertions(+), 114 deletions(-) delete mode 100644 client/src/components/content-forms/ContentBlockChooserWidget.vue create mode 100644 client/src/components/content-forms/ContentBlockElementChooserWidget.vue diff --git a/client/src/components/NewContentBlockWizard.vue b/client/src/components/NewContentBlockWizard.vue index 6d581a9c..1640a957 100644 --- a/client/src/components/NewContentBlockWizard.vue +++ b/client/src/components/NewContentBlockWizard.vue @@ -5,7 +5,7 @@ - @@ -33,7 +33,7 @@ - - diff --git a/client/src/components/content-forms/ContentBlockElementChooserWidget.vue b/client/src/components/content-forms/ContentBlockElementChooserWidget.vue new file mode 100644 index 00000000..b5669bcb --- /dev/null +++ b/client/src/components/content-forms/ContentBlockElementChooserWidget.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/client/src/components/content-forms/VideoForm.vue b/client/src/components/content-forms/VideoForm.vue index f0aba251..9bbadb4c 100644 --- a/client/src/components/content-forms/VideoForm.vue +++ b/client/src/components/content-forms/VideoForm.vue @@ -81,8 +81,5 @@ grid-column: 1 / span 2; width: $modal-input-width } - } - -