Checking-in code base
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head lang="en">
|
||||
<title>Configure your BusyLight</title>
|
||||
<meta charset="utf-8" />
|
||||
<script src="https://sdpi-components.dev/releases/v3/sdpi-components.js"></script>
|
||||
<script>
|
||||
function getGlobalSettings() {
|
||||
const { streamDeckClient } = SDPIComponents;
|
||||
const settings = streamDeckClient.getGlobalSettings();
|
||||
return settings.url || 'http://busylight-esp32.local';
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
<!--
|
||||
Learn more about property inspector components at https://sdpi-components.dev/docs/components
|
||||
-->
|
||||
<sdpi-item label="URL or IP">
|
||||
<sdpi-textfield
|
||||
setting="url"
|
||||
placeholder="http://busylight-esp32.local"
|
||||
global="true"
|
||||
value="getGlobalSettings()">
|
||||
</sdpi-textfield>
|
||||
</sdpi-item>
|
||||
<sdpi-item label="Brightness">
|
||||
<sdpi-range
|
||||
setting="brightness"
|
||||
min="10"
|
||||
max="100"
|
||||
default="40"
|
||||
value="40"
|
||||
step="5"
|
||||
showlabels="true">
|
||||
<span slot="min">10%</span>
|
||||
<span slot="max">100%</span>
|
||||
</sdpi-range>
|
||||
</sdpi-item>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head lang="en">
|
||||
<title>Configure your BusyLight</title>
|
||||
<meta charset="utf-8" />
|
||||
<script src="https://sdpi-components.dev/releases/v3/sdpi-components.js"></script>
|
||||
<script>
|
||||
function getGlobalSettings() {
|
||||
const { streamDeckClient } = SDPIComponents;
|
||||
const settings = streamDeckClient.getGlobalSettings();
|
||||
return settings.url || 'http://busylight-esp32.local';
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--
|
||||
Learn more about property inspector components at https://sdpi-components.dev/docs/components
|
||||
-->
|
||||
<sdpi-item label="URL or IP">
|
||||
<sdpi-textfield
|
||||
setting="url"
|
||||
placeholder="http://busylight-esp32.local"
|
||||
global="true"
|
||||
value="getGlobalSettings()">
|
||||
</sdpi-textfield>
|
||||
</sdpi-item>
|
||||
<sdpi-item label="Color">
|
||||
<sdpi-color
|
||||
setting="color"></sdpi-color>
|
||||
</sdpi-item>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head lang="en">
|
||||
<title>Configure your BusyLight</title>
|
||||
<meta charset="utf-8" />
|
||||
<script src="https://sdpi-components.dev/releases/v3/sdpi-components.js"></script>
|
||||
<script>
|
||||
function getGlobalSettings() {
|
||||
const { streamDeckClient } = SDPIComponents;
|
||||
const settings = streamDeckClient.getGlobalSettings();
|
||||
return settings.url || 'http://busylight-esp32.local';
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--
|
||||
Learn more about property inspector components at https://sdpi-components.dev/docs/components
|
||||
-->
|
||||
<sdpi-item label="URL or IP">
|
||||
<sdpi-textfield
|
||||
setting="url"
|
||||
placeholder="http://busylight-esp32.local"
|
||||
global="true"
|
||||
value="getGlobalSettings()">
|
||||
</sdpi-textfield>
|
||||
</sdpi-item>
|
||||
<sdpi-item label="Status">
|
||||
<sdpi-select setting="status" placeholder="Please choose a status">
|
||||
<option value="available">Available</option>
|
||||
<option value="away">Away</option>
|
||||
<option value="busy">Busy</option>
|
||||
<option value="on">On</option>
|
||||
<option value="off">Off</option>
|
||||
</sdpi-select>
|
||||
</sdpi-item>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user