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