source: src/main/resources/templates/registration.html

Last change on this file was f7c05a1, checked in by Elena Shulevska <elena.shulevska@…>, 16 months ago

initial commit of the source code on origin

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[f7c05a1]1<!doctype html>
2<html lang="en" xmln="http://www.w3.org/1999/xhtml">
3<head>
4 <!-- Required meta tags -->
5 <meta charset="utf-8">
6 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7
8 <!-- Bootstrap CSS -->
9 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
10
11 <title>Registration</title>
12</head>
13<body>
14<div class="container">
15</div>
16<div class="container mt-5">
17 <div class="row">
18 <div class="col-md-6 offset-md-3">
19 <img th:src="@{../logo.png}" class="img-fluid mx-auto d-block" width="350px" height="250px" alt="Logo">
20 <form method="POST" action="/api/register">
21 <div class="form-group">
22 <label for="embg">EMBG</label>
23 <input type="text" datatype="char" class="form-control" id="embg" name="embg">
24 </div>
25 <div class="form-group">
26 <label for="address">Address</label>
27 <input type="text" class="form-control" id="address" name="address">
28 </div>
29 <div class="form-group">
30 <label for="email">Email</label>
31 <input type="email" class="form-control" id="email" aria-describedby="emailHelp" name="email">
32 </div>
33 <div class="form-group">
34 <label for="username">Username</label>
35 <input type="text" class="form-control" id="username" name="username">
36 </div>
37 <div class="form-group">
38 <label for="password">Password</label>
39 <input type="password" class="form-control" id="password" name="password">
40 </div>
41 <div class="form-group">
42 <label for="repeatPassword">Confirm Password</label>
43 <input type="password" class="form-control" id="repeatPassword" name="repeatPassword">
44 </div>
45 <div th:if="${hasError}" class="mx-auto text-danger" style="width: 300px; text-align: center;">
46 <strong><th:block th:text="${error}"></th:block></strong>
47 </div>
48 <div class="form-group">
49 <label for="full_name">Full Name</label>
50 <input type="text" class="form-control" id="full_name" name="full_name">
51 </div>
52 <div class="form-group">
53 <label for="phone_number">Phone Number</label>
54 <input type="tel" class="form-control" id="phone_number" name="phone_number">
55 </div>
56 <button class="btn btn-lg btn-secondary btn-block" type="submit" id="submit">Sign up</button>
57 </form>
58 </div>
59 </div>
60</div>
61
62<!-- Optional JavaScript -->
63<!-- jQuery first, then Popper.js, then Bootstrap JS -->
64<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
65<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.16.6/dist/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></
Note: See TracBrowser for help on using the repository browser.