added user view for admin and a lot of login stuff

This commit is contained in:
2020-08-05 16:38:04 +02:00
parent 0f3291266a
commit d8eda00a1e
12 changed files with 274 additions and 36 deletions

View File

@@ -13,6 +13,9 @@
<b-button @click="showAlert" variant="info" class="m-1">
Show alert with count-down timer
</b-button>
<b-button @click="$parent.showErrorMessage('tolle error message')" variant="warning" class="m-1">
Show error message
</b-button>
<h1>Toller Test</h1>
<span>{{ $socket.connected ? 'Connected' : 'Disconnected' }}</span>
<button v-if="$socket.connected" @click="disconnectWebsocket">Disconnect</button>
@@ -22,6 +25,7 @@
</p>
<router-link :to="{name: 'recorder', params: {recorder_id: 1}}">rec 1</router-link>
</div>
</template>