* Added error display to every axios server call

* Added better destroy of login token if invalid
* Block users from opening notes they don't own, note closes automatically
* Beefed up login and home page a little to make them more appealing
This commit is contained in:
Max G committed 2020-04-14 05:09:19 +00:00
1 parent 278b204b3b
commit 2b8f70b5fa
19 files changed
+113 -22

No files matched your search

+19 -4
View File
@@ -1,11 +1,26 @@
<template>
<div class="ui basic segment no-fluf-segment">
<div class="ui grid">
<div class="ui stackable grid">
<div class="sixteen wide center aligned column">
<h2>Login / Register</h2>
</div>
<div class="ui sixteen wide column">
<div class="ui text container">
<p><b>Create an account:</b> type in the username you want to use followed by the password.</p>
<div class="ui segment" v-on:keyup.enter="submit">
<h4 class="ui header">
<i class="plug icon"></i>
<div class="content">
To Register
<div class="sub header">Choose Any Username & password</div>
</div>
</h4>
<div class="ui large form">
<div class="field">
<div class="ui input">
@@ -21,8 +36,8 @@
</div>
</div>
<p>You will remain logged in on this browser, until you log out.</p>
<p>You will remain logged in on this browser, for 30 days or until you log out.</p>
</div>
</div>
</div>
</div>