Get a working rough copy of the login page

This commit is contained in:
Dane Everitt 2018-04-01 17:46:16 -05:00
parent 94710934b9
commit 324b989a29
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
13 changed files with 265 additions and 68 deletions

View file

@ -3,7 +3,7 @@
<form class="bg-white shadow-lg rounded-lg pt-10 px-8 pb-6 mb-4 animate fadein" method="post">
<div class="flex flex-wrap -mx-3 mb-6">
<div class="input-open">
<input class="input" id="grid-email" type="email" aria-labelledby="grid-email" required
<input class="input" id="grid-email" type="email" aria-labelledby="grid-email" ref="email" required
v-bind:value="email"
v-on:input="updateEmail($event)"
/>
@ -27,7 +27,7 @@
</template>
<script>
import Csrf from "../shared/CSRF";
import Csrf from "../forms/CSRF";
export default {
components: {Csrf},
@ -35,6 +35,9 @@
props: {
email: {type: String, required: true},
},
mounted: function () {
this.$refs.email.focus();
},
data: function () {
return {
X_CSRF_TOKEN: window.X_CSRF_TOKEN,