[f0232fb] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en" xmlns:th="http://www.thymeleaf.org">
|
---|
| 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>
|
---|
| 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>
|
---|
| 27 | <li class="nav-item m-auto">
|
---|
| 28 | <a class="nav-link active" href="/login">Login</a>
|
---|
| 29 | </li>
|
---|
| 30 | <li class="nav-item m-auto">
|
---|
| 31 | <a class="nav-link active" href="/register">Register</a>
|
---|
| 32 | </li>
|
---|
| 33 | </ul>
|
---|
| 34 | </div>
|
---|
| 35 | </div>
|
---|
| 36 | </nav>
|
---|
| 37 | </header>
|
---|
| 38 | <h3>You can take one or more roles on our site.</h3>
|
---|
| 39 | <p>You want to adopt or foster a pet? - You are an adopter <br>
|
---|
| 40 | You want your pet to be adopted by another person? - You are a surendee <br>
|
---|
| 41 | You want to donate to an organisation protection animal rights? - You are a donor<br>
|
---|
| 42 | You work in one of our partner's shelters? - You are an employee <br>
|
---|
| 43 | </p>
|
---|
| 44 | <div>
|
---|
| 45 | <form method="post" action="/register"> <!--vaka e na aud-->
|
---|
| 46 | <h1>Register</h1>
|
---|
| 47 | <label for="name">Name and surname:</label>
|
---|
| 48 | <input type="text" id="name" name="name"><br><br>
|
---|
| 49 |
|
---|
| 50 | <label for="email">Email:</label>
|
---|
| 51 | <input type="email" id="email" name="email"><br><br>
|
---|
| 52 |
|
---|
| 53 | <label for="password">Password:</label>
|
---|
| 54 | <input type="password" id="password" name="password"><br><br>
|
---|
| 55 |
|
---|
| 56 | <label for="repeatPassword">Repeat password:</label>
|
---|
| 57 | <input type="password" id="repeatPassword" name="repeatPassword"><br><br>
|
---|
| 58 |
|
---|
| 59 | <label for="telephone">Telephone number:</label>
|
---|
| 60 | <input type="text" id="telephone" name="telephone"><br><br>
|
---|
| 61 |
|
---|
| 62 |
|
---|
| 63 | <!-- Employee -->
|
---|
| 64 | <label for="employee">Register as employee in a shelter</label>
|
---|
| 65 | <input type="checkbox" id="employee" name="employee" value="yes"><br><br>
|
---|
| 66 |
|
---|
| 67 | <label for="shelter">From which organisation are you coming from?</label>
|
---|
| 68 | <select id="shelter" name="shelter" class="form-control">
|
---|
| 69 |
|
---|
| 70 | <option
|
---|
| 71 | th:each="sh : ${shelters}"
|
---|
| 72 | th:value="${sh.getId()}"
|
---|
| 73 | th:text="${sh.getName()}">
|
---|
| 74 | </option>
|
---|
| 75 |
|
---|
| 76 | </select>
|
---|
| 77 |
|
---|
| 78 | <label for="position">Register as employee in a shelter</label>
|
---|
| 79 | <input type="text" id="position" name="position" value="yes"><br><br>
|
---|
| 80 |
|
---|
| 81 |
|
---|
| 82 | <!-- Adopter -->
|
---|
| 83 | <label for="adopter">Register as adopter</label>
|
---|
| 84 | <input type="checkbox" id="adopter" name="adopter" value="yes"><br><br>
|
---|
| 85 |
|
---|
| 86 | <label for="freeTime">Free time:</label>
|
---|
| 87 | <select id="freeTime" name="freeTime">
|
---|
| 88 | <option value="LOW">low</option>
|
---|
| 89 | <option value="MEDIUM">medium</option>
|
---|
| 90 | <option value="HIGH">high</option>
|
---|
| 91 | </select><br><br>
|
---|
| 92 |
|
---|
| 93 | <label for="funds">Finances:</label>
|
---|
| 94 | <select id="funds" name="funds">
|
---|
| 95 | <option value="LOW">low</option>
|
---|
| 96 | <option value="MEDIUM">medium</option>
|
---|
| 97 | <option value="HIGH">high</option>
|
---|
| 98 | </select><br><br>
|
---|
| 99 |
|
---|
| 100 | <label for="hasOtherPets">You keep other pets</label>
|
---|
| 101 | <input type="checkbox" id="hasOtherPets" name="hasOtherPets" value="yes"> Yes <br><br>
|
---|
| 102 |
|
---|
| 103 | <label for="hasKids">The adopted pet will have interaction with kids</label>
|
---|
| 104 | <input type="checkbox" id="hasKids" name="hasKids" value="yes"><br><br>
|
---|
| 105 |
|
---|
| 106 | <label for="housing">Housing:</label>
|
---|
| 107 | <select id="housing" name="housing">
|
---|
| 108 | <option value="APARTMENT">apartment</option>
|
---|
| 109 | <option value="HOUSE">house</option>
|
---|
| 110 | </select><br><br>
|
---|
| 111 |
|
---|
| 112 | <label for="physicalActivity">Physical activity:</label>
|
---|
| 113 | <select id="physicalActivity" name="physicalActivity">
|
---|
| 114 | <option value="LOW">low</option>
|
---|
| 115 | <option value="MEDIUM">medium</option>
|
---|
| 116 | <option value="HIGH">high</option>
|
---|
| 117 | </select><br><br>
|
---|
| 118 |
|
---|
| 119 | <label for="willFoster">The adopted pet will have interaction with kids</label>
|
---|
| 120 | <input type="checkbox" id="willFoster" name="willFoster" value="yes"><br><br>
|
---|
| 121 |
|
---|
| 122 | <!-- Donor -->
|
---|
| 123 | <label for="donor">Register as donor</label>
|
---|
| 124 | <input type="checkbox" id="donor" name="donor" value="yes"><br><br>
|
---|
| 125 |
|
---|
| 126 | <label for="organisation">From which organisation are you coming from?</label>
|
---|
| 127 | <select id="organisation" name="organisation">
|
---|
| 128 | <option value="EVN">EVN</option>
|
---|
| 129 | </select><br><br>
|
---|
| 130 |
|
---|
| 131 | <!-- Surendee -->
|
---|
| 132 | <label for="surendee">Register as surendee</label>
|
---|
| 133 | <input type="checkbox" id="surendee" name="surendee" value="yes"><br><br>
|
---|
| 134 |
|
---|
| 135 | <input id="button" type="submit" value="Submit">
|
---|
| 136 | </form>
|
---|
| 137 | </div>
|
---|
| 138 | </body>
|
---|
| 139 | <style>
|
---|
| 140 | body{
|
---|
| 141 | color: darkslategray;
|
---|
| 142 | }
|
---|
| 143 | form{
|
---|
| 144 | background-color: bisque;
|
---|
| 145 | text-align: center;
|
---|
| 146 | padding: 20px;
|
---|
| 147 | border-radius: 20px;
|
---|
| 148 | width: 60%;
|
---|
| 149 | }
|
---|
| 150 | body{
|
---|
| 151 | font-family: Montserrat,serif;
|
---|
| 152 | }
|
---|
| 153 | #button{
|
---|
| 154 | background-color: cadetblue;
|
---|
| 155 | color: azure;
|
---|
| 156 | border: none;
|
---|
| 157 | height: 40px;
|
---|
| 158 | width: 80px;
|
---|
| 159 | border-radius: 20px;
|
---|
| 160 | }
|
---|
| 161 | </style>
|
---|
| 162 | </html>
|
---|