generated from LaunchCodeEducation/Launch-Checklist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (44 loc) · 1.88 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
<!DOCTYPE>
<html>
<head>
<title>Launch Checklist</title>
<link rel = "stylesheet" type = "text/css" href = "styles.css" />
<script src = "scriptHelper.js"></script>
<script src = "script.js"></script>
<script src = "bundle.js"></script>
</head>
<body>
<h1>Launch Checklist Form</h1>
<div id="missionTarget" data-testid="missionTarget">
<!-- Fetch some planetary data -->
</div>
<div id="launchForm">
<form data-testid="testForm">
<div class="formField">
<label>Pilot Name <input type="text" name="pilotName" id="pilotName"/></label>
</div>
<div class="formField">
<label>Co-pilot Name <input type="text" name="copilotName"/></label>
</div>
<div class="formField">
<label>Fuel Level (L) <input type="text" name="fuelLevel"/></label>
</div>
<div class="formField">
<label>Cargo Mass (kg) <input type="text" name="cargoMass"/></label>
</div>
<button id="formSubmit">Submit</button>
</form>
</div>
<div id="launchStatusCheck">
<h2 id="launchStatus" data-testid="launchStatus">Awaiting Information Before Launch</h2>
<div id="faultyItems" data-testid="faultyItems">
<ol>
<li id="pilotStatus" data-testid="pilotStatus">Pilot Ready</li>
<li id="copilotStatus" data-testid="copilotStatus">Co-pilot Ready</li>
<li id="fuelStatus" data-testid="fuelStatus">Fuel level high enough for launch</li>
<li id="cargoStatus" data-testid="cargoStatus">Cargo mass low enough for launch</li>
</ol>
</div>
</div>
</body>
</html>