-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddRoute.html
84 lines (77 loc) · 3 KB
/
addRoute.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Add Route</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="mobile-web-app-capable" content="yes"/>
<link rel="shortcut icon" sizes="196x196" href="images/icon.png"/>
<link rel="apple-touch-icon-precomposed" href="images/icon.png"/>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700" rel="stylesheet">
</head>
<body>
<!-- Your content here -->
<div id="shadowDiv">
</div>
<form id="inputTitleField">
<p style="font-size: 24px; margin: 0">PATH TITLE</p>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="titleInput">
<label class="mdl-textfield__label">McDonalds to KFC</label>
</div>
<button class="mdl-button cancelButton" onclick="location.href = 'index.html'">
CANCEL
</button>
<button class="mdl-button doneButton" onclick="finalisePath()">
SAVE
</button>
</form>
<!-- All the buttons -->
<button class="mdl-button exitButton mdl-button--fab mdl-button--colored" onclick="location.href = 'index.html'">
<i class="material-icons">
close
</i>
</button>
<button class="mdl-button savePointButton mdl-button--fab mdl-button--colored" onclick="proceed()">
<i class="material-icons">
save
</i>
</button>
<button class="mdl-button setPointButton mdl-button--fab mdl-button--colored" onclick="setPoint()">
<i class="material-icons">
add_location
</i>
</button>
<button class="mdl-button recenterButton mdl-button--fab mdl-button--colored" onclick="panToCenter()">
<i class="material-icons">
gps_fixed
</i>
</button>
<button class="mdl-button undoButton mdl-button--fab mdl-button--colored" onclick="undoPoint()">
<i class="material-icons">
undo
</i>
</button>
<button class="mdl-button moveMarkerButton mdl-button--fab mdl-button--colored" onclick="moveMarker()">
<i class="material-icons">
vertical_align_bottom
</i>
</button>
<div id="mapCanvas">
<div id="map"></div>
</div>
<!-- Toast -->
<div id="toast" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
<!-- JavaScript files: -->
<script src="js/utility.js"></script>
<script src="js/shared.js"></script>
<script src="js/addRoutePage.js"></script>
</body>
</html>