source: src/main/resources/templates/register_business.html@ 2b0a4db

Last change on this file since 2b0a4db was 2b0a4db, checked in by Gjoko Kostadinov <gjoko.kostadinov@…>, 22 months ago

Fix page layout and js bugs.

  • Property mode set to 100644
File size: 5.8 KB
RevLine 
[204464d]1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
[a436340]5 <title>Schedlr</title>
[204464d]6
[2b0a4db]7 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
8 integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
9
[a436340]10 <link rel="stylesheet" href="css/login.css">
11
[204464d]12</head>
13<body>
14<div class="px-4 py-5 px-md-5 text-center text-lg-start" style="background-color: hsl(0, 0%, 96%); height: 100vh;">
15 <div class="container">
16 <div class="row gx-lg-5 align-items-center">
17 <div class="col-lg-6 mb-5 mb-lg-0">
18 <h1 class="my-5 display-3 fw-bold ls-tight">
[2b0a4db]19 Register as <br/>
[204464d]20 <span class="text-primary">a business</span>
21 </h1>
22 <p style="color: hsl(217, 10%, 50.8%)">
23 Let the new customers come to you.
24 </p>
25 </div>
26
27 <div class="col-lg-6 mb-5 mb-lg-0">
28 <div class="card">
29 <div class="card-body py-5 px-md-5">
30 <form>
[a436340]31 <div class="text-center">
32 <p>Personal Info</p>
33 </div>
34
[204464d]35 <!-- 2 column grid layout with text inputs for the first and last names -->
36 <div class="row">
37 <div class="col-md-6 mb-4">
38 <div class="form-outline">
[2b0a4db]39 <input type="text" id="firstName" class="form-control" placeholder="Username"
40 aria-label="Username"/>
[204464d]41 </div>
42 </div>
43 <div class="col-md-6 mb-4">
44 <div class="form-outline">
[2b0a4db]45 <input type="text" id="lastName" class="form-control" placeholder="Last name"
46 aria-label="lastname"/>
[204464d]47 </div>
48 </div>
49 </div>
50
51 <!-- Email input -->
52 <div class="form-outline mb-4">
[2b0a4db]53 <input type="email" id="email" class="form-control" placeholder="Email"
54 aria-label="Email"/>
[204464d]55 </div>
56
[a436340]57 <!-- Email input -->
[204464d]58 <div class="form-outline mb-4">
[2b0a4db]59 <input type="text" id="username" class="form-control" placeholder="Username"
60 aria-label="username"/>
[204464d]61 </div>
62
[a436340]63 <!-- Password input -->
64 <div class="form-outline mb-4">
[2b0a4db]65 <input type="password" id="password" class="form-control" placeholder="Password"
66 aria-label="password"/>
[204464d]67 </div>
68
69 <div class="text-center">
[a436340]70 <p>Company Info</p>
71 </div>
[204464d]72
[a436340]73 <div class="form-outline mb-4">
[2b0a4db]74 <input type="email" id="companyName" class="form-control" placeholder="Company Name"
75 aria-label="companyName"/>
[a436340]76 </div>
[204464d]77
[a436340]78 <div class="form-outline mb-4">
[2b0a4db]79 <select class="form-select" id="companyType" aria-label="Default select example">
80 <option disabled selected hidden>Company Type</option>
[a436340]81 </select>
82 </div>
[204464d]83
[2b0a4db]84 <div class="text-center">
85 <p>Select from the predefined services or add a new one</p>
86 </div>
87
88 <div class="row">
89 <div class="form-outline col-md-10">
90 <div class="form-outline">
91 <input type="text" id="services" class="form-control" placeholder="Services"
92 aria-label="services"/>
93 </div>
94 </div>
95 <div class="form-outline col-md-2 d-grid">
96 <button class="btn btn-primary" id="add_service">Add</button>
97 </div>
98 </div>
99
100
101 <div id="predefined_services" class="form-outline mb-4">
[204464d]102 </div>
[a436340]103
104
105 <!-- Submit button -->
106 <button type="submit" class="btn btn-primary btn-block mb-4">
107 Sign up
108 </button>
[204464d]109 </form>
110 </div>
111 </div>
112 </div>
113 </div>
114 </div>
115</div>
[2b0a4db]116<!-- jQuery library -->
117<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
118 integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
119 crossorigin="anonymous"></script>
120<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"
121 integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3"
122 crossorigin="anonymous"></script>
123<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
[a436340]124<script src="js/register_business.js" type="text/javascript"></script>
[204464d]125</body>
126</html>
Note: See TracBrowser for help on using the repository browser.