homebridge-xbox-tv 2.8.1-beta.21 → 2.8.1-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
<div id="authorizationManager" style="display: none;" class="card card-body">
|
|
6
6
|
<form id="configForm">
|
|
7
|
-
<div class="
|
|
7
|
+
<div class="tab">
|
|
8
8
|
<div class="text-center">
|
|
9
9
|
<label id="deviceNameInput" style="font-size: 23px">Xbox</label><br>
|
|
10
10
|
</div>
|
|
11
11
|
<div class="text-center">
|
|
12
|
-
<label id="info" style="text-align: center; font-size: 17px; color: white;">Authorization
|
|
13
|
-
Manager</label><br><br>
|
|
12
|
+
<label id="info" style="text-align: center; font-size: 17px; color: white;">Authorization Manager</label><br><br>
|
|
14
13
|
</div>
|
|
15
14
|
<div class="form-group">
|
|
16
15
|
<label for="deviceHostInput">Host</label>
|
|
@@ -21,8 +20,6 @@
|
|
|
21
20
|
<input type="text" class="form-control" id="deviceTokenInput"><br>
|
|
22
21
|
<label for="deviceWebApiControl">Web Api Control</label>
|
|
23
22
|
<input type="checkbox" class="form-control" id="deviceWebApiControl">
|
|
24
|
-
</div>
|
|
25
|
-
<div class="text-center">
|
|
26
23
|
<button id="startAuthorizationButton" type="button" class="btn btn-primary">Start authorization</button>
|
|
27
24
|
<button id="authorizeConsoleButton" type="button" class="btn btn-primary">Authorize console</button>
|
|
28
25
|
<button id="clearTokenButton" type="button" class="btn btn-primary">Clear Web Api Token</button>
|
|
@@ -61,7 +58,7 @@
|
|
|
61
58
|
tab.setAttribute("class", "tabarray");
|
|
62
59
|
tab.setAttribute("id", "tab" + i);
|
|
63
60
|
tab.innerHTML = pluginConfig[0].devices[i].name || 'Not set';
|
|
64
|
-
document.querySelector("
|
|
61
|
+
document.querySelector(".tabs").appendChild(tab);
|
|
65
62
|
|
|
66
63
|
//get actuall value on console select
|
|
67
64
|
document.getElementById('tab' + i).addEventListener('click', async () => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Xbox TV",
|
|
3
3
|
"name": "homebridge-xbox-tv",
|
|
4
|
-
"version": "2.8.1-beta.
|
|
4
|
+
"version": "2.8.1-beta.23",
|
|
5
5
|
"description": "Homebridge plugin (https://github.com/homebridge/homebridge) to control Xbox game consoles.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|