Mercurial > gemma
view client/src/App.vue @ 560:66073a476baf
If header "X-Use-Protocol" is set by proxy generate https URLS in password resets.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 03 Sep 2018 18:41:19 +0200 |
parents | f41c74b8af9c |
children | fb5d9d5ff320 |
line wrap: on
line source
<template> <div id="app main d-flex flex-column"> <Topbar v-if="isAuthenticated"></Topbar> <Sidebar v-if="isAuthenticated"></Sidebar> <router-view/> </div> </template> <style lang="scss"> html { height: 100%; width: 100%; margin: 0 auto; } body { height: 100%; width: 100%; background-color: #efefef !important; } #app { height: 100%; width: 100%; font-family: "Avenir", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; color: #2c3e50; } </style> <script> import Sidebar from "./components/Sidebar"; import Topbar from "./components/Topbar"; import { mapGetters } from "vuex"; export default { name: "app", computed: { ...mapGetters("user", ["isAuthenticated"]) }, components: { Sidebar, Topbar } }; </script>