-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·240 lines (220 loc) · 11.8 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html>
<html>
<head>
<title>Nozama Aquatic Aquisitions</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Do not add `link` tags-->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<!-- Do not add `script` tags-->
<script src="./assets/scripts/stripe-checkout.js"></script>
<script src="public/vendor.js" type="text/javascript" charset="utf-8" defer></script>
<script src="public/application.js" type="text/javascript" charset="utf-8" defer></script>
</head>
<body>
<!-- HEADER MAIN -->
<div id="header-nav">
<div id="alert-zone" class="alert-text"></div>
<div id="header-logo" class="header"><img src="https://i.imgur.com/pneYOQE.gif" width="160" class="nozama-logo"></div>
<!-- <div id="header-announcer" class="header">announcer</div> -->
<div id="header-checkout-icon" class="header">
<form class="form-inline justify-content-end">
<button id="shopping-cart-button" class="shopping-cart btn hidden btn-outline-success" data-toggle="modal" data-target="#shoppingCartModal" type="button">
<img src="https://i.imgur.com/lLsFMPG.gif" width="45">
</button>
</form>
</div>
<div id="header-user-options" class="header">
<form class="form-inline justify-content-end">
<button id="sign-out-modal-button" class="sign-out hidden btn btn-outline-success" type="button" data-toggle="modal" data-target="#signOutModal"><span>Sign Out</span></button>
<button id="change-password-button" class="change-password hidden btn btn-outline-success" data-toggle="modal" data-target="#changePasswordModal" type="button"><span>Change Password</span></button>
<button id="sign-in-button" class="sign-in btn btn-outline-success" data-toggle="modal" data-target="#signInModal" type="button"><span>Sign In</span></button>
<button id="sign-up-button" class="sign-up btn btn-outline-success" data-toggle="modal" data-target="#signUpModal" type="button"><span>Sign Up</span></button>
<button id="see-orders-button" class="see-orders hidden btn btn-outline-success" data-toggle="modal" data-target="#seeOrdersModal" type="button"><span>My Orders</span></button>
</form>
</div>
</div>
<!-- HERO MAIN -->
<div id="hero">
<img src="https://i.imgur.com/ZHz0OeX.gif" width="400" alt="Nozamalogo">
</div>
<!-- SECTIONS MAIN -->
<div id="sections">
<div id="section-headline" class="section-text">
<!-- <h2> -->
<!-- DEPR - LINKS IN SECTIONS -->
<!-- <a href="null">Link</a> | <a href="null">Link</a> | <a href="null">Link</a> | <a href="null">Link</a> | <a href="null">Link</a> -->
Welcome to <b>Nozama.com™</b> - Your Home For Great Deals!
<!-- </h2> -->
</div>
</div>
<div id="body-container">
<!-- MARKETPLACE MAIN -->
<div id="marketplace">
<div class="empty-marketplace">
<h2>Pulling up our online marketplace...</h2>
</div>
</div>
<!-- FOOTER MAIN -->
<div id="footer">
</div>
<!-- CHANGE PASSWORD Modal -->
<div class="modal fade" id="changePasswordModal" tabindex="-1" role="dialog" aria-labelledby="changePasswordModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="changePasswordModalLabel">Change Password</h5>
<button type="button" class="close clear-auth-alert-modal" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form id="change-password-form">
<input name="passwords[old]" placeholder='Old Password' type='password' required/>
<input name="passwords[new]" placeholder='New Password' type='password' required/>
</form>
<p class="auth-alert-modal"></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary clear-auth-alert-modal" data-dismiss="modal">Close</button>
<button class="btn" type="submit" form="change-password-form">Change Password</button>
<p class="auth-alert"></p>
</div>
</div>
</div>
</div>
<!-- SIGN IN Modal -->
<div class="modal fade" id="signInModal" tabindex="-1" role="dialog" aria-labelledby="signInModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="signInModalLabel">Sign In</h5>
<button type="button" class="close clear-auth-alert-modal" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form id="signin-form">
<input name="credentials[email]" placeholder='Email' type='text' required/>
<input name="credentials[password]" placeholder='Password' type='password' required/>
<p class="auth-alert-modal"></p>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary clear-auth-alert-modal" data-dismiss="modal">Close</button>
<button class="btn" type="submit" form="signin-form">Sign In</button>
</div>
</div>
</div>
</div>
<!-- SIGN UP Modal -->
<div class="modal fade" id="signUpModal" tabindex="-1" role="dialog" aria-labelledby="signUpModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="signUpModalLabel">Sign Up</h5>
<button type="button" class="close clear-auth-alert-modal" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form id="signup-form">
<input name="credentials[email]" placeholder='Email' type='text' required/>
<input name="credentials[password]" placeholder='Password' type='password' required/>
<input name="credentials[password_confirmation]" placeholder='Password Confirmation' type='password' required/>
</form>
<p class="auth-alert-modal"></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary clear-auth-alert-modal" data-dismiss="modal">Close</button>
<button class="btn" type="submit" form="signup-form">Sign Up</button>
</div>
</div>
</div>
</div>
<!-- SEE ORDERS Modal -->
<div class="modal fade" id="seeOrdersModal" tabindex="-1" role="dialog" aria-labelledby="seeOrdersModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="seeOrdersModalLabel">My Orders</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="past-orders">
<h3>Past Orders</h3>
<div id="past-order-list">
<!-- TO BE FILLED IN BY HANDLEBARS -->
</div>
</div>
<div id="order-detail">
<div id='past-order-id'></div>
<div id='past-order-total'></div>
<div id="order-detail-detail">
<!-- TO BE FILLED IN BY HANDLEBARS -->
</div>
</div> <!-- order-detail -->
<button type="button" id="orders-close-button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div> <!-- modal-body -->
</div>
<div class="modal-footer" id="see-orders-modal-footer">
</div>
</div>
</div>
</div>
<!-- SHOPPING CART modal -->
<div class="modal fade" id="shoppingCartModal" tabindex="-1" role="dialog" aria-labelledby="shoppingCartModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="shoppingCartModalLabel">Shopping Cart</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="shopping-cart" data-id="noUserSignedIn">
<h3>Order # <span class="order-id">Uh oh! No user is signed in!</span></h3>
<div id="cart-items">
<!-- TO BE FILLED IN BY HANDLEBARS -->
</div>
</div>
<br>
<div id="order-total-div">Order Total: $<span class="order-total">Uh oh! No order is loaded!</span></div>
<br>
<p><strong>Just testing?</strong> Use card number 4242 4242 4242 4242 with any future expiration date and any 3-digit security code to create a fake payment in Stripe on the next screen.<p>
<p id="checkout-alert-modal"></p>
</div>
<div class="modal-footer">
<div id="shop">
<button id="buttonCheckout" class="hidden" data-amount="0" data-order="null">Checkout</button>
</div>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- SIGN OUT Modal -->
<div class="modal fade" id="signOutModal" tabindex="-1" role="dialog" aria-labelledby="signOutModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="signOutModalLabel">Sign Out</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Signing out will clear your cart. Do you want to continue?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
<!-- <button id="sign-out-button" class="sign-out btn btn-outline-success" type="button"><span>Sign Out</span></button> -->
<button id="sign-out-button" class="sign-out btn btn-outline-success">Sign Out</button>
</div>
</div>
</div>
</div>
</body>
</html>