Update welcome page layout

This commit is contained in:
Jorys Paulin 2021-08-19 12:54:40 +02:00
parent 019d064d8e
commit 97e14de63e
No known key found for this signature in database
GPG Key ID: 83924762BA299496

View File

@ -1,20 +1,18 @@
<main role="main" id="app" style="max-width: 600px; margin: 0 auto">
<div class="container-parent">
<div class="container py-3">
<h1 class="mb-0">Welcome to Sunshine!</h1>
<p class="mb-0 align-self-start">
Before Getting Started, write down below these credentials
</p>
</div>
</div>
<header>
<h1 class="mb-0">Welcome to Sunshine!</h1>
<p class="mb-0 align-self-start">
Before Getting Started, write down below these credentials
</p>
</header>
<div class="alert alert-warning">
These Credentials down below are needed to access the rest of the
application.<br />
Keep them safe, since <b>you will never see them again!</b>
</div>
<form @submit.prevent="save" class="card p-4" style="width: 100%">
<form @submit.prevent="save">
<div class="mb-2">
<label for="usernameInput" class="form-label">Username: </label>
<label for="usernameInput" class="form-label">Username:</label>
<input
type="text"
class="form-control"
@ -24,7 +22,7 @@
/>
</div>
<div class="mb-2">
<label for="passwordInput" class="form-label">Password: </label>
<label for="passwordInput" class="form-label">Password:</label>
<input
type="password"
class="form-control"
@ -35,7 +33,9 @@
/>
</div>
<div class="mb-2">
<label for="confirmPasswordInput" class="form-label">Password: </label>
<label for="confirmPasswordInput" class="form-label"
>Password (confirm):</label
>
<input
type="password"
class="form-control"
@ -45,7 +45,13 @@
required
/>
</div>
<button class="mb-2 btn btn-primary" v-bind:disabled="loading" style="margin: 1em auto">Login</button>
<button
type="submit"
class="btn btn-primary w-100 mb-2"
v-bind:disabled="loading"
>
Login
</button>
<div class="alert alert-danger" v-if="error"><b>Error: </b>{{error}}</div>
<div class="alert alert-success" v-if="success">
<b>Success! </b>This page will reload soon, your browser will ask you for