added views and point data text

This commit is contained in:
ori agranat
2019-09-22 00:14:12 +03:00
parent abe01128d8
commit e5fa1000c6
7 changed files with 117 additions and 37 deletions

View File

@@ -1,26 +1,5 @@
<template>
<v-app>
<!-- <v-navigation-drawer app clipped dark width="200">
<v-list dense>
<v-list-item link to="Vision">
<v-list-item-action>
<v-icon>mdi-video</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>Vision</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item link to="Settings">
<v-list-item-action>
<v-icon>mdi-settings</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>Settings</v-list-item-title>
</v-list-item-content>
</v-list-item>
</v-list>
</v-navigation-drawer> -->
<v-app-bar app clipped-left dark>
<img class="imgClass" src="./assets/logo.png">
<v-toolbar-title id="title">Chameleon Vision</v-toolbar-title>
@@ -42,7 +21,7 @@
</v-container>
</v-content>
<v-footer app dark>
<span>&copy; 2019 Chameleon Vision Project</span>
<span>&copy; 2019 Chameleon Vision</span>
</v-footer>
</v-app>
</template>
@@ -66,7 +45,6 @@ export default {
html{
overflow-y: hidden !important;
}
.imgClass{
width: auto;
height: 58px;

View File

@@ -2,29 +2,50 @@
<div>
<v-row >
<v-col cols="6" class="colsClass">
<v-tabs fixed-tabs background-color="#212121" dark height="50" slider-color="#4baf62">
<v-tab to="">Input</v-tab>
<v-tab to="">Threshold</v-tab>
<v-tab to="">Contours</v-tab>
<v-tab to="">Output</v-tab>
<v-tabs fixed-tabs background-color="#212121" dark height="50" slider-color="#4baf62" v-model="selectedTab">
<v-tab>Input</v-tab>
<v-tab>Threshold</v-tab>
<v-tab>Contours</v-tab>
<v-tab>Output</v-tab>
</v-tabs>
<div>
<component :is="selectedComponent"></component>
</div>
</v-col>
<v-col cols="6">
<img class="videoClass" src="https://pbs.twimg.com/profile_images/846659478120366082/K-kZVvT8_400x400.jpg">
<div>
<img class="videoClass" src="https://pbs.twimg.com/profile_images/846659478120366082/K-kZVvT8_400x400.jpg">
<h5 id="Point">Yaw: 222 Pitch: 111 FPS: 15</h5>
</div>
</v-col>
</v-row>
</div>
</template>
<script>
import InputTab from './CameraViewes/InputTab'
export default {
name: '',
name: 'CameraTab',
components:{
InputTab
},
data() {
return {
selectedTab:0,
}
},
computed:{
selectedComponent(){
switch(this.selectedTab){
case 0:
return "InputTab";
case 1:
return "ThresholdTab";
case 2:
return "ContoursTab";
case 3:
return "OutputTab";
}
}
}
}
@@ -40,4 +61,9 @@
margin-right: auto;
margin-left: auto;
}
#Point{
padding-top: 5px;
text-align: center;
color: #f4f4f4;
}
</style>

View File

@@ -0,0 +1,18 @@
<template>
</template>
<script>
export default {
name: '',
data() {
return {
}
}
}
</script>
<style lang="" scoped>
</style>

View File

@@ -0,0 +1,18 @@
<template>
<span>aaaaaaaaaaad</span>
</template>
<script>
export default {
name: 'Input',
data() {
return {
}
}
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,18 @@
<template>
</template>
<script>
export default {
name: '',
data() {
return {
}
}
}
</script>
<style lang="" scoped>
</style>

View File

@@ -0,0 +1,18 @@
<template>
</template>
<script>
export default {
name: '',
data() {
return {
}
}
}
</script>
<style lang="" scoped>
</style>

View File

@@ -1,15 +1,19 @@
<template>
<div>
<v-tabs background-color="#212121" dark height="50" slider-color="#4baf62">
<v-tab to="">General</v-tab>
<v-tab to="">Cameras</v-tab>
</v-tabs>
<v-row >
<v-col cols="6" class="colsClass">
<v-tabs background-color="#212121" dark height="50" fixed-tabs slider-color="#4baf62">
<v-tab to="">General</v-tab>
<v-tab to="">Cameras</v-tab>
</v-tabs>
</v-col>
</v-row>
</div>
</template>
<script>
export default {
name: '',
name: 'SettingsTab',
data() {
return {