56 lines
1.2 KiB
Vue
56 lines
1.2 KiB
Vue
<template>
|
|
<div id="app">
|
|
<b-navbar toggleable="lg" type="dark" variant="info">
|
|
<b-button class="mr-4" v-b-toggle.sidebar>Menu</b-button>
|
|
<b-navbar-brand href="#">NavBar</b-navbar-brand>
|
|
</b-navbar>
|
|
<b-sidebar id="sidebar" title="Main Menu">
|
|
<div class="px-3 py-2">
|
|
<b-list-group>
|
|
<b-list-group-item href="/#/">
|
|
Hours Log
|
|
</b-list-group-item>
|
|
<b-list-group-item href="/#/projects">
|
|
Projects
|
|
</b-list-group-item>
|
|
</b-list-group>
|
|
<div class="dropdown-divider"></div>
|
|
<b-list-group class="">
|
|
<b-list-group-item href="/">
|
|
Exports
|
|
</b-list-group-item>
|
|
<b-list-group-item href="/">
|
|
Settings
|
|
</b-list-group-item>
|
|
</b-list-group>
|
|
</div>
|
|
</b-sidebar>
|
|
<div id="nav">
|
|
</div>
|
|
<router-view />
|
|
</div>
|
|
</template>
|
|
|
|
<style>
|
|
#app {
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
#nav {
|
|
padding: 30px;
|
|
}
|
|
|
|
#nav a {
|
|
font-weight: bold;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
#nav a.router-link-exact-active {
|
|
color: #42b983;
|
|
}
|
|
</style>
|