-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcreate.html
111 lines (108 loc) · 5.21 KB
/
create.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
<title>Create an Account</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./Assets/css/style.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<nav class="navbar navbar-light" style="background-color: #e3f2fd;">
<!-- <nav class="navbar navbar-expand-lg navbar-light bg-light style="background-color: #e3f2fd"> -->
<div class="container-fluid">
<a class="navbar-brand" href="./index.html">BOOKITE</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="./index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://stores.barnesandnoble.com/" target="_blank">Bookstore</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Dropdown
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<a href="./profile.html">
<button class="btn btn-outline-success" type="submit">Search</button>
</a>
</form>
</div>
</div>
</nav>
<!-- Button to Open the Modal -->
<button type="button" class="button" data-toggle="modal" data-target="#myModal">
Sign Up
</button>
<!-- The Modal -->
<div class="modal fade modal-centered-sm" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal body -->
<div class="modal-body">
<form action="insert.php" method="POST" style="text-align: center"; style="background-image:url(https://upload.wikimedia.org/wikipedia/commons/d/d0/Elegant_Background-3.jpg)";>
<table>
<tr>
<td><input class="codeView" type="text" name="fName" placeholder="First Name" style="background-color:rgba(255, 166, 0, 0)" required;><br></td>
</tr>
<tr>
<td><input class="codeView" type="text" name="lName" placeholder="Last Name" style="background-color:rgba(255, 166, 0, 0)" required;><br></td>
</tr>
<tr>
<td><input class="codeView" type="email" placeholder="Email" id="email" name="email" style="background-color:rgba(255, 166, 0, 0)" required;/><br></td>
</tr>
<tr>
<td><input type="password" placeholder="Password" name="password" id="password" required></td>
</tr>
<tr>
<td><input type="checkbox" onclick="myFunction()">Show Password</td>
</tr>
<tr>
<td><input class="codeView" type="text" name="username" placeholder="Username" style="background-color:rgba(255, 166, 0, 0)" required; ><br></td>
</tr>
<tr>
<td><input class="codeView" type="number" name="areaCode" placeholder="Area Code" style="background-color:rgba(255, 166, 0, 0)" required;><br></td>
</tr>
<tr>
<div>
<td><input type="submit" value="Submit" class="button" data-toggle="tooltip" title="Hooray!"/></td>
</tr>
</table>
</div>
</form>
<script>
function myFunction() {
var x = document.getElementById("password");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
$(document).ready(function(){
$('[data-toggle="popover"]').popover();
});
</script>
</div>
</div>
</div>
</div>
</body>
</html>