MCPcopy Index your code
hub / github.com/stemdeckapp/stemdeck / networkSettingsHtml

Function networkSettingsHtml

static/js/catalog.js:1825–1843  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1823// self-hosted server. Loopback is always allowed, so the owner can't lock
1824// themselves out of this control.
1825function networkSettingsHtml() {
1826 return `
1827 <div class="settings-section">
1828 <div class="settings-row">
1829 <div class="settings-row-text">
1830 <div class="settings-row-title">Make StemDeck available on your network</div>
1831 <div class="settings-row-desc">Let other devices (like your phone) open StemDeck at the address below.</div>
1832 </div>
1833 <label class="settings-switch">
1834 <input type="checkbox" class="net-access-input" />
1835 <span class="settings-switch-track"><span class="settings-switch-thumb"></span></span>
1836 </label>
1837 </div>
1838 <div class="settings-net hidden">
1839 <div class="settings-net-qr"></div>
1840 </div>
1841 </div>
1842 `;
1843}
1844
1845// General settings: max track length (minutes) + MP4 video quality. Read live
1846// and POSTed on change to /api/settings (same runtime store as the toggle).

Callers 1

openLibraryEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected