-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
179 lines (176 loc) · 5.81 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link
rel="icon"
type="image/png"
href="images/train-fav.png"
sizes="32x32"
/>
<title>Ligne H</title>
<link
rel="stylesheet"
href="bower_components/jquery-ui/themes/base/jquery-ui.css"
/>
<link rel="stylesheet" href="bower_components/c3/c3.css" />
<link
rel="stylesheet"
href="bower_components/bootstrap/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="bower_components/datatables.net-dt/css/jquery.dataTables.min.css"
/>
<!-- Custom styles -->
<link rel="stylesheet" href="styles/main.css" />
</head>
<body>
<!-- Nav bar -->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">Transilien's H line</a>
</div>
<div id="navbar" class="navbar-collapse collapse"></div>
<!--/.navbar-collapse -->
</div>
</nav>
<!-- Main map section -->
<section class="white">
<div class="container-fluid">
<div class="row">
<!-- Map -->
<div id="map" class="col-md-8">
<svg id="map-svg"></svg>
</div>
<!-- Information panel -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Traffic status</h3>
</div>
<!-- List group -->
<ul class="list-group">
<li class="list-group-item">
<button
id="button"
type="button"
class="btn btn-default"
data-toggle="button"
aria-pressed="false"
autocomplete="off"
>
Start
</button>
</li>
<li class="list-group-item">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input
type="radio"
name="options"
id="scheduled"
autocomplete="off"
/>
Scheduled
</label>
<label class="btn btn-default active">
<input
type="radio"
name="options"
id="observed"
autocomplete="off"
checked
/>
Observed
</label>
</div>
</li>
<li class="list-group-item">
Number of trains not departed yet: <b id="nbNotYetTrains"></b>
</li>
<li class="list-group-item">
Number of active trains: <b id="nbActiveTrains"></b> (with
<b id="nbDisplayError"></b> errors of display)
</li>
<li class="list-group-item">
Number of arrived trains: <b id="nbFinishedTrains"></b>
</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- Slider -->
<section class="grey">
<div class="container">
<div class="row">
<div class="col-md-12">
<h4>Time control: <b id="slider-title"></b></h4>
<div id="slider"></div>
<br />
</div>
<div class="col-md-6">
<h4>Speed control (real time x<b id="speed-value"></b>)</h4>
<div id="speed"></div>
<br />
</div>
<div class="col-md-6">
<h4>
Refresh time (every <b id="timer-delay-value"></b> milliseconds)
</h4>
<div id="timer-delay"></div>
<br />
</div>
</div>
</div>
</section>
<!-- Active trains table -->
<section class="white">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3>Active trains</h3>
<table
id="active-trains-table"
class="display"
width="100%"
></table>
</div>
</div>
</div>
</section>
<!-- Active trains during day -->
<section class="grey">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3>
Number of active trains during day compared to observed delay
</h3>
<div id="stacked-area-chart-active-trains"></div>
</div>
</div>
</div>
</section>
<!-- Tooltip -->
<div id="tooltip" , class="tooltip tooltip-hidden"></div>
<!-- 3rd Party Dependencies -->
<script src="bower_components/es6-shim/es6-shim.js"></script>
<script src="bower_components/underscore/underscore.js"></script>
<script src="bower_components/moment/min/moment.min.js"></script>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/jquery-ui/jquery-ui.js"></script>
<script src="bower_components/tether/dist/js/tether.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="bower_components/d3/d3.min.js"></script>
<script src="bower_components/d3-tip/index.js"></script>
<script src="bower_components/c3/c3.js"></script>
<!-- Custom -->
<script src="scripts/main.js" type="module"></script>
</body>
</html>