-
Notifications
You must be signed in to change notification settings - Fork 0
/
line.html
178 lines (176 loc) · 8.21 KB
/
line.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
<!DOCTYPE html>
<html lang="en" translate="no">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,GRAD@48,400,0,0" />
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./css/styles.css">
<link rel="icon" type="image/x-icon" href="./imgs/favicon.ico">
<script src="./scripts/jquery.slim.min.js"></script>
<script src="./scripts/popper.min.js"></script>
<script src="./scripts/bootstrap.min.js"></script>
<script src="./scripts/common.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#008d00">
<title>Line - JapanRailFan</title>
</head>
<body>
<nav class="navbar navbar-dark navbar-expand-lg sticky-top">
<div class="container">
<a class="navbar-brand" href="index.html">JapanRailFan</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="trains.html">Trains</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="lines.html">Lines</a>
</li>
<li class="nav-item">
<a class="nav-link" href="companies.html">Operators</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tickets.html">Tickets</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container mt-3">
<div>
<div class="category-header">
<div id="line-icon" class="d-flex line-icon justify-content-center align-items-center mr-3">
<span id="line-shortname"></span>
</div>
<div>
<h1 id="line-name" class="mb-0">Line</h1>
<h6 id="line-name-jp"class="white mb-0">Japanese name</h6>
</div>
</div>
<hr class="divider">
</div>
<div class="row mb-3">
<div class="col-lg-6">
<div class="card subcategory-header align-content-center mb-3" id="line-header">
<div style="background-color: #035d67;" class="subcategory-line-color mr-3">
<span class="material-symbols-sharp subcategory-icon">help</span>
</div>
<h2 class="mb-0">About</h2>
</div>
<p id="line-desc"></p>
</div>
<div class="col-lg-6">
<div class="card subcategory-header align-content-center mb-3" id="line-header">
<div style="background-color: #035d67;" class="subcategory-line-color mr-3">
<span class="material-symbols-sharp subcategory-icon">square_foot</span>
</div>
<h2 class="mb-0">Specifications</h2>
</div>
<div>
<table class="table">
<tr>
<th>Spec</th>
<th>Value</th>
</tr>
<tr>
<td>Opened</td>
<td id="line-open"></td>
</tr>
<tr>
<td>Line Length</td>
<td id="line-length"></td>
</tr>
<tr>
<td>Track Gauge</td>
<td id="line-track"></td>
</tr>
<tr>
<td>Maximum Speed</td>
<td id="line-speed"></td>
</tr>
<tr>
<td>Operator</td>
<td id="line-operator"></td>
</tr>
</table>
</div>
</div>
</div>
<div class="row mb-3">
<div class="col-12">
<div class="card subcategory-header align-content-center mb-3" id="line-header">
<div style="background-color: #035d67;" class="subcategory-line-color mr-3">
<span class="material-symbols-sharp subcategory-icon">train</span>
</div>
<h2 class="mb-0">Rolling Stock</h2>
</div>
<div id="line-trains" class="row">
<!--Refer to line.js for html code-->
</div>
</div>
</div>
<div class="row mb-3">
<div class="col-12">
<div class="card subcategory-header align-content-center mb-3" id="line-header">
<div style="background-color: #035d67;" class="subcategory-line-color mr-3">
<span class="material-symbols-sharp subcategory-icon">image</span>
</div>
<h2 class="mb-0">Photo Gallery</h2>
</div>
<div id="line-images" class="row">
<div class="col-lg-6 mb-3 mb-lg-0">
<div id="carousel-line-gallery" class="carousel slide" data-ride="carousel">
<div id="carousel-line-gallery-imgs" class="carousel-inner">
<!--Example for Javascript-->
<!-- <div class="carousel-item active">
<img class="d-block w-100" src="./imgs/e231-1.jpg">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="./imgs/e231-2.jpg">
</div> -->
</div>
</div>
</div>
<div class="col-lg-6">
<div id="line-gallery-imgs" class="row">
<!--Example for Javascript-->
<!-- <div class="col-4 mb-3">
<img id="train-gallery-img-0" class="gallery-img w-100 h-shadow active" src="./imgs/e231-1.jpg" onclick="changeGallerySlide(0)">
</div>
<div class="col-4 mb-3">
<img id="train-gallery-img-1" class="gallery-img w-100 h-shadow" src="./imgs/e231-2.jpg" onclick="changeGallerySlide(1)">
</div> -->
</div>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body white">
Image attribution can be found in the "About" page
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="my-5 d-flex justify-content-center align-content-center">
<!--Footer-->
<div class="card">
<div class="card-body white text-center">
JapanRailFan - 2022<br>
<a href="./trains.html" class="mr-1 white">Trains</a>
<a href="./lines.html" class="mx-1 white">Lines</a>
<a href="./companies.html" class="mx-1 white">Operators</a>
<a href="./tickets.html" class="ml-1 white">Tickets</a>
</div>
</div>
</div>
</div>
<script src="./scripts/data.js"></script>
<script src="./scripts/line.js"></script>
</body>
</html>