Advertisement
uopspop

Untitled

Aug 23rd, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. <!doctype html>
  2. <html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}"lang="en">
  3. <head>
  4. <title>Login</title>
  5. </head>
  6. <body>
  7.  
  8. <div layout:fragment="content">
  9. <div class="container main-content">
  10. <h3>Landon Hotel Employee Login</h3>
  11. <form th:action="@{/login}" method="post">
  12. <div th:if="${param.error}">
  13. <div class="alert alert-danger">
  14. Invalid username or password.
  15. </div>
  16. </div>
  17. <div class="form-group row">
  18. <label for="username" class="col-sm-2 col-form-label">Username</label>
  19. <div class="col-sm-6">
  20. <input type="text" id="username" name="username" class="form-control" placeholder="Username" autofocus="autofocus">
  21. </div>
  22. </div>
  23. <div class="form-group row">
  24. <label for="password" class="col-sm-2 col-form-label">Password</label>
  25. <div class="col-sm-6">
  26. <input type="password" id="password" name="password" class="form-control" placeholder="Password" autofocus="autofocus">
  27. </div>
  28. </div>
  29. <div class="form-group row">
  30. <div class="col-sm-2">
  31. <button type="submit" class="btn btn-primary">Sign in</button>
  32. </div>
  33. </div>
  34. </form>
  35. </div>
  36. </div>
  37.  
  38. </body>
  39. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement