1 | <!DOCTYPE html>
|
---|
2 | <html lang="en">
|
---|
3 |
|
---|
4 | <head>
|
---|
5 | <meta charset="UTF-8">
|
---|
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
---|
7 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"
|
---|
8 | integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
|
---|
9 | <title>Register</title>
|
---|
10 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
---|
11 |
|
---|
12 | <style>
|
---|
13 | body {
|
---|
14 | background-size: cover;
|
---|
15 | background-repeat: no-repeat;
|
---|
16 | background-attachment: fixed;
|
---|
17 | margin: 0;
|
---|
18 | padding: 0;
|
---|
19 | font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
---|
20 | }
|
---|
21 |
|
---|
22 | .container {
|
---|
23 | display: flex;
|
---|
24 | justify-content: center;
|
---|
25 | align-items: center;
|
---|
26 | min-height: 100vh;
|
---|
27 | }
|
---|
28 |
|
---|
29 | .card {
|
---|
30 | background: rgba(255, 255, 255, 0.9);
|
---|
31 | border: none;
|
---|
32 | box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
|
---|
33 | border-radius: 10px;
|
---|
34 | width: 450px;
|
---|
35 | }
|
---|
36 |
|
---|
37 | .card-title {
|
---|
38 | text-align: center;
|
---|
39 | font-size: 24px;
|
---|
40 | font-weight: bold;
|
---|
41 | margin-bottom: 20px;
|
---|
42 | color: #333;
|
---|
43 | }
|
---|
44 |
|
---|
45 | .form-label {
|
---|
46 | font-weight: bold;
|
---|
47 | }
|
---|
48 |
|
---|
49 | .form-control {
|
---|
50 | border: 2px solid #ccc; /* Increased border width */
|
---|
51 | border-radius: 5px;
|
---|
52 | padding: 16px; /* Increased padding */
|
---|
53 | font-weight: bold; /* Increased font weight */
|
---|
54 | }
|
---|
55 |
|
---|
56 | .form-control:focus {
|
---|
57 | border-color: #007bff;
|
---|
58 | box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
|
---|
59 | }
|
---|
60 |
|
---|
61 | .btn-primary {
|
---|
62 | background-color: #007bff;
|
---|
63 | border: none;
|
---|
64 | border-radius: 5px;
|
---|
65 | padding: 12px 24px; /* Increased padding */
|
---|
66 | font-size: 16px;
|
---|
67 | font-weight: bold;
|
---|
68 | color: white;
|
---|
69 | transition: background-color 0.3s ease;
|
---|
70 | }
|
---|
71 |
|
---|
72 | .btn-primary:hover {
|
---|
73 | background-color: #0056b3;
|
---|
74 | }
|
---|
75 |
|
---|
76 | .card-footer {
|
---|
77 | text-align: center;
|
---|
78 | background-color: #f8f9fa;
|
---|
79 | border-top: 1px solid #ccc;
|
---|
80 | border-radius: 0 0 10px 10px;
|
---|
81 | padding: 10px;
|
---|
82 | }
|
---|
83 | </style>
|
---|
84 |
|
---|
85 | </head>
|
---|
86 |
|
---|
87 | <body>
|
---|
88 | <div class="container">
|
---|
89 | <div class="card">
|
---|
90 | <div class="card-body">
|
---|
91 | <h2 class="card-title">Register</h2>
|
---|
92 | <form method="post" action="/register">
|
---|
93 |
|
---|
94 | <div class="mb-3">
|
---|
95 | <label for="firstName" class="form-label">First Name</label>
|
---|
96 | <input type="text" class="form-control" id="firstName" name="firstName"
|
---|
97 | placeholder="Enter your first name">
|
---|
98 | </div>
|
---|
99 |
|
---|
100 | <div class="mb-3">
|
---|
101 | <label for="lastName" class="form-label">Last Name</label>
|
---|
102 | <input type="text" class="form-control" id="lastName" name="lastName"
|
---|
103 | placeholder="Enter your last name">
|
---|
104 | </div>
|
---|
105 |
|
---|
106 | <div class="mb-3">
|
---|
107 | <label for="username" class="form-label">Username</label>
|
---|
108 | <input type="text" class="form-control" id="username" name="username"
|
---|
109 | placeholder="Enter your username">
|
---|
110 | </div>
|
---|
111 |
|
---|
112 | <div class="mb-3">
|
---|
113 | <label for="password" class="form-label">Password</label>
|
---|
114 | <input type="password" class="form-control" id="password" name="password"
|
---|
115 | placeholder="Enter your password">
|
---|
116 | </div>
|
---|
117 |
|
---|
118 | <div class="d-grid">
|
---|
119 | <button type="submit" class="btn btn-primary">Register</button>
|
---|
120 | </div>
|
---|
121 | </form>
|
---|
122 | </div>
|
---|
123 | <div class="card-footer">
|
---|
124 | <p>© 2023 Your STMA</p>
|
---|
125 | </div>
|
---|
126 | </div>
|
---|
127 | </div>
|
---|
128 |
|
---|
129 | <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
|
---|
130 | integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
|
---|
131 |
|
---|
132 | </body>
|
---|
133 |
|
---|
134 | </html> |
---|