mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 19:52:14 -08:00
Adding form behavior to login.ejs.
Basic desired behavior which is now supported is submission when the enter key is pressed.
This commit is contained in:
parent
a16a22e2e1
commit
07946714cc
@ -1,6 +1,6 @@
|
|||||||
<div id="loginContainer" style="display: none;">
|
<div id="loginContainer" style="display: none;">
|
||||||
<div id="loginContent">
|
<div id="loginContent">
|
||||||
<div id='loginForm'>
|
<form id="loginForm" onsubmit="void(0); return false;">
|
||||||
<img id="loginImageSeal" src="assets/images/WesterosSealCircle.png"/>
|
<img id="loginImageSeal" src="assets/images/WesterosSealCircle.png"/>
|
||||||
<span class="loginSpan" id="loginSubheader">MEMBER LOGIN</span>
|
<span class="loginSpan" id="loginSubheader">MEMBER LOGIN</span>
|
||||||
<div class="loginFieldContainer">
|
<div class="loginFieldContainer">
|
||||||
@ -53,7 +53,7 @@
|
|||||||
<p class="loginDisclaimerText">Your password is sent directly to mojang and never stored.</p>
|
<p class="loginDisclaimerText">Your password is sent directly to mojang and never stored.</p>
|
||||||
<p class="loginDisclaimerText">WesterosCraft is not affiliated with Mojang AB.</p>
|
<p class="loginDisclaimerText">WesterosCraft is not affiliated with Mojang AB.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
//const validEmail = /^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i
|
//const validEmail = /^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i
|
||||||
|
Loading…
Reference in New Issue
Block a user