-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (65 loc) · 2.34 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
<!DOCTYPE html>
<html>
<head>
<title>Map</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<link rel="stylesheet" href="usamap.css">
</head>
<body>
<form id="quote-form" class="control-panel">
<div><b>Generate quote</b></div>
<div>
<span>P: <input id="p-input" class="controls" type="text" placeholder="Pickup zip"></span>
<span>D: <input id="d-input" class="controls" type="text" placeholder="Delivery zip"></span>
</div>
<div id="job-type-selector">
<span>
<input type="radio" name="type" id="setjob-direct" checked="checked">
<label for="setjobtype-direct">Direct</label>
</span>
<span>
<input type="radio" name="type" id="setjob-hold">
<label for="setjobtype-hold">Hold</label>
</span>
<span>
<input type="radio" name="type" id="setjob-rt">
<label for="setjobtype-rt">Roundtrip</label>
</span>
</div>
</form>
<div id="map"></div>
<div id="dispatch-panel" class="control-panel">
<div><b>Base mileage: </b><span id="mileage"></span></div>
<div><b>Base quote: </b><span id="quote"></span></div>
<div><b>Courier: </b><span id="courier">Click map to add</span></div>
<div><b>Courier phone: </b><span id="ph"></span></div>
<div><b>$3/mi quote: </b><span id = "$3-quote"></span></div>
<form>
<div>
<b>Rate: </b>
<span>
<select id="rate" name="dispatch">
<option value="45">Default</option>
<option value="95">PS</option>
<option value="110">Hazmat</option>
</select>
</span>
</div>
<div>
<b>Add charges: </b>
<span>
<select id="add" name="dispatch">
<option value="0">None</option>
<option value="25">Weeknight</option>
<option value="45">Weekend</option>
<option value="45">Van</option>
</select>
</span>
</div>
</form>
</div>
<script src ="scripts/usamap.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyASF5hKHStSm4i3v2-XdyHFR_bUqWLh4m4&libraries=places&callback=initMap" type="text/javascript"></script>
</body>
</html>