-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndex.htm / css - theme: add starbase/starleds (wip) SysModWeb - add serializeState and serializeInfo (WLED compatibility) - wip UserModInstances: - replace httpclient by udp - wip - add macAddress in InstanceInfo - wip - split instance type in WLED, StarBase, StarLeds and StarFork - init dash vars: chMod StarBase json udp write - handleNotifications: check for StarBase json udp read - sendSysInfoUDP: header type depending on esp32 board type - updateInstance: set macAddress (WIP)
- Loading branch information
1 parent
61a0a60
commit 3f8e67b
Showing
8 changed files
with
1,586 additions
and
1,551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,90 +7,89 @@ | |
@Copyright © 2024 Github StarBase Commit Authors | ||
@license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
@license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected] | ||
*/ | ||
--> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta content="yes" name="apple-mobile-web-app-capable"> | ||
<meta name="author" content="MoonModules ☾ and it's contributors"> | ||
<link rel="icon" href="https://ewowi.github.io/StarDocs/assets/images/ui/StarBase/favicon-16x16.png"> | ||
<!-- <link rel="icon" type="image/x-icon" href="favicon-16x16.png"> currently only works in chrome --> | ||
<!-- <link rel="mask-icon" type="image/x-icon" href="favicon-16x16.png"> for safari tabs? --> | ||
<!-- <link rel="shortcut icon" type="image/x-icon" href="favicon-16x16.png"> found in wled... --> | ||
<link rel="stylesheet" href="index.css"> | ||
<script src="app.js"></script> | ||
<script src="index.js"></script> | ||
<title>StarBase💫 by MoonModules 🌔</title> | ||
|
||
<!-- favicon in safari not working. see: --> | ||
<!-- https://stackoverflow.com/questions/68885882/favicon-not-displaying-on-safari --> | ||
<!-- test: rm /Users/ewoudwijma/Library/Safari/Favicon\ Cache also from trash bin --> | ||
|
||
<!-- tbd: add max-age=86400 to imports --> | ||
|
||
<!-- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules --> | ||
<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/[email protected]/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/" | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta content="yes" name="apple-mobile-web-app-capable"> | ||
<meta name="author" content="MoonModules and it's contributors"> | ||
<link rel="icon" href="https://ewowi.github.io/StarDocs/assets/images/ui/starbase/favicon-16x16.png"> | ||
<!-- <link rel="icon" type="image/x-icon" href="favicon-16x16.png"> currently only works in chrome --> | ||
<!-- <link rel="mask-icon" type="image/x-icon" href="favicon-16x16.png"> for safari tabs? --> | ||
<!-- <link rel="shortcut icon" type="image/x-icon" href="favicon-16x16.png"> found in wled... --> | ||
<title>StarBase💫 by MoonModules 🌔</title> | ||
<link rel="stylesheet" href="index.css"> | ||
<script src="app.js"></script> | ||
<script src="index.js"></script> | ||
|
||
<!-- favicon in safari not working. see: --> | ||
<!-- https://stackoverflow.com/questions/68885882/favicon-not-displaying-on-safari --> | ||
<!-- test: rm /Users/ewoudwijma/Library/Safari/Favicon\ Cache also from trash bin --> | ||
|
||
<!-- tbd: add max-age=86400 to imports --> | ||
|
||
<!-- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules --> | ||
<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/[email protected]/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/" | ||
} | ||
} | ||
} | ||
</script> | ||
</head> | ||
<body onload="onLoad()"> | ||
<div class="module"> | ||
<hgroup> | ||
<h1 style="float: left;">StarBase💫 by MoonModules 🌔</h1> | ||
<a href="https://ewowi.github.io/StarDocs" style="float: right;">ⓘ</a> | ||
</hgroup> | ||
<br> | ||
<h2><div id="serverName"></div></h2> | ||
<input type="button" value="App" id="vApp" onclick="setView(this)"> | ||
<input type="button" value="DashBoard" id="vDash" onclick="setView(this)"> | ||
<input type="button" value="User" id="vUser" onclick="setView(this)"> | ||
<input type="button" value="System" id="vSys" onclick="setView(this)"> | ||
<input type="button" value="All" id="vAll" onclick="setView(this)"> | ||
<input type="button" value="Setup" id="vSetup" onclick="setView(this)"> | ||
<span> | </span> | ||
<input type="button" value="Save" id="bSave" onclick="saveModel(this)"> | ||
<span> | </span> | ||
<label>Theme</label> <select name="theme-select" id="theme-select" onchange="setTheme(this)"> | ||
<option value="starbase">StarBase</option> | ||
<option value="wled">WLED</option> | ||
<option value="grayeen">Grayeen</option> | ||
<option value="dev">Dev</option> | ||
<option value="light">Light</option> | ||
<option value="dark">DeathStar</option> | ||
<option value="blue">Blue</option> | ||
<option value="pink">Pink</option> | ||
<option value="space">Space</option> | ||
<option value="nyan">Nyan</option> | ||
</select> | ||
<!-- <div id="instPH"></div> --> | ||
</div> | ||
<div id="mdlContainer"> | ||
<div id="mdlColumn0" class = "mdlColumn"> | ||
</div> | ||
<div id="mdlColumn1" class = "mdlColumn"> | ||
</script> | ||
</head> | ||
<body onload="onLoad()"> | ||
<div class="module"> | ||
<hgroup> | ||
<h1 style="float: left;">StarBase💫 by MoonModules 🌔</h1> | ||
<a href="https://ewowi.github.io/StarDocs" style="float: right;">ⓘ</a> | ||
</hgroup> | ||
<br> | ||
<h2><div id="serverName"></div></h2> | ||
<input type="button" value="App" id="vApp" onclick="setView(this)"> | ||
<input type="button" value="DashBoard" id="vDash" onclick="setView(this)"> | ||
<input type="button" value="User" id="vUser" onclick="setView(this)"> | ||
<input type="button" value="System" id="vSys" onclick="setView(this)"> | ||
<input type="button" value="All" id="vAll" onclick="setView(this)"> | ||
<input type="button" value="Setup" id="vSetup" onclick="setView(this)"> | ||
<span> | </span> | ||
<input type="button" value="Save" id="bSave" onclick="saveModel(this)"> | ||
<span> | </span> | ||
<label>Theme</label> <select name="theme-select" id="theme-select" onchange="setTheme(this)"> | ||
<option value="starbase">StarBase</option> | ||
<option value="wled">WLED</option> | ||
<option value="grayeen">Grayeen</option> | ||
<option value="dev">Dev</option> | ||
<option value="light">Light</option> | ||
<option value="dark">DeathStar</option> | ||
<option value="blue">Blue</option> | ||
<option value="pink">Pink</option> | ||
<option value="space">Space</option> | ||
<option value="nyan">Nyan</option> | ||
</select> | ||
<!-- <div id="instPH"></div> --> | ||
</div> | ||
<div id="mdlColumn2" class = "mdlColumn"> | ||
<div id="mdlContainer"> | ||
<div id="mdlColumn0" class = "mdlColumn"> | ||
</div> | ||
<div id="mdlColumn1" class = "mdlColumn"> | ||
</div> | ||
<div id="mdlColumn2" class = "mdlColumn"> | ||
</div> | ||
<div id="mdlColumn3" class = "mdlColumn"> | ||
</div> | ||
</div> | ||
<div id="mdlColumn3" class = "mdlColumn"> | ||
<div id="connind">☾</div> | ||
<div id="modalView" class="modal"></div> | ||
<p style="color:grey;"> © 2024 MoonModules ☾ - Licensed under GPL-v3</p> | ||
<div id="canvasMenu" style="position:absolute;display:none"> <!--;background-color:#b60f62--> | ||
<p><button id="canvasButton1"></button></p> | ||
<p><button id="canvasButton2"></button></p> | ||
<p><button id="canvasButton3"></button></p> | ||
<span id="canvasData" hidden="true"></span> | ||
</div> | ||
</div> | ||
<div id="connind">☾</div> | ||
<div id="modalView" class="modal"></div> | ||
<p style="color:grey;"> © 2024 MoonModules ☾ - Licensed under GPL-v3</p> | ||
<div id="canvasMenu" style="position:absolute;display:none"> <!--;background-color:#b60f62--> | ||
<p><button id="canvasButton1"></button></p> | ||
<p><button id="canvasButton2"></button></p> | ||
<p><button id="canvasButton3"></button></p> | ||
<span id="canvasData" hidden="true"></span> | ||
</div> | ||
</body> | ||
</html> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.