mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
Added vision and settings components and refactored the routes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<h4>camera</h4>
|
||||
<h4>Camera</h4>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
27
chameleon-client/src/components/Settings.vue
Normal file
27
chameleon-client/src/components/Settings.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<Layout id="main-layout">
|
||||
<Content id="main-content">
|
||||
<row type="flex" justify="start" align="middle" :gutter="5" >
|
||||
<Col span="12">
|
||||
<router-view></router-view>
|
||||
</Col>
|
||||
</row>
|
||||
</Content>
|
||||
</Layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Settings',
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
45
chameleon-client/src/components/Vision.vue
Normal file
45
chameleon-client/src/components/Vision.vue
Normal file
@@ -0,0 +1,45 @@
|
||||
<template>
|
||||
<Layout id="main-layout">
|
||||
<Header id="main-header">
|
||||
<Row type="flex" justify="start" align="middle" :gutter="10">
|
||||
<Col span="12">
|
||||
<chselect title="select a camera" :list="[1,2,3]"></chselect>
|
||||
</Col>
|
||||
<Col span="12">
|
||||
<chselect title="select pipline" :list="[0,1,2,3,4,5,6,7,8,9]"></chselect>
|
||||
</Col>
|
||||
</Row>
|
||||
</Header>
|
||||
<Content id="main-content">
|
||||
<row type="flex" justify="start" align="middle" :gutter="5" >
|
||||
<Col span="12">
|
||||
<router-view></router-view>
|
||||
</Col>
|
||||
<img src="../assets/logo.png">
|
||||
</Col>
|
||||
</row>
|
||||
</Content>
|
||||
</Layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Vue from "vue"
|
||||
import chselect from './ch-select.vue'
|
||||
|
||||
export default {
|
||||
name: 'Vision',
|
||||
components: {
|
||||
chselect
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user