-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add mas app switch / 17.06 first commit
- Loading branch information
1 parent
15b0fa7
commit 7ef7791
Showing
162 changed files
with
22,388 additions
and
292 deletions.
There are no files selected for viewing
532 changes: 270 additions & 262 deletions
532
spider-gbxml-viewer/v-0-17-05/app-viewer/spider-gbxml-viewer-dev.html
Large diffs are not rendered by default.
Oops, something went wrong.
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
67 changes: 67 additions & 0 deletions
67
spider-gbxml-viewer/v-0-17-05/mnu-menu/mas-menu-app-switch.js
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
|
||
MAS = {} | ||
|
||
|
||
MAS.arrApps = [ | ||
|
||
{ | ||
text: "Ladybug Tools home page", url: "https://www.ladybug.tools", | ||
title: "free computer applications that support environmental design and education" | ||
}, | ||
{ | ||
text: "Ladybug Tools GitHub", url: "https://github.com/ladybug-tools", | ||
title: "Source code repositories" | ||
}, | ||
{ | ||
text: "gbXML.org home page", url: "http://www.gbxml.org", | ||
title: "Green Building XML (gbXML) is the language of buildings ... allowing disparate building design software tools to all communicate with one another." | ||
}, | ||
{ | ||
text: "gbXML.org Schema", url: "http://www.gbxml.org/schema_doc/6.01/GreenBuildingXML_Ver6.01.html", | ||
title: "Version 6.01 of the gbXML schema" | ||
}, | ||
{ | ||
text: "Spider home page", url: "https://www.ladybug.tools/spider/", | ||
title: "3D interactive analysis in your browser mostly written around the Three.js JavaScript library" | ||
}, | ||
{ | ||
text: "Spider gbXML Viewer R12 Aragog", url: "https://https://www.ladybug.tools/spider/gbxml-viewer/", | ||
title: "A popular release" | ||
}, | ||
{ | ||
text: "Spider gbXML Viewer R14", url: "https://www.ladybug.tools/spider/gbxml-viewer/r14/aragog-shortcut.html", | ||
title: "An interesting release" | ||
}, | ||
{ | ||
text: "Spider gbXML tools", url: "https://www.ladybug.tools/spider-gbxml-tools/", | ||
title: "Home page for yools to help you find, load, examine and edit gbXML files - in large numbers and sizes" | ||
}, | ||
{ | ||
text: "Spider gbXML Viewer v0.17 Atrax stable", url: "https://www.ladybug.tools/spider-gbxml-tools/spider-gbxml-viewer/", | ||
title: "Mission: run a series of basic checks on gbXML files to identify, report and help you fix any issues." | ||
}, | ||
{ | ||
text: "Spider gbXML Viewer v0.17 beta", url: "https://www.ladybug.tools/spider-gbxml-tools/spider-gbxml-viewer/dev/", | ||
title: "Latest development release - still under development - may have issues" | ||
}, | ||
{ | ||
text: "Spider gbXML Fixer", url: "https://www.ladybug.tools/spider-gbxml-fixer/", | ||
title: "Scripts to help you load and manage gbXML files" | ||
}, | ||
{ | ||
text: "Radiance Online home page", url: "https://www.radiance-online.org/", | ||
title: "Radiance is a suite of programs for the analysis and visualization of lighting in design." | ||
}, | ||
{ | ||
text: "Spider RAD viewer", url: "https://www.ladybug.tools/spider-rad-viewer/rad-viewer", | ||
title: "View Radiance RAD files in interactive 3D in your browser using the Three.js JavaScript library" | ||
}, | ||
|
||
]; | ||
|
||
MAS.optApps = MAS.arrApps.map( item => `<option value="${item.url}" title="${item.title}" >${item.text}</option>` ) | ||
.join( "" ) | ||
|
||
MAS.getAppSwitch = `<select oninput=window.location.href=this.value >${MAS.optApps}</select>`; | ||
|
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 |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<!doctype html> | ||
<html lang = "en" > | ||
<head> | ||
<meta charset = "utf-8" > | ||
<meta name = "viewport" content= "width=device-width, initial-scale=1" > | ||
<meta name = "description" content = "Basic TooToo HTML template" > | ||
<meta name = "keywords" content = "JavaScript,GitHub,FOSS" > | ||
<meta name = "date" content = "2019-09-21" > | ||
<meta name = "version" content = "0.00.0" > | ||
<title></title> | ||
<style> | ||
|
||
* { box-sizing: border-box; } | ||
|
||
:root { font: 12pt monospace; --mnu-width: 22rem; --screen-width: calc( 100vw ); --headerHeight: 6rem; } | ||
|
||
html { height: 100%; } | ||
|
||
body { margin: 0 auto; max-width: 800px; padding: 0 0.5rem; } | ||
|
||
a { color: crimson; text-decoration: none; } | ||
a:hover, a:focus, a:active { background-color: yellow; color: #aaa; text-decoration: underline } | ||
|
||
button, input[type=button] { background-color: #ddd; border: none; color: #322; cursor: pointer; padding: 3px 5px; } | ||
button:hover { background: #ccc; color: #fff } | ||
|
||
|
||
main { border: 0px; height: 100%; left: var( --mnu-width ); margin: 0; | ||
padding: 0 1rem; position: absolute; width: calc( 100% - var( --mnu-width ) ); } | ||
|
||
#navMenu { background-color: #eee; left: 0; margin: 0; padding: 0 1rem; | ||
position: absolute; top: 0; width: var( --mnu-width ); } | ||
|
||
|
||
</style> | ||
</head> | ||
<body> | ||
<script src="mas-menu-app-switch.js" ></script> | ||
<script src="mnu-menu.js" ></script> | ||
|
||
|
||
<nav id="navMenu" > | ||
|
||
<details open> | ||
|
||
<summary class="sumMenuTitle" >Menu bar header</summary> | ||
|
||
<header> | ||
|
||
<h3 id="MNUdivAppSwitch" ></h3> | ||
|
||
<div id="MNUdivHeader" ></div> | ||
|
||
</header> | ||
|
||
</details> | ||
|
||
</nav> | ||
|
||
<main> | ||
|
||
<div id="divContents" ></div> | ||
|
||
</main> | ||
|
||
|
||
<script> | ||
|
||
const urlSourceCode = "https://github.com/zzzzz/xxxxx.html"; | ||
const urlSourceCodeIcon = "https://pushme-pullyou.github.io/github-mark-32.png"; | ||
|
||
init(); | ||
|
||
function init() { | ||
|
||
|
||
MNUdivAppSwitch.innerHTML = MAS.getAppSwitch; | ||
|
||
MNUdivHeader.innerHTML = MNU.getNavHeader(); | ||
|
||
divContents.innerHTML += `${ ( new Date ) }<p>lorem ipsum, quia dolor sit, amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt, ut labore et dolore magnam aliquam quaerat voluptatem. ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? quis autem vel eum iure reprehenderit, qui in ea voluptate velit esse, quam nihil molestiae consequatur, vel illum, qui dolorem eum fugiat, quo voluptas nulla pariatur?</p>`; | ||
|
||
} | ||
|
||
|
||
|
||
</script> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
|
||
<span style=display:none; >[You are now in a GitHub source code view - click this link to view Read Me file as a web page]( https://www.ladybug.tools/spider-gbxml-tools/#spider-gbxml-viewer/README.md "View file as a web page." ) </span> | ||
|
||
<div><input type=button onclick="window.location.href='https://github.com/ladybug-tools/spider-gbxml-tools/tree/master/spider-gbxml-viewer/'"; | ||
value='You are now in a GitHub web page view - Click this button to view this read me file as source code' ></div> | ||
|
||
<br> | ||
|
||
# [Spider gbXML Viewer 'Maevia' Read Me]( #spider-gbxml-viewer/README.md ) | ||
|
||
|
||
<iframe src=https://www.ladybug.tools/spider-gbxml-tools/spider-gbxml-viewer/dev/index.html width=100% height=500px >Iframes are do not render in GitHub source code views</iframe> | ||
<div style=display:none; > | ||
<img src=https://www.ladybug.tools/spider-gbxml-tools/images/sgv-0-17-02.png > | ||
</div> | ||
|
||
_Spider gbXML Viewer 'Maevia'_ | ||
|
||
|
||
|
||
## Stable version: [Spider gbXML Viewer 'Maevia' ]( https://www.ladybug.tools/spider-gbxml-tools/spider-gbxml-viewer/ "Click me to run the stable app" ) | ||
|
||
Or copy this link: https://www.ladybug.tools/spider-gbxml-tools/spider-gbxml-viewer/ | ||
|
||
|
||
## Development Version: [Spider gbXML Viewer Dev ]( https://www.ladybug.tools/spider-gbxml-tools/spider-gbxml-viewer/dev/ "Click me to run the latest app" ) | ||
|
||
|
||
|
||
<details> | ||
|
||
<summary>To Do / Wish List</summary> | ||
|
||
* Embed the help buttons inside the details | ||
* jsHint all the files | ||
* Make sure all | ||
* report number of items found | ||
* input type=search | ||
* create core script? | ||
* help | ||
* select index | ||
* select surfaces show hide | ||
* Add openType script | ||
* Try in OpenStudio | ||
|
||
</details> | ||
|
||
<details> | ||
|
||
<summary>Issues</summary> | ||
|
||
|
||
</details> | ||
|
||
<details> | ||
|
||
<summary>Change Log</summary> | ||
|
||
### 2019-10-03 ~ Theo | ||
|
||
v0.17.04-0 | ||
|
||
* F: First commit | ||
* D: Update to three.js r109 - seems OK | ||
|
||
|
||
|
||
</details> |
Oops, something went wrong.