This repository has been archived by the owner on Aug 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
100 lines (93 loc) · 1.98 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
<!DOCTYPE html5>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="msapplication-tap-highlight" content="no" />
<link rel="stylesheet" type="text/css" href="./assets/autocomplete.css">
<style>
html, body {
height: 100%;
}
body{
margin: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 100%;
font-family: Helvetica;
background: #222;
}
form{
margin: 0;
padding: 0;
position: fixed;
top: 10px;
right: 2px;
background: rgba(0,0,0,0.5);
width: 300px;
border-radius: 10px;
transform: scale(0.8, 0.8);
}
#error{
color: #f60;
margin: 0;
padding: 7.5px 5px 0 5px;
text-align: center;
font-size: 130%;
}
.station{
display: block;
margin: 7.5px auto;
color: #fff;
height: 3ex;
width: 285px;
background: #444;
border: none;
border: 1px solid #eee;
font-size: 150%;
padding: 0 .25em;
border-radius: 5px;
}
#submit{
display: block;
margin: 7.5px auto;
color: #fff;
width: 285px;
height: 3ex;
background: #282828;
border: 1px solid #eee;
font-size: 150%;
padding: 0 .25em;
border-radius: 5px;
}
#submit:hover{
background: rgba(0,0,0,0.75);
}
#map {
width: 100%;
height: 100%;
max-width: 100vw;
max-height: 100vh;
overflow: scroll;
}
#map .bg {
opacity: .7;
}
</style>
</head>
<body>
<svg id="map" viewBox="-10 -50 2300 1600" preserveAspectRatio="xMidYMid meet" xmlns:xlink="http://www.w3.org/1999/xlink"></svg>
<!-- <form id="routing" action="#">
<p id="error"></p>
<input type="text" class="station" id="from-station" placeholder="Startbahnhof">
<input type="text" class="station" id="to-station" placeholder="Zielbahnhof">
<input type="submit" id="submit" value="Los!">
</form> -->
<!-- <script src="./assets/jquery.js"></script>
<script src="./assets/jquery.autocomplete.js"></script>
<script src="./assets/lodash.js"></script>
<script src="routing.js"></script> -->
<script data-main="scripts/app" src="bundle.js"></script>
</body>
</html>