web: implemented login
This commit is contained in:
parent
129b0224e9
commit
ae222173b1
12 changed files with 170 additions and 34 deletions
|
@ -1,13 +1,18 @@
|
|||
<template>
|
||||
<v-app>
|
||||
<v-main>
|
||||
<HeaderBar />
|
||||
<div class="ma-8">
|
||||
<actionToolbar />
|
||||
<li>
|
||||
<CategoryContainer licenseGroupName="Jetbrains Ultimate"/>
|
||||
<CategoryContainer licenseGroupName="Microsoft"/>
|
||||
</li>
|
||||
<div v-if="store.token === null">
|
||||
<loginPage />
|
||||
</div>
|
||||
<div v-else>
|
||||
<HeaderBar />
|
||||
<div class="ma-8">
|
||||
<actionToolbar />
|
||||
<li>
|
||||
<CategoryContainer licenseGroupName="Jetbrains Ultimate"/>
|
||||
<CategoryContainer licenseGroupName="Microsoft"/>
|
||||
</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</v-main>
|
||||
|
@ -18,6 +23,8 @@
|
|||
import HeaderBar from './components/HeaderBar.vue';
|
||||
import CategoryContainer from './components/CategoryContainer.vue';
|
||||
import actionToolbar from './components/actionToolbar.vue';
|
||||
import { store } from './store';
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue