mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
mobile optimize user signup
This commit is contained in:
@@ -1 +1 @@
|
|||||||
{"db":{"libreevent_temp":{},"libreevent_admin":{"2":{"role":"eventManager","username":"janis","email":"info@janishutz.com","pass":"$2b$10$yjTZTt0k1bvmz.WOm.81l.vFnd6vXLVhFvNQ2b/6EvRa07ktG2Fo6","two_fa":"enhanced"}},"libreevent_orders":{},"libreevent_users":{}},"index":{"libreevent_temp":0,"libreevent_admin":2,"libreevent_orders":0,"libreevent_users":0}}
|
{"db":{"libreevent_temp":{},"libreevent_admin":{},"libreevent_orders":{},"libreevent_users":{}},"index":{"libreevent_temp":0,"libreevent_admin":0,"libreevent_orders":0,"libreevent_users":0}}
|
||||||
@@ -11,49 +11,40 @@
|
|||||||
<div class="login">
|
<div class="login">
|
||||||
<div class="login-app">
|
<div class="login-app">
|
||||||
<h1>Sign up</h1>
|
<h1>Sign up</h1>
|
||||||
<form>
|
<div class="parent">
|
||||||
<table>
|
<div class="field">
|
||||||
<tr>
|
<label for="mail">Email</label><br>
|
||||||
<td>
|
<input type="email" v-model="formData[ 'mail' ]" name="mail" id="mail" required @keyup="emailLiveChecker()" class="input"><br><br>
|
||||||
<label for="mail">Email</label><br>
|
|
||||||
<input type="email" v-model="formData[ 'mail' ]" name="mail" id="mail" required @keyup="emailLiveChecker()"><br><br>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<label for="country">Country</label><br>
|
|
||||||
<input type="text" v-model="formData[ 'country' ]" name="country" id="country" required><br><br>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<p v-if="emailStatus" class="email-status">{{ emailStatus }}</p>
|
<p v-if="emailStatus" class="email-status">{{ emailStatus }}</p>
|
||||||
<tr>
|
</div>
|
||||||
<td>
|
<div class="field">
|
||||||
<label for="firstName">First name</label><br>
|
<label for="country">Country</label><br>
|
||||||
<input type="text" v-model="formData[ 'firstName' ]" name="firstName" id="firstName" required><br><br>
|
<input type="text" v-model="formData[ 'country' ]" name="country" id="country" required class="input"><br><br>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div class="field">
|
||||||
<label for="name">Last name</label><br>
|
<label for="firstName">First name</label><br>
|
||||||
<input type="text" v-model="formData[ 'name' ]" name="name" id="name" required><br><br>
|
<input type="text" v-model="formData[ 'firstName' ]" name="firstName" id="firstName" required class="input"><br><br>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<div class="field">
|
||||||
<tr>
|
<label for="name">Last name</label><br>
|
||||||
<td>
|
<input type="text" v-model="formData[ 'name' ]" name="name" id="name" required class="input"><br><br>
|
||||||
<label for="password">Password</label><br>
|
</div>
|
||||||
<input type="password" v-model="formData[ 'password' ]" name="password" id="password" required><br><br>
|
<div class="field">
|
||||||
</td>
|
<label for="password">Password</label><br>
|
||||||
<td>
|
<input type="password" v-model="formData[ 'password' ]" name="password" id="password" required class="input"><br><br>
|
||||||
<label for="password2">Confirm password</label><br>
|
</div>
|
||||||
<input type="password" v-model="formData[ 'password2' ]" name="password2" id="password2" required><br><br>
|
<div class="field">
|
||||||
</td>
|
<label for="password2">Confirm password</label><br>
|
||||||
</tr>
|
<input type="password" v-model="formData[ 'password2' ]" name="password2" id="password2" required class="input"><br><br>
|
||||||
<tr>
|
</div>
|
||||||
<td>
|
<div class="field">
|
||||||
<label for="news">Do you want to potentially get newsletter?</label><br>
|
<label for="news">Do you want to potentially get newsletter?</label><br>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div class="field">
|
||||||
<input type="checkbox" v-model="formData[ 'newsletter' ]" name="news" id="news"><br><br>
|
<input type="checkbox" v-model="formData[ 'newsletter' ]" name="news" id="news"><br><br>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
</div>
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
<notifications ref="notification" location="topright" size="bigger"></notifications>
|
<notifications ref="notification" location="topright" size="bigger"></notifications>
|
||||||
<button @click="signup();" class="button">Sign up</button>
|
<button @click="signup();" class="button">Sign up</button>
|
||||||
<router-link to="/login" class="button">Log in instead</router-link>
|
<router-link to="/login" class="button">Log in instead</router-link>
|
||||||
@@ -196,6 +187,18 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.parent {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.field {
|
||||||
|
width: 90%;
|
||||||
|
margin-bottom: 2%;
|
||||||
|
}
|
||||||
|
|
||||||
.email-status {
|
.email-status {
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
color: red;
|
color: red;
|
||||||
@@ -207,19 +210,17 @@
|
|||||||
background-color: green;
|
background-color: green;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
flex-grow: 1;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex: 0 1 auto;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-app {
|
.login-app {
|
||||||
background-color: var( --background-color );
|
background-color: var( --background-color );
|
||||||
min-height: fit-content;
|
width: 90%;
|
||||||
min-height: fit-content;
|
height: 90%;
|
||||||
padding: 5% 20%;
|
padding: 10% 5%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -231,4 +232,24 @@
|
|||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
margin-top: 2%;
|
margin-top: 2%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input {
|
||||||
|
width: 80%;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 500px;
|
||||||
|
border: solid 1px black;
|
||||||
|
margin-top: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 999px) {
|
||||||
|
.login-app {
|
||||||
|
width: 50vw;
|
||||||
|
height: min-content;
|
||||||
|
padding: 5% 5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.field {
|
||||||
|
width: 40%;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user