-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
43 lines (42 loc) · 1.58 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Did it land?</title>
</head>
<body>
<h1>Did it land? Find out now!</h1>
<form id="landed">
<input type="radio" id="bug-radio" name="commit-source" value="bug" checked><label for="bug-radio"> bug</label>
<input type="radio" id="revision-radio" name="commit-source" value="rev"><label for="revision-radio"> specific revision</label><br>
<input id="bugnumber" pattern="^\s*\d+\s*$">
<input id="revision" pattern="([a-f0-9]+)"><br><br>
<input type="radio" id="mc-radio" name="repo" value="mozilla-central" checked><label for="mc-radio"> nightly</label>
<input type="radio" id="beta-radio" name="repo" value="mozilla-beta"><label for="beta-radio"> beta</label>
<br>
<br>
<input id="nightly" pattern="^\s*(\d{4})\s*[-.]\s*(\d\d?)\s*[-.]\s*(\d\d?)\s*$">
<input id="beta-version" type="number" min="43" step="1" value="74">
<input id="beta-build" type="number" min="1" max="15" step="1" value="1">
<br>
<br>
<input type="submit">
</form>
<style>
#nightly, #beta-build, #beta-version, #revision, #bugnumber {
display: none;
}
#revision-radio:checked ~ #revision,
#bug-radio:checked ~ #bugnumber,
#beta-radio:checked ~ #beta-version,
#beta-radio:checked ~ #beta-build,
#mc-radio:checked ~ #nightly,
#ma-radio:checked ~ #nightly {
display: initial;
}
</style>
<h2 id="status"></h2>
<div id="result"></div>
<script src="diditland.js"></script>
</body>
</html>