Introduce login UI error and success handling
This commit is contained in:
@ -11,10 +11,12 @@
|
||||
<main>
|
||||
<div id="login-container">
|
||||
<form id="login-form">
|
||||
<h2>Plutonium login</h2>
|
||||
<p id="hint" style="visibility: hidden;"></p>
|
||||
<label for="username">Username :</label>
|
||||
<input type="text" name="username" id="username-field" placeholder="Your Plutonium username" minLength="2" maxLength="64">
|
||||
<input type="text" name="username" id="username-field" placeholder="Your Plutonium username" minLength="3" maxLength="16">
|
||||
<label for="password">Password :</label>
|
||||
<input type="text" name="password" id="password-field" placeholder="Your Plutonium password" minLength="2" maxLength="64">
|
||||
<input type="password" name="password" id="password-field" placeholder="Your Plutonium password" minLength="6" maxLength="64">
|
||||
<span>Create an account at <a href="https://forum.plutonium.pw/register" target="_blank">https://forum.plutonium.pw/register</a> if you don't have one.</span>
|
||||
<input type="button" value="Log in" onclick="tryAuth();">
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user