Login & Sign in
Create html element to log in and sign in
This commit is contained in:
parent
7bbfa16ca2
commit
d5dc807b09
10 changed files with 813 additions and 6 deletions
105
front/dist/resources/html/gameForgotPassword.html
vendored
Normal file
105
front/dist/resources/html/gameForgotPassword.html
vendored
Normal file
|
@ -0,0 +1,105 @@
|
|||
<style>
|
||||
*{
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
cursor: url('/resources/logos/cursor_normal.png'), auto;
|
||||
}
|
||||
* a, button, input{
|
||||
cursor: url('/resources/logos/cursor_pointer.png'), pointer;
|
||||
}
|
||||
#gameForgotPassword {
|
||||
background: #eceeee;
|
||||
border: 1px solid #42464b;
|
||||
border-radius: 6px;
|
||||
margin: 20px auto 0;
|
||||
width: 298px;
|
||||
height: 160px;
|
||||
}
|
||||
#gameForgotPassword h1 {
|
||||
background-image: linear-gradient(top, #f1f3f3, #d4dae0);
|
||||
border-bottom: 1px solid #a6abaf;
|
||||
border-radius: 6px 6px 0 0;
|
||||
box-sizing: border-box;
|
||||
color: #727678;
|
||||
display: block;
|
||||
height: 43px;
|
||||
padding-top: 10px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.2), 0 1px 0 #fff;
|
||||
}
|
||||
#gameForgotPassword input {
|
||||
font-size: 70%;
|
||||
background: linear-gradient(top, #d6d7d7, #dee0e0);
|
||||
border: 1px solid #a1a3a3;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px #fff;
|
||||
box-sizing: border-box;
|
||||
color: #696969;
|
||||
height: 30px;
|
||||
transition: box-shadow 0.3s;
|
||||
width: 100%;
|
||||
}
|
||||
#gameForgotPassword section {
|
||||
margin: 10px;
|
||||
}
|
||||
#gameForgotPassword section.action{
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
#gameForgotPassword button {
|
||||
margin-top: 10px;
|
||||
background-color: black;
|
||||
color: white;
|
||||
border-radius: 7px;
|
||||
padding-bottom: 4px;
|
||||
width: 60px;
|
||||
}
|
||||
#gameForgotPassword button#gameLoginFormForgotPasswordCancel {
|
||||
background-color: #c7c7c700;
|
||||
color: #292929;
|
||||
}
|
||||
#gameForgotPassword section a{
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
margin: 0 6px;
|
||||
color: black;
|
||||
}
|
||||
#gameForgotPassword section h6,
|
||||
#gameForgotPassword section h5{
|
||||
margin: 1px;
|
||||
}
|
||||
#gameForgotPassword section.text-center{
|
||||
text-align: center;
|
||||
}
|
||||
#gameForgotPassword section p{
|
||||
font-size: 8px;
|
||||
margin: 0px 70px;
|
||||
}
|
||||
#gameForgotPassword section p.err{
|
||||
color: red;
|
||||
display: none;
|
||||
}
|
||||
#gameForgotPassword section p.info{
|
||||
display: none;
|
||||
}
|
||||
#gameForgotPassword button#gameLoginFormForgotPasswordSubmit{
|
||||
width: 90px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<form id="gameForgotPassword" hidden>
|
||||
<section class="text-center">
|
||||
<h5>Reset Password</h5>
|
||||
<p class="info" id="gameForgotPasswordInfo"></p>
|
||||
<p class="err" id="gameForgotPasswordError"></p>
|
||||
</section>
|
||||
<section>
|
||||
<h6>E-Mail Address*</h6>
|
||||
<input type="email" name="email" id="gameLoginForgotPasswordEmail">
|
||||
</section>
|
||||
<section class="action">
|
||||
<button type="submit" id="gameLoginFormForgotPasswordSubmit">Send email</button>
|
||||
<button type="submit" id="gameLoginFormForgotPasswordCancel">Login</button>
|
||||
</section>
|
||||
</form>
|
||||
|
111
front/dist/resources/html/gameLogin.html
vendored
Normal file
111
front/dist/resources/html/gameLogin.html
vendored
Normal file
|
@ -0,0 +1,111 @@
|
|||
<style>
|
||||
*{
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
cursor: url('/resources/logos/cursor_normal.png'), auto;
|
||||
}
|
||||
* a, button, input{
|
||||
cursor: url('/resources/logos/cursor_pointer.png'), pointer;
|
||||
}
|
||||
#gameLogin {
|
||||
background: #eceeee;
|
||||
border: 1px solid #42464b;
|
||||
border-radius: 6px;
|
||||
height: 257px;
|
||||
margin: 20px auto 0;
|
||||
width: 298px;
|
||||
}
|
||||
#gameLogin .cautiousText {
|
||||
font-size: 50%;
|
||||
}
|
||||
#gameLogin h1 {
|
||||
background-image: linear-gradient(top, #f1f3f3, #d4dae0);
|
||||
border-bottom: 1px solid #a6abaf;
|
||||
border-radius: 6px 6px 0 0;
|
||||
box-sizing: border-box;
|
||||
color: #727678;
|
||||
display: block;
|
||||
height: 43px;
|
||||
padding-top: 10px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.2), 0 1px 0 #fff;
|
||||
}
|
||||
#gameLogin input {
|
||||
font-size: 70%;
|
||||
background: linear-gradient(top, #d6d7d7, #dee0e0);
|
||||
border: 1px solid #a1a3a3;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px #fff;
|
||||
box-sizing: border-box;
|
||||
color: #696969;
|
||||
height: 30px;
|
||||
transition: box-shadow 0.3s;
|
||||
width: 100%;
|
||||
}
|
||||
#gameLogin section {
|
||||
margin: 10px;
|
||||
}
|
||||
#gameLogin section.action{
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
#gameLogin button {
|
||||
margin-top: 10px;
|
||||
background-color: black;
|
||||
color: white;
|
||||
border-radius: 7px;
|
||||
padding-bottom: 4px;
|
||||
width: 60px;
|
||||
}
|
||||
#gameLogin button#gameLoginFormCancel {
|
||||
background-color: #c7c7c700;
|
||||
color: #292929;
|
||||
}
|
||||
#gameLogin section a{
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
margin: 0 6px;
|
||||
color: black;
|
||||
}
|
||||
#gameLogin section h6,
|
||||
#gameLogin section h5{
|
||||
margin: 1px;
|
||||
}
|
||||
#gameLogin section.text-center{
|
||||
text-align: center;
|
||||
}
|
||||
#gameLogin section p{
|
||||
font-size: 8px;
|
||||
margin: 0px 70px;
|
||||
}
|
||||
#gameLogin section p.err{
|
||||
color: red;
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<form id="gameLogin" hidden>
|
||||
<section class="text-center">
|
||||
<h5>Login WorkAdventure</h5>
|
||||
<p>Log in WorkAdventure and find your friends / colleagues</p>
|
||||
<p class="err" id="gameLoginError"></p>
|
||||
</section>
|
||||
<section>
|
||||
<h6>Email*</h6>
|
||||
<input type="email" name="email" id="gameLoginEmail">
|
||||
</section>
|
||||
<section>
|
||||
<h6>Password*</h6>
|
||||
<input type="password" name="password" id="gameLoginPassword">
|
||||
</section>
|
||||
<section class="text-center" style="margin: 0;">
|
||||
<a href="#" target="register" id="gameLoginFormForgotPassword">Forgot Password</a>
|
||||
</section>
|
||||
<section class="action">
|
||||
<button type="submit" id="gameLoginFormSubmit">Login</button>
|
||||
</section>
|
||||
<section class="text-center" style="margin: 0;">
|
||||
<a href="#" target="register" id="gameLoginFormRegister">Sign in</a>
|
||||
<a href="#" target="anonymous" id="gameLoginFormCancel">Anonymous</a>
|
||||
</section>
|
||||
</form>
|
3
front/dist/resources/html/gameMenu.html
vendored
3
front/dist/resources/html/gameMenu.html
vendored
|
@ -38,5 +38,8 @@
|
|||
<section id="adminConsoleSection" hidden>
|
||||
<button id="adminConsoleButton">Admin console</button>
|
||||
</section>
|
||||
<section>
|
||||
<button id="gameLoginMenu">Login</button>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
|
|
117
front/dist/resources/html/gameRegister.html
vendored
Normal file
117
front/dist/resources/html/gameRegister.html
vendored
Normal file
|
@ -0,0 +1,117 @@
|
|||
<style>
|
||||
*{
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
cursor: url('/resources/logos/cursor_normal.png'), auto;
|
||||
}
|
||||
* a, button, input{
|
||||
cursor: url('/resources/logos/cursor_pointer.png'), pointer;
|
||||
}
|
||||
#gameRegister {
|
||||
background: #eceeee;
|
||||
border: 1px solid #42464b;
|
||||
border-radius: 6px;
|
||||
margin: 20px auto 0;
|
||||
width: 298px;
|
||||
height: 340px;
|
||||
}
|
||||
#gameRegister .cautiousText {
|
||||
font-size: 50%;
|
||||
}
|
||||
#gameRegister h1 {
|
||||
background-image: linear-gradient(top, #f1f3f3, #d4dae0);
|
||||
border-bottom: 1px solid #a6abaf;
|
||||
border-radius: 6px 6px 0 0;
|
||||
box-sizing: border-box;
|
||||
color: #727678;
|
||||
display: block;
|
||||
height: 43px;
|
||||
padding-top: 10px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.2), 0 1px 0 #fff;
|
||||
}
|
||||
#gameRegister input {
|
||||
font-size: 70%;
|
||||
background: linear-gradient(top, #d6d7d7, #dee0e0);
|
||||
border: 1px solid #a1a3a3;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px #fff;
|
||||
box-sizing: border-box;
|
||||
color: #696969;
|
||||
height: 30px;
|
||||
transition: box-shadow 0.3s;
|
||||
width: 100%;
|
||||
}
|
||||
#gameRegister section {
|
||||
margin: 10px;
|
||||
}
|
||||
#gameRegister section.action{
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
#gameRegister button {
|
||||
margin-top: 10px;
|
||||
background-color: black;
|
||||
color: white;
|
||||
border-radius: 7px;
|
||||
padding-bottom: 4px;
|
||||
width: 60px;
|
||||
}
|
||||
#gameRegister button#gameRegisterFormCancel {
|
||||
background-color: #c7c7c700;
|
||||
color: #292929;
|
||||
}
|
||||
#gameRegister section a{
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
margin: 0 6px;
|
||||
color: black;
|
||||
}
|
||||
#gameRegister section h6,
|
||||
#gameRegister section h5{
|
||||
margin: 1px;
|
||||
}
|
||||
#gameRegister section.text-center{
|
||||
text-align: center;
|
||||
}
|
||||
#gameRegister section p{
|
||||
font-size: 8px;
|
||||
margin: 0px 70px;
|
||||
}
|
||||
#gameRegister section p.err{
|
||||
color: red;
|
||||
display: none;
|
||||
}
|
||||
#gameRegister section p.info{
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<form id="gameRegister" hidden>
|
||||
<section class="text-center">
|
||||
<h5>Sign in WorkAdventure</h5>
|
||||
<p>Sign in WorkAdventure and share your friends / colleagues</p>
|
||||
<p class="err" id="gameRegisterError"></p>
|
||||
<p class="info" id="gameRegisterInfo"></p>
|
||||
</section>
|
||||
<section>
|
||||
<h6>Name*</h6>
|
||||
<input type="text" name="email" id="gameRegisterName">
|
||||
</section>
|
||||
<section>
|
||||
<h6>Email*</h6>
|
||||
<input type="email" name="email" id="gameRegisterEmail">
|
||||
</section>
|
||||
<section>
|
||||
<h6>Password*</h6>
|
||||
<input type="password" name="password" id="gameRegisterPassword">
|
||||
</section>
|
||||
<section>
|
||||
<h6>Confirm password*</h6>
|
||||
<input type="password" name="password" id="gameRegisterConfirmPassword">
|
||||
</section>
|
||||
<section class="action">
|
||||
<button type="submit" id="gameRegisterFormSubmit">Sign In</button>
|
||||
<button type="submit" id="gameRegisterFormCancel">Login</button>
|
||||
</section>
|
||||
</form>
|
106
front/dist/resources/html/gameShare.html
vendored
Normal file
106
front/dist/resources/html/gameShare.html
vendored
Normal file
|
@ -0,0 +1,106 @@
|
|||
<style>
|
||||
*{
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
cursor: url('/resources/logos/cursor_normal.png'), auto;
|
||||
}
|
||||
* a, button, input{
|
||||
cursor: url('/resources/logos/cursor_pointer.png'), pointer;
|
||||
}
|
||||
#gameShare {
|
||||
background: #eceeee;
|
||||
border: 1px solid #42464b;
|
||||
border-radius: 6px;
|
||||
margin: 20px auto 0;
|
||||
width: 298px;
|
||||
height: 150px;
|
||||
}
|
||||
#gameShare .cautiousText {
|
||||
font-size: 50%;
|
||||
}
|
||||
#gameShare h1 {
|
||||
background-image: linear-gradient(top, #f1f3f3, #d4dae0);
|
||||
border-bottom: 1px solid #a6abaf;
|
||||
border-radius: 6px 6px 0 0;
|
||||
box-sizing: border-box;
|
||||
color: #727678;
|
||||
display: block;
|
||||
height: 43px;
|
||||
padding-top: 10px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.2), 0 1px 0 #fff;
|
||||
}
|
||||
#gameShare input {
|
||||
font-size: 70%;
|
||||
background: linear-gradient(top, #d6d7d7, #dee0e0);
|
||||
border: 1px solid #a1a3a3;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px #fff;
|
||||
box-sizing: border-box;
|
||||
color: #696969;
|
||||
height: 30px;
|
||||
transition: box-shadow 0.3s;
|
||||
width: 100%;
|
||||
}
|
||||
#gameShare section {
|
||||
margin: 10px;
|
||||
}
|
||||
#gameShare section.action{
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
#gameShare button {
|
||||
margin-top: 10px;
|
||||
background-color: black;
|
||||
color: white;
|
||||
border-radius: 7px;
|
||||
padding-bottom: 4px;
|
||||
width: 60px;
|
||||
}
|
||||
#gameShare button#gameShareFormCancel {
|
||||
background-color: #c7c7c700;
|
||||
color: #292929;
|
||||
}
|
||||
#gameShare section a{
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
margin: 0 6px;
|
||||
color: black;
|
||||
}
|
||||
#gameShare section h6,
|
||||
#gameShare section h5{
|
||||
margin: 1px;
|
||||
}
|
||||
#gameShare section.text-center{
|
||||
text-align: center;
|
||||
}
|
||||
#gameShare section p{
|
||||
font-size: 8px;
|
||||
margin: 0px 70px;
|
||||
}
|
||||
#gameShare section p.err{
|
||||
color: red;
|
||||
display: none;
|
||||
}
|
||||
#gameShare section p.info{
|
||||
display: none;
|
||||
}
|
||||
#gameShare section input#gameShareLink{
|
||||
background-color: #a1a3a3;
|
||||
}
|
||||
</style>
|
||||
|
||||
<form id="gameShare" hidden>
|
||||
<section class="text-center">
|
||||
<h5>Share this link !</h5>
|
||||
<p class="info" id="gameShareInfo"></p>
|
||||
</section>
|
||||
<section>
|
||||
<h6>Link</h6>
|
||||
<input type="text" name="email" id="gameShareLink" readonly>
|
||||
</section>
|
||||
<section class="action">
|
||||
<button type="submit" id="gameShareFormSubmit">Copy</button>
|
||||
<button type="submit" id="gameShareFormCancel">Close</button>
|
||||
</section>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue