custom-fe/src/App.vue

39 lines
1.4 KiB
Vue
Raw Normal View History

2016-11-07 17:03:36 +00:00
<template>
<div id="app" v-bind:style="style" class="base02-background">
<nav class='container base01-background base04' @click="scrollToTop()">
2017-02-16 16:44:36 +00:00
<div class='inner-nav' :style="logoStyle">
2017-01-16 17:57:03 +00:00
<div class='item'>
2017-02-17 09:16:29 +00:00
<router-link :to="{ name: 'root'}">{{sitename}}</router-link>
2017-01-16 17:57:03 +00:00
</div>
2017-02-16 21:25:41 +00:00
<div class='item right'>
<router-link :to="{ name: 'settings'}"><i class="icon-cog"></i></router-link>
</div>
2016-11-07 17:03:36 +00:00
</div>
</nav>
<div class="container" id="content">
2017-01-17 16:27:39 +00:00
<div class="panel-switcher">
<button @click="activatePanel('sidebar')">Sidebar</button>
<button @click="activatePanel('timeline')">Timeline</button>
</div>
<div class="sidebar-flexer" :class="{ 'mobile-hidden': mobileActivePanel != 'sidebar'}">
<div class="sidebar" :class="{ 'mobile-hidden': mobileActivePanel != 'sidebar' }">
<div class="sidebar-container">
<user-panel></user-panel>
2017-05-12 16:54:12 +00:00
<user-finder></user-finder>
<nav-panel></nav-panel>
<notifications v-if="currentUser"></notifications>
</div>
</div>
2016-12-02 13:33:03 +00:00
</div>
2017-01-17 16:27:39 +00:00
<div class="main" :class="{ 'mobile-hidden': mobileActivePanel != 'timeline' }">
2016-12-02 13:33:03 +00:00
<transition name="fade">
<router-view></router-view>
</transition>
</div>
2016-11-07 17:03:36 +00:00
</div>
</div>
</template>
2016-10-26 14:46:32 +00:00
2016-10-26 17:03:55 +00:00
<script src="./App.js"></script>
<style lang="scss" src="./App.scss"></style>