-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php.bak
96 lines (82 loc) · 2.89 KB
/
index.php.bak
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
<html>
<head>
<title>
ediCycle
</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<link rel="icon" type="image/x-icon" href="favicon.ico" >
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link href="css/penIsYellow.css" rel="stylesheet" type="text/css" />
<script src="js/penIsBlack.js" ></script>
<script src="js/colorConversion.js" ></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&key=APIKEYGOESHERE"></script>
<script src="js/map.js" ></script>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<!-- <script type="text/javascript"> -->
<?php include_once("js/analyticstracking.php") ?>
<!-- </script> -->
</head>
<body>
<div class="put-box" id="input-form">
<div class="title">
ediCycle
</div>
<img src="images/bike2.png" class="logo"/>
<div class="input-form">
<form action="" name="route_form" method="POST">
<div id="origin-label" class="label">
<label for="origin">
Origin:
</label>
</div>
<div id="origin-box">
<input type="text" name="origin" class="input"/>
</div>
<div id="destination-label" class="label">
<label for="destination">
Destination:
</label>
</div>
<div id="destination-box">
<input type="text" name="destination" class="input"/>
</div>
<div id="unit-box">
<fieldset>
<legend>Unit system:</legend>
<input type="radio" name="units" id="units-metric" checked="checked">Metric
<br />
<input type="radio" name="units" id="units-imperial">Imperial
</fieldset>
</div>
<input type="submit" value="Submit" name="submit" onClick="return show_route_json()" class="button" />
</form>
</div>
<div onClick="switch_inputs()">
<img src="images/arrows.svg" id="switch-button" />
</div>
</div>
<div class="put-box" id="output-form"></div>
<div id="loader">
<img src="/images/ajax-loader(1).gif" id="loader_gif"/>
</div>
<script>
document.getElementById("input-form").style.display="block";
document.getElementById("output-form").style.display="none";
document.getElementById("loader").style.display="none";
</script>
<div class="description">
<span id="description">
Just type in a destination and a place of departure in Edinburgh, and you'll get the safest routes. The ratings are given based on records of previous accidents, and are calculated considering the length of the journey and the density of previous incidents.
<span id="copyright">
Uses Edinburgh City Council data on bike accidents.
Made by go4itprincess @<a href="http://data.inf.ed.ac.uk/ilwhack/index.php">ILW hackathon</a>.
<span id="ss">
Who is the princess?
</span>
<a href="mailto:feedback@edicycle.eu">Feedback</a>
</span>
</span>
</div>
<div id="map_canvas"></div>
</body>
</html>