-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (89 loc) · 3.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="thebros35">
<link rel="shortcut icon" href="favicon.ico"/>
<title>Sim Rate Calculator</title>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top">
<div class="container">
<a class="navbar-brand" href="#">Sim Rate Calculator</a>
</div>
</nav>
<!-- Main Page Container -->
<div class="container">
<div class="row mt-5 mb-3">
<div class="col text-center">
<h1 class="h1">Sim Rate Calculator</h1>
<p class="lead">Enter in ETA of the flight plan, and expected compression.</p>
</div>
</div>
<form>
<div class="row text-center my-2">
<div class="col-2 offset-4">
<label for="hourInp" class="col col-form-label">Hour</label>
</div>
<div class="col-2">
<input id="hourInp" maxlength="2" type="number" style="text-align: center" class="form-control" />
</div>
</div>
<div class="row text-center">
<div class="col-2 offset-4">
<label for="minInp" class="col-form-label">Minute</label>
</div>
<div class="col-2">
<input id="minInp" maxlength="2" type="number" style="text-align: center" class="form-control"/>
</div>
</div>
<div class="row text-center my-2" id="customSimRateDiv">
<div class="col-2 offset-4" id="customSimRateLabelDiv">
</div>
<div class="col-2" id="customSimRateInpDiv">
</div>
</div>
<br />
<div class="row text-center">
<div class="col">
<div class="btn-group dropend">
<button type="button" class="btn btn-info dropdown-toggle" data-bs-toggle="dropdown">Compression</button>
<ul class="dropdown-menu">
<li class="dropdown-item compRate" id="dropdown2x" data-rate="2">2x</li>
<li class="dropdown-item compRate" id="dropdown4x" data-rate="4">4x</li>
<li class="dropdown-item compRate" id="dropdown8x" data-rate="8">8x</li>
<li class="dropdown-item compRate" id="dropdown16x" data-rate="16">16x</li>
<li class="dropdown-divider"></li>
<li class="dropdown-item" id="dropdownCustom" onclick="showCustomSimRate()">Custom</li>
</ul>
</div>
</div>
</div>
<div class="row text-center mt-3">
<div class="col">
<button type="button" id="submitBtn" class="btn btn-primary">Submit</button>
<div id="realTimeResults" class="h3 my-3"></div>
</div>
</div>
</form>
<br />
</div>
<hr>
<!-- Thank me later container -->
<div class="container text-center">
<ul class="list-unstyled">
<li>Bootstrap 5</li>
<li><h1>🥵</h1></li>
<li><a href="https://github.com/TheBros35/xplanecalculator/">GitHub</a></li>
</ul>
</div>
</body>
<!-- Bootstrap files -->
<link href="vendor/bootstrap/bootstrap.min.css" rel="stylesheet">
<script src="vendor/bootstrap/bootstrap.bundle.min.js"></script>
<!-- Custom JavaScript -->
<script src="script.js"></script>
</html>