Moved connect to a tabbed panel
This commit is contained in:
parent
fdcc0d5275
commit
5ca9e3d053
6 changed files with 74 additions and 8 deletions
25
src/components/paneConnect.vue
Normal file
25
src/components/paneConnect.vue
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<template>
|
||||
<div id="paneConnect">
|
||||
<hostInput/>
|
||||
<hostDisplay/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// Import components
|
||||
import hostInput from './paneConnectComponents/hostInput.vue'
|
||||
import hostDisplay from './paneConnectComponents/hostDisplay'
|
||||
|
||||
// Export main app
|
||||
export default {
|
||||
name: 'paneConnect',
|
||||
components: {
|
||||
hostInput,
|
||||
hostDisplay
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
|
||||
</style>
|
||||
39
src/components/panelLeft.vue
Normal file
39
src/components/panelLeft.vue
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<template>
|
||||
<div id="panelLeft">
|
||||
<ul class="uk-flex-center" uk-tab>
|
||||
<li><a href="#" uk-switcher-item="connect" uk-icon="server" uk-tooltip="Connect"></a></li>
|
||||
<li><a href="#" uk-switcher-item="navigate" uk-icon="location" uk-tooltip="Navigate"></a></li>
|
||||
<li><a href="#" uk-switcher-item="capture" uk-icon="camera" uk-tooltip="Capture"></a></li>
|
||||
<li><a href="#" uk-switcher-item="plugins" uk-icon="git-fork" uk-tooltip="Plugins"></a></li>
|
||||
<li><a href="#" uk-switcher-item="settings" uk-icon="settings" uk-tooltip="Configure"></a></li>
|
||||
</ul>
|
||||
<ul class="uk-switcher uk-margin">
|
||||
<li><paneConnect/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// Import components
|
||||
import paneConnect from './paneConnect.vue'
|
||||
|
||||
// Export main app
|
||||
export default {
|
||||
name: 'panelLeft',
|
||||
components: {
|
||||
paneConnect,
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
#panelLeft {
|
||||
width: 300px;
|
||||
height:100%;
|
||||
padding: 0 20px 0 20px;
|
||||
background-color: #fafafa
|
||||
}
|
||||
.uk-tab {
|
||||
padding-left: 0;
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue