Ignore:
Timestamp:
07/07/23 12:14:58 (12 months ago)
Author:
HristijanMitic00 <hristijan.mitic.01@…>
Branches:
main
Parents:
1dd9226
Message:

First commit

File:
1 edited

Legend:

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

    r1dd9226 rd14176d  
    1 <!DOCTYPE html>
    2 <html lang="en">
    3 <head>
    4   <meta charset="UTF-8">
    5   <title>$Title$</title>
    6 </head>
    7 <body>
    8 $END$
    9 </body>
    10 </html>
     1<div class="container" xmlns:th="http://www.thymeleaf.org">
     2  <form class="form-signin mt-xl-5" method="post" action="/login">
     3    <h2 class="form-signin-heading">Sign in</h2>
     4    <p>
     5      <label for="username" class="sr-only">Username</label>
     6      <input type="text" id="username" name="username" class="form-control" placeholder="Username" required=""
     7             autofocus="">
     8    </p>
     9    <p>
     10      <label for="password" class="sr-only">Password</label>
     11      <input type="password" id="password" name="password" class="form-control" placeholder="Password"
     12             required="">
     13    </p>
     14
     15    <div th:text="${param.error}" class="text-danger"></div>
     16
     17    <button id="submit" class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
     18  </form>
     19</div>
Note: See TracChangeset for help on using the changeset viewer.