aboutsummaryrefslogtreecommitdiff
path: root/src/site/pages/login.vue
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-06-29 20:02:47 +0300
committerZephyrrus <[email protected]>2020-06-29 20:02:47 +0300
commitac037c773ef5f15372c6999445a2efe00034c0c0 (patch)
tree94ff8cfad575421add06834100a2343eba6a3f73 /src/site/pages/login.vue
parentmisc: remove patreon. sorry. (diff)
downloadhost.fuwn.me-ac037c773ef5f15372c6999445a2efe00034c0c0.tar.xz
host.fuwn.me-ac037c773ef5f15372c6999445a2efe00034c0c0.zip
fix: Remove hero and hero body and use sections and containers instead
Hero is meant to be used as a full-width banner to showcare or present somethign, not to contain the entire content of the webpage
Diffstat (limited to 'src/site/pages/login.vue')
-rw-r--r--src/site/pages/login.vue64
1 files changed, 31 insertions, 33 deletions
diff --git a/src/site/pages/login.vue b/src/site/pages/login.vue
index 7a98aa4..514cbc5 100644
--- a/src/site/pages/login.vue
+++ b/src/site/pages/login.vue
@@ -1,38 +1,36 @@
<template>
- <section class="hero is-fullheight is-login">
- <div class="hero-body">
- <div class="container">
- <h1 class="title">
- Dashboard Access
- </h1>
- <h2 class="subtitle mb5">
- Login to access your files and folders
- </h2>
- <div class="columns">
- <div class="column is-4 is-offset-4">
- <b-field>
- <b-input v-model="username"
- type="text"
- placeholder="Username"
- @keyup.enter.native="login" />
- </b-field>
- <b-field>
- <b-input v-model="password"
- type="password"
- placeholder="Password"
- password-reveal
- @keyup.enter.native="login" />
- </b-field>
+ <section class="section is-fullheight is-login">
+ <div class="container">
+ <h1 class="title">
+ Dashboard Access
+ </h1>
+ <h2 class="subtitle mb5">
+ Login to access your files and folders
+ </h2>
+ <div class="columns">
+ <div class="column is-4 is-offset-4">
+ <b-field>
+ <b-input v-model="username"
+ type="text"
+ placeholder="Username"
+ @keyup.enter.native="login" />
+ </b-field>
+ <b-field>
+ <b-input v-model="password"
+ type="password"
+ placeholder="Password"
+ password-reveal
+ @keyup.enter.native="login" />
+ </b-field>
- <p class="control has-addons is-pulled-right">
- <router-link v-if="config.userAccounts"
- to="/register"
- class="is-text">Don't have an account?</router-link>
- <span v-else>Registration is closed at the moment</span>
- <button class="button is-primary big ml1"
- @click="login">login</button>
- </p>
- </div>
+ <p class="control has-addons is-pulled-right">
+ <router-link v-if="config.userAccounts"
+ to="/register"
+ class="is-text">Don't have an account?</router-link>
+ <span v-else>Registration is closed at the moment</span>
+ <button class="button is-primary big ml1"
+ @click="login">login</button>
+ </p>
</div>
</div>
</div>