-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
384 lines (353 loc) · 22.2 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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Quote form example</title>
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./assets/css/bootstrap-datetimepicker.min.css" />
<script type="text/javascript" src="./assets/js/moment.min.js"></script>
<script type="text/javascript" src="./assets/js/bootstrap-datetimepicker.min.js"></script>
<script src="./assets/js/jquery.ui.widget.js"></script>
<script src="./assets/js/jquery.iframe-transport.js"></script>
<script src="./assets/js/jquery.fileupload.js"></script>
<script src="./assets/js/jquery.fileupload-process.js"></script>
<script src="./assets/js/jquery.fileupload-validate.js"></script>
<link rel="stylesheet" href="./assets/css/template.css">
</head>
<body>
<div class="container">
<div class="row text-center">
<!--<div class="alert alert-success" role="alert">
CCTV Quote Questions
</div>-->
<h2 class="sppb-addon-title">CCTV Quote Questions</h2>
<div id="sppb-addon-1511076922229" class="clearfix"><div class="sppb-addon sppb-addon-single-image sppb-text-center "><div class="sppb-addon-content"><div class="sppb-addon-single-image-container"><img class="sppb-img-responsive" src="assets/img/divider2.png" alt="divider2.png" style="margin: 0 auto;" title=""></div></div></div></div>
</div>
<div class="row">
<div class="col-sm-8">
<div class="row">
<form role="form" id="cctv-form" class="form-horizontal" enctype="multipart/form-data">
<div class="form-group">
<div class="col-sm-6">
<label>First name</label>
<input type="text" class="form-control" name="firstname" placeholder="First name">
</div>
<div class="col-sm-6">
<label>Last name</label>
<input type="text" class="form-control" name="lastname" placeholder="Last name">
</div>
</div>
<div class="form-group">
<label class="col-sm-12" for="companyfield">Company (optional)</label>
<div class="col-sm-12">
<input type="email" class="form-control" name="companyfield" placeholder="Company name (optional)">
</div>
</div>
<div class="form-group">
<label class="col-sm-12">Phone number</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="phonenum" placeholder="+1 XXX XXX XXXX">
</div>
<div class="col-sm-4">
<input type="text" class="form-control" name="phoneext" placeholder="ext">
</div>
</div>
<div class="form-group">
<label class="col-sm-12" for="emailfield">Email Address*</label>
<div class="col-sm-12">
<input type="email" class="form-control" name="emailfield" placeholder="Email (required)">
<span id="emailfield-help" class="help-block" style="display:none;">Wrong E-mail format!</span>
</div>
</div>
<div class="form-group">
<div class="col-sm-12">
<label style="padding-left: 0; font-weight: bold; vertical-align: middle; padding-top: 7px; margin: 0 10px 0 0;">Preferred method of contact</label>
<label class="radio-inline">
<input type="radio" name="preferredcontact" value="email">Email
</label>
<label class="radio-inline">
<input type="radio" name="preferredcontact" value="phone">Phone
</label>
</div>
</div>
<div class="form-group">
<label class="col-sm-12">Type of location</label>
<div class="col-sm-12">
<select class="form-control" name="locationtype">
<option value="0">Choose one</option>
<option value="1">Residential/Home</option>
<option value="2">Commercial/Business</option>
<option value="3">Government</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-12">Location material</label>
<div class="col-sm-12">
<select class="form-control" name="locationmaterial" >
<option value="0">Choose one</option>
<option>Drywall</option>
<option>Brick</option>
<option>Concrete</option>
<option>Other</option>
<option>I dont know</option>
</select>
</div>
</div>
<div class="form-group">
<div class="btn-group btn-group-justified col-sm-12" id="inOutDoor" role="group">
<div class="btn-group" role="group">
<button type="button" id="indoorButton" class="btn btn-default">Indoor</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="outdoorButton" class="btn btn-default">Outdoor</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="bothButton" class="btn btn-default">Both</button>
</div>
<input type="hidden" name="inoutdoor">
</div>
</div>
<div class="form-group">
<label class="col-sm-12">How many cameras</label>
<div class="col-sm-12">
<select class="form-control" name="cameras" >
<option value="0">Choose one</option>
<option value="1">1-4</option>
<option value="2">5-8</option>
<option value="3">9-12</option>
<option value="4">13-16</option>
<option value="5">16-31</option>
<option value="6">32+</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-12">Quality of cameras</label>
<div class="col-sm-12">
<select class="form-control" name="camerasquality" >
<option value="0">Choose one</option>
<option value="1">Good</option>
<option value="2">Better</option>
<option value="3">Best</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-12">How many days of recording</label>
<div class="col-sm-12">
<select class="form-control" name="daysofrec" >
<option value="0">Choose one</option>
<option value="1">1 day</option>
<option value="2">1 week</option>
<option value="3">2 weeks</option>
<option value="4">1 month</option>
<option value="5">More than a month</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-12" id="monitorSelected">
<label style="padding-left: 0; font-weight: bold; vertical-align: middle; padding-top: 7px; margin: 0 10px 0 0;">Monitor needed to view cameras?</label>
<label class="radio-inline">
<input type="radio" name="monitorneeded" value="yes">Yes
</label>
<label class="radio-inline">
<input type="radio" name="monitorneeded" value="no">No
</label>
</div>
</div>
<!-- start IF YES -->
<div class="form-group" id="monitorSizeBlock" style="display:none;">
<label class="col-sm-12" for="monitorSizeField">Monitor Size</label>
<div class="col-sm-12">
<select class="form-control" name="monitorsize" >
<option value="0">Choose one</option>
<option value="1">Small portable 7 inch</option>
<option value="2">19 inch</option>
<option value="3">32 inch</option>
<option value="4">42 inch</option>
<option value="5">Larger than 42</option>
</select>
</div>
</div>
<div class="form-group" id="mountedBlock" style="display:none;">
<label class="col-sm-12">Mounted on</label>
<div class="col-sm-12">
<select class="form-control" name="mountedon" >
<option value="0">Choose one</option>
<option value="1">wall</option>
<option value="2">ceiling</option>
<option value="3">stand</option>
</select>
</div>
</div>
<!-- end IF YES -->
<div class="form-group">
<div class="col-sm-12" id="inetConnection">
<label style="padding-left: 0; font-weight: bold; vertical-align: middle; padding-top: 7px; margin: 0 10px 0 0;">Do you have internet connection?</label>
<label class="radio-inline">
<input type="radio" name="internetconnection" value="yes">Yes
</label>
<label class="radio-inline">
<input type="radio" name="internetconnection" value="no">No
</label>
</div>
</div>
<!-- start IF NO -->
<div class="form-group" id="planToHaveConnectionBlock" style="display:none;">
<div class="col-sm-12" id="planToHaveConnection">
<label style="padding-left: 0; font-weight: bold; vertical-align: middle; padding-top: 7px; margin: 0 10px 0 0;">Do you plan on having Internet connection by install date?</label>
<label class="radio-inline">
<input type="radio" name="planinternetconnection" value="yes">Yes
</label>
<label class="radio-inline">
<input type="radio" name="planinternetconnection" value="no">No
</label>
</div>
</div>
<!-- end IF NO -->
<!-- start IF YES -->
<div class="form-group" id="inetTypeBlock" style="display:none;">
<label class="col-sm-12">What type of internet?</label>
<div class="col-sm-12">
<select class="form-control" name="internetconnectiontype">
<option value="0">Choose one</option>
<option>DSL</option>
<option>CABLE</option>
<option>FIOS</option>
<option>I dont know</option>
<option>No internet connection</option>
</select>
<span class="help-block">Internet is needed to view with mobile devices or computer.</span>
</div>
</div>
<!-- end IF YES -->
<div class="form-group">
<label class="col-sm-12">Installation date</label>
<div class="col-sm-12">
<select class="form-control" name="installationdate">
<option value="0">Choose one</option>
<option value="1">Within 72 hours (Extra fees apply)</option>
<option value="2">within 7 business days</option>
<option value="3">within 2 weeks</option>
<option value="4">No rush</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-12">Please choose date and time</label>
<div class="col-sm-12">
<div class="input-group date" id="datetimepicker">
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
<input type="text" class="form-control" name="dateandtime" placeholder="Choose date and time"/>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
$('#datetimepicker').datetimepicker();
});
</script>
<div class="form-group">
<label class="col-sm-12">Checklist of additional features</label>
<div class="col-sm-12">
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">Color display
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">Mic to listen
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">Pan, til, zoom, rotation
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">Night vision
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">Motion detector
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">Speaker to speak
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">Wireless
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">Hidden
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">License plate recognition
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="features[]">Dummy NON working - No internet connection required
</label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-12" for="uploadFile">Pics of location</label>
<div class="col-sm-12">
<input id="fileupload" type="file" name="files[]" data-url="server/" multiple>
<ul id="fileList"></ul>
<div id="fileListHidden" style="display:none"></div>
</div>
</div>
<div class="form-group">
<label class="col-sm-12">Any Additional Information</label>
<div class="col-sm-12">
<textarea class="form-control" name="additionalinfo"></textarea>
</div>
</div>
<button type="button" id="submitButton" class="btn btn-default">Submit</button>
</form>
</div>
</div>
<div class="col-sm-3">
<div data-spy="affix" data-offset-top="60" data-offset-bottom="200">
<div class="panel panel-default">
<div class="panel-heading">Approx amount in dollars</div>
<div class="panel-body" style="font-size: 24px; text-align: center;">
<span class="glyphicon glyphicon-usd"></span>
<span id="calculatedAmount">0</span>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="./assets/js/app.js"></script>
</body>
</html>