Repository navigation
Expand file tree
/
Copy pathonpair.html
More file actions
52 lines (43 loc) · 1.77 KB
/
Copy pathonpair.html
File metadata and controls
52 lines (43 loc) · 1.77 KB
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<meta charset="utf-8">
<title>Bluetooth Pair Device</title>
<meta name="description" content="Prompts user to take a device pair request">
<!-- Common style -->
<link rel="stylesheet" href="shared/style/confirm.css">
<link rel="stylesheet" href="shared/style/input_areas.css">
<!-- Localization -->
<link rel="resource" type="application/l10n" href="locales/locales.ini"/>
<script type="application/javascript" src="shared/js/l10n.js"></script>
<!-- Specific style -->
<link rel="stylesheet" type="text/css" href="style/onpair.css"/>
<link rel="stylesheet" type="text/css" href="style/icons.css"/>
<!-- Specific code -->
<script type="application/javascript" defer src="js/onpair.js"></script>
<script type="application/javascript" defer src="js/utils.js"></script>
</head>
<body role="application">
<form role="dialog" data-type="confirm" id="pair-view">
<section>
<h2 data-l10n-id="pair-view-title"></h2>
<h1 id="label-name"></h1>
<p id="pair-description"></p>
<span id="confirmation-method" >
<span id="passkey"></span>
</span>
<span id="pin-input-method" hidden>
<input type="text" id="pin-input" size="16" maxlength="16" />
</span>
<span id="passkey-input-method" hidden>
<input type="number" id="passkey-input" x-inputmode="digits" size="6" maxlength="6" />
</span>
</section>
<menu>
<button id="button-close" data-l10n-id="cancel">Cancel</button>
<button id="button-pair" class="recommend" data-l10n-id="pair">Pair</button>
</menu>
</form>
</body>
</html>