[+] Display content according to staticpage
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="app" class="theme-default">
|
<div id="app" class="theme-default">
|
||||||
|
<div id="app-inner" v-if="staticPage === ''">
|
||||||
<login v-if="showLogin" v-on:login:user="onLogin"/>
|
<login v-if="showLogin" v-on:login:user="onLogin"/>
|
||||||
<navigation v-if="user != null"
|
<navigation v-if="user != null"
|
||||||
:courses="gradedCourses"
|
:courses="gradedCourses"
|
||||||
@@ -19,6 +20,9 @@
|
|||||||
|
|
||||||
<loading v-if="loading !== ''" :text="loading" :error="loadingError"/>
|
<loading v-if="loading !== ''" :text="loading" :error="loadingError"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<Info v-if="staticPage === 'info'"/>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script src="./app.ts" lang="ts"></script>
|
<script src="./app.ts" lang="ts"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user