-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
124 lines (109 loc) · 4.3 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
<!DOCTYPE html>
<html>
<head>
<title>F1 Schedule</title>
<meta charset="utf-8">
<!-- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"> -->
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="icon" href="F1_(white).svg">
</head>
<style>
thead>tr {
white-space: nowrap;
}
#tb {
white-space: nowrap;
}
body {
padding: 20px;
}
.nav-link,
.nav-link:focus,
.nav-link:hover {
color: white;
}
</style>
<body>
<ul class="nav nav-tabs d-flex" id="myTab" role="tablist" style="background-color: #ed1c18;
color: white;
padding: 2% 2% 2% 20%!important; width: 100%;">
<li class="flex-end" style="margin-left: -100px; margin-right: 20px;
">
<img src="F1_(white).svg" width="80px" height="40px" />
</li>
<li class="nav-item" role="presentation">
<button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home" type="button"
role="tab" aria-controls="home" aria-selected="true">Schedule</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile" type="button"
role="tab" aria-controls="profile" aria-selected="false">Driver
Standing</button>
</li>
<li class=" nav-item" role="presentation">
<button class="nav-link" id="contact-tab" data-bs-toggle="tab" data-bs-target="#contact" type="button"
role="tab" aria-controls="contact" aria-selected="false">Contructor
Standing</button>
</li>
</ul>
<div class="tab-content" id="myTabContent" style="min-width: 600px">
<div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
<div class="container mt-3" style="width: 100%; height: 40%;">
<h2 class="text-center">F1 Schedule</h2>
<table class="table table-bordered">
<thead>
<tr>
<th>Round</th>
<th>Race Date/Time</th>
<th>Circuit Name</th>
<th>Location</th>
<th>Race Name</th>
</tr>
</thead>
<tbody id="futureRaces">
</tbody>
</table>
</div>
</div>
<div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">
<div class="container mt-3" style="width: 100%; height: 40%;">
<h2 class="text-center">F1 Driver Standing</h2>
<table class="table table-bordered">
<thead>
<tr>
<th>Pos</th>
<th>Driver</th>
<th>Nationality</th>
<th>Car</th>
<th>PTS</th>
<th>Wins</th>
</tr>
</thead>
<tbody id="driverStanding">
</tbody>
</table>
</div>
</div>
<div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">
<div class="container mt-3" style="width: 100%; height: 40%;">
<h2 class="text-center">F1 Driver Standing</h2>
<table class="table table-bordered">
<thead>
<tr>
<th>Pos</th>
<th>Team</th>
<th>Nationality</th>
<th>PTS</th>
<th>Wins</th>
</tr>
</thead>
<tbody id="constructorStanding">
</tbody>
</table>
</div>
</div>
</div>
</body>
<script src="script.js"></script>
<script src="bootstrap.bundle.js"></script>
</html>