Ignore:
Timestamp:
02/05/23 22:02:20 (23 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
45e9a02
Parents:
448bd84
Message:

login and register html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/login.html

    r448bd84 r533c366  
    1 <!DOCTYPE html>
    2 <html lang="en">
    3 <head>
    4     <meta charset="UTF-8">
    5     <title>Title</title>
    6 </head>
    7 <body>
    81
    9 </body>
    10 </html>
     2<div>
     3    <form th:method="POST" th:action="@{/login}">
     4        <div class="container">
     5            <form class="form-signin mt-xl-5" method="post" action="/login">
     6                <h2 class="form-signin-heading">SIGN IN</h2>
     7                <p>
     8                    <label for="username" class="sr-only">Username</label>
     9                    <input type="text" id="username" name="username" class="form-control" placeholder="Username" required="" autofocus=""/>
     10                </p>
     11                <p>
     12                    <label for="password" class="sr-only">Password</label>
     13                    <input type="password" id="password" name="password" class="form-control" placeholder="Password" required=""/>
     14                </p>
     15            </form>
     16            <button id="submit" class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
     17        </div>
     18    </form>
     19    <a href="/register" class="btn btn-block btn-light">Register Here!</a>
     20</div>
Note: See TracChangeset for help on using the changeset viewer.