-
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.
New UI: set values, add Range, Coord3D and table support, child vars
New UI: ====== index.htm: - remove title (set in onLoad) - add threejs import (now StarBase supported) index.js - onload: add document.title mainnav.js - set activeModuleJson and updateUI: rename moduleFun to createHTMLFun and add setDefaultValues modules.js - createHTML: remove requestJson onUI (moved to Variable.createHTML) - add setDefaultValues - addModule updateUI: add setDefaultValues parameter - Variable: add sub classes: RangeVariable, Coord3D variable and table Variable (WIP) - Variable.createHTML: requestJson onUI and recursive call of child variables - Variable.receiveData: temp hack to deal with table values - CheckboxVariable: add indeterminate (WIP) - SelectVariable: add receiveData and deal with select options - CanvasVariable: generateData: if no file, add demo file theme.js: better alignment SysModModel: - Coord3D add: += *= and *
- Loading branch information
1 parent
49a6222
commit 0886757
Showing
11 changed files
with
2,143 additions
and
1,151 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
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 |
---|---|---|
|
@@ -16,7 +16,6 @@ | |
<meta content="yes" name="apple-mobile-web-app-capable"> | ||
<meta content="width=device-width, initial-scale=1" name="viewport" /> <!-- needed for navbar--> | ||
<meta name="author" content="MoonModules and its contributors"> | ||
<title>StarBase💫 by MoonModules 🌔</title> | ||
<link rel="icon" href="https://ewowi.github.io/StarDocs/assets/images/ui/starbase/favicon-16x16.png"> | ||
<script src="index.js"></script> | ||
<script src="theme.js"></script> | ||
|
@@ -26,6 +25,14 @@ | |
<script src="modules.js"></script> | ||
<link rel="stylesheet" href="modules.css"> | ||
<script src="../app.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 id="body" onload="controller.onLoad()"></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
Oops, something went wrong.