Added Login
This commit is contained in:
@@ -8,14 +8,24 @@
|
||||
<div th:replace="~{header}"/>
|
||||
<main>
|
||||
|
||||
<form>
|
||||
<label for="login-pseudo">Pseudo :</label>
|
||||
<input type="text" id="login-pseudo" name="pseudo"/>
|
||||
<div th:if="${param.error}">
|
||||
<div class="alert alert-danger">Invalid Email or Password</div><br/>
|
||||
</div>
|
||||
<div th:if="${param.logout}">
|
||||
<div class="alert alert-success"> You have been logged out.</div><br/>
|
||||
</div>
|
||||
|
||||
<form
|
||||
method="post"
|
||||
role="form"
|
||||
th:action="@{/login}">
|
||||
<label for="username">Pseudo :</label>
|
||||
<input type="text" id="username" name="username"/>
|
||||
<br/>
|
||||
<label for="login-password">Mot de passe :</label>
|
||||
<input type="text" id="login-password" name="password"/>
|
||||
<label for="password">Mot de passe :</label>
|
||||
<input type="password" id="password" name="password"/>
|
||||
<br/>
|
||||
<input id="connect" type="button">Se connecter</input>
|
||||
<input id="connect" type="submit">Se connecter</input>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user