-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
26 lines (25 loc) · 1.28 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
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title>MDN Page Creator</title>
<script src="https://w3c.github.io/webrtc-stats/webidl2.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/ejs.min.js"></script>
<script type=module src=generate.js></script>
<style>form { display: grid; grid-template-columns: max-content max-content }
label.disabled { color: #777;}
</style>
</head>
<body>
<form>
<label for=interface>Interface name:</label> <select id=interface><option value="">Pick one…</option></select>
<label for=member>Interface member:</label> <select id=member><option value="">Interface page</option></select>
<label for=api>API Group:</label> <select id=api><option value="">Pick one…</option></select>
<label for=apiother>or New API Group:</label> <input type=text id=apiother>
<label for=experimental>Mark feature as experimental</label> <span><input id=experimental type=checkbox></span>
<label for=sub class=disabled>Generate sub-pages</label> <span><input id=sub type=checkbox disabled></span>
<button disabled id=generate type=submit>Generate</button><button disabled id=download type=submit>Download</button>
</form>
<pre id=output><code id=output></code></pre>
</body>
</html>