From cd82f00af395bd35eb4f5287f643c025d31301a5 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 10 Jun 2019 11:54:35 +0100 Subject: [PATCH] Moved control tab content into components --- src/App.vue | 65 +++++++++++++---------------------- src/components/tabContent.vue | 31 +++++++++++++++++ src/components/tabIcon.vue | 1 + 3 files changed, 55 insertions(+), 42 deletions(-) create mode 100644 src/components/tabContent.vue diff --git a/src/App.vue b/src/App.vue index fcba4640..575122cf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,49 +4,28 @@
-
-
- - - - -
+ +
+ + + +
-
-
-
-
+ + + + + + + + + + + +
@@ -76,6 +55,7 @@ import UIkit from 'uikit'; // Import components import tabIcon from './components/tabIcon.vue' +import tabContent from './components/tabContent.vue' // Import components import paneConnect from './components/paneConnect.vue' @@ -93,6 +73,7 @@ export default { components: { tabIcon, + tabContent, streamDisplay, galleryDisplay, paneConnect, @@ -214,12 +195,12 @@ body, html { } .uk-disabled { - pointer-events: none; - opacity: 0.5; + pointer-events: none; + opacity: 0.4; } .uk-tab { - padding-left: 0; + padding-left: 0; } #component-left { width: 300px; diff --git a/src/components/tabContent.vue b/src/components/tabContent.vue new file mode 100644 index 00000000..2a62409e --- /dev/null +++ b/src/components/tabContent.vue @@ -0,0 +1,31 @@ + + + + + \ No newline at end of file diff --git a/src/components/tabIcon.vue b/src/components/tabIcon.vue index 0824d97f..bbead888 100644 --- a/src/components/tabIcon.vue +++ b/src/components/tabIcon.vue @@ -12,6 +12,7 @@ export default { name: 'tabIcon', + props: { id: String, currentTab: String,