[f0232fb] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en">
|
---|
| 3 | <head>
|
---|
| 4 | <meta charset="UTF-8">
|
---|
| 5 | <title>Title</title>
|
---|
| 6 | <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
---|
| 7 | <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
---|
| 8 | <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
---|
| 9 | <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
---|
| 10 |
|
---|
| 11 | </head>
|
---|
| 12 | <body xmlns:th="http://www.thymeleaf.org">
|
---|
| 13 | <header>
|
---|
| 14 | <nav class="navbar navbar-expand-md navbar-dark bg-dark">
|
---|
| 15 | <div class="container">
|
---|
| 16 | <a class="navbar-brand" href="/home">Paw 5</a>
|
---|
| 17 | <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"
|
---|
| 18 | aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
|
---|
| 19 | <span class="navbar-toggler-icon"></span>
|
---|
| 20 | </button>
|
---|
| 21 |
|
---|
| 22 | <div class="collapse navbar-collapse justify-content-end" id="navbarsExampleDefault">
|
---|
| 23 | <ul class="navbar-nav m-auto">
|
---|
| 24 | <li class="nav-item m-auto">
|
---|
| 25 | <a class="nav-link active" href="/home/aboutUs">About us</a>
|
---|
| 26 | </li>
|
---|
[996b8ba] | 27 | <li class="nav-item m-auto" th:if="${session.user == null}">
|
---|
| 28 | <a class="nav-link active" href="/login" >Login</a>
|
---|
[f0232fb] | 29 | </li>
|
---|
[996b8ba] | 30 | <li class="nav-item m-auto" th:if="${session.user == null}">
|
---|
[f0232fb] | 31 | <a class="nav-link active" href="/register">Register</a>
|
---|
| 32 | </li>
|
---|
[996b8ba] | 33 | <li class="nav-item m-auto" th:if="${session.user != null}">
|
---|
| 34 | <a class="nav-link active">Log out</a>
|
---|
| 35 | </li>
|
---|
| 36 | <li class="nav-item m-auto" th:if="${session.user != null}">
|
---|
| 37 | <a class="nav-link active" href="/approve-adopters">Approve adopters</a>
|
---|
| 38 | </li>
|
---|
[f0232fb] | 39 | </ul>
|
---|
| 40 | </div>
|
---|
| 41 | </div>
|
---|
| 42 | </nav>
|
---|
| 43 | </header>
|
---|
| 44 | <div>
|
---|
| 45 |
|
---|
| 46 | <form method="post" action="/login">
|
---|
| 47 | <h1>Login</h1>
|
---|
| 48 | <label for="email">Username:</label>
|
---|
| 49 | <input type="text" id="email" name="email"><br><br>
|
---|
| 50 |
|
---|
| 51 | <label for="password">Password:</label>
|
---|
| 52 | <input type="password" id="password" name="password"><br><br>
|
---|
| 53 |
|
---|
| 54 | <input id="button" type="submit" value="Submit">
|
---|
| 55 |
|
---|
| 56 | </form>
|
---|
| 57 | <a href="/register" class="btn btn-block btn-light">Register here</a>
|
---|
| 58 | </div>
|
---|
| 59 | <style>
|
---|
| 60 | body{
|
---|
[da44aef] | 61 | color: #212121;
|
---|
[f0232fb] | 62 | }
|
---|
| 63 | form{
|
---|
[da44aef] | 64 | background-color: lightgray;
|
---|
[f0232fb] | 65 | text-align: center;
|
---|
| 66 | padding: 20px;
|
---|
| 67 | border-radius: 20px;
|
---|
| 68 | width: 60%;
|
---|
[da44aef] | 69 | margin-left: 300px;
|
---|
[f0232fb] | 70 | }
|
---|
| 71 | body{
|
---|
| 72 | font-family: Montserrat,serif;
|
---|
| 73 | }
|
---|
| 74 | #button{
|
---|
[da44aef] | 75 | background-color: #212121;
|
---|
[f0232fb] | 76 | color: azure;
|
---|
| 77 | border: none;
|
---|
| 78 | height: 40px;
|
---|
| 79 | width: 80px;
|
---|
| 80 | border-radius: 20px;
|
---|
| 81 | }
|
---|
| 82 | </style>
|
---|
| 83 | </body>
|
---|
| 84 | </html> |
---|