-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
148 lines (138 loc) · 6.91 KB
/
index.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Formative 3.2</title>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<div class="collapse bg-dark" id="navbarHeader">
<div class="container">
<div class="row">
<div class="col-12 2 py-4">
<h4 class="text-white">Add new Work</h4>
<form id="workForm" class="mt-3">
<div class="form-group">
<label for="workItem" class="text-light">Item Name</label>
<input type="text" name="workItem" id="workItem" class="form-control">
</div>
<div class="form-group">
<label for="workAuthor" class="text-light">Author</label>
<input type="text" name="workAuthor" id="workAuthor" class="form-control">
</div>
<div class="form-group">
<label for="authorURL" class="text-light">Author URL</label>
<input type="text" name="authorURL" id="authorURL" class="form-control">
</div>
<div class="form-group">
<label for="imageURL" class="text-light">Image URL</label>
<input type="text" name="imageURL" id="imageURL" class="form-control">
</div>
<div class="form-group">
<button id="submittedWork" type="submit" name="button" class="btn btn-primary btn-block">Submit New Item</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="navbar navbar-dark bg-dark shadow-sm">
<div class="container d-flex justify-content-between">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a href="#" class="navbar-brand d-flex align-items-center">
<strong>Formative 3.2</strong>
</a>
<button id="loginBtn" class="btn btn-light" type="button" name="button">Login / Register</button>
</div>
</div>
</header>
<main role="main">
<section class="jumbotron text-center">
<div class="container">
<h1 id="jumbotron-heading" class="jumbotron-heading">Welcome to our portfolio!</h1>
<p class="lead text-muted">Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don’t simply skip over it entirely.</p>
<p>
<a href="#" class="btn btn-success my-2">Main call to action</a>
<a href="#" class="btn btn-secondary my-2">Secondary action</a>
</p>
</div>
</section>
<div class="album py-5 bg-light">
<div class="container">
<div id="cardContainer" class="col-12 mb-3 d-flex justify-content-around flex-wrap"></div>
</div>
</main>
<div class="modal fade" id="authForm" tabindex="-1" role="dialog">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<ul class="nav nav-tabs nav-fill w-100">
<li class="nav-item">
<a class="nav-link active" id="loginTabBtn">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" id="RegisterTabBtn">Register</a>
</li>
</ul>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form id="loginForm" autocomplete="false" >
<div class="form-group">
<label for="lUsername">Username</label>
<input type="text" name="lUsername" id="lUsername" class="form-control">
</div>
<div class="form-group">
<label for="lPassword">Password</label>
<input type="password" name="lPassword" id="lPassword" class="form-control" autocomplete="new-password">
</div>
<div class="form-group">
<button type="submit" name="button" class="btn btn-primary btn-block">Login</button>
</div>
</form>
<form id="registerForm" autocomplete="false" class="d-none">
<div class="form-group">
<label for="rUsername">Username</label>
<input type="text" name="rUsername" id="rUsername" class="form-control">
</div>
<div class="form-group">
<label for="rEmail">Email</label>
<input type="email" name="rEmail" id="rEmail" class="form-control">
</div>
<div class="form-group">
<label for="rPassword">Password</label>
<input type="password" name="rPassword" id="rPassword" class="form-control" autocomplete="new-password">
</div>
<div class="form-group">
<label for="rConfirmPassword">Confirm Password</label>
<input type="password" name="rConfirmPassword" id="rConfirmPassword" class="form-control">
</div>
<div id="errRego"></div>
<div class="form-group">
<button type="submit" name="button" class="btn btn-dark btn-block">Register</button>
</div>
</form>
</div>
</div>
</div>
</div>
<footer class="text-muted">
<div class="container">
<p class="float-right">
<button type="button" class="btn btn-outline-info">Back to top</button>
</p>
</div>
</footer>
<script src="node_modules/jquery/dist/jquery.min.js" charset="utf-8"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js" charset="utf-8"></script>
<script src="node_modules/popper.js/dist/umd/popper.min.js" charset="utf-8"></script>
<script src="js/script.js" charset="utf-8"></script>
</body>
</html>