-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
❗ [modify]: RenewablesLinked example no longer part of Website.
- Loading branch information
Showing
2 changed files
with
57 additions
and
26 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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Fluid: Data-Linked Visualisations</title> | ||
<link href="/css/styles.css" rel="stylesheet" type="text/css"> | ||
<link href="/css/view-styles.css" rel="stylesheet" type="text/css"> | ||
<script src="https://use.fontawesome.com/1091715d00.js"></script> | ||
<script> | ||
// move to PureScript | ||
function toggle(id) { | ||
const elem = document.getElementById(id) | ||
if (elem.style.visibility == 'hidden') | ||
elem.style.visibility = 'visible' | ||
else | ||
elem.style.visibility = 'hidden' | ||
} | ||
</script> | ||
</head> | ||
<body class="standalone"> | ||
<div class="grid-container double-size"> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div class="flex-left-align"> | ||
<h3>Title</h3> | ||
<p>Explain your figure here</p> | ||
</div> | ||
|
||
<div></div> | ||
<div id="fig-input" class="flex-right-align data-pane"></div> | ||
<div> | ||
<div onclick="toggle('fig-input')"><span class="data-pane-button toggle-button">◀▶</span></div> | ||
</div> | ||
<div class="flex-left-align"> | ||
<div id="fig"></div> | ||
<p>Source code:</p> | ||
<details> | ||
<summary>bar-chart-line-chart.fld</summary> | ||
<div id="codemirror-bar-chart-line-chart"></div> | ||
</details> | ||
<details> | ||
<summary>renewables.fld</summary> | ||
<div id="codemirror-renewables"></div> | ||
</details> | ||
</div> | ||
</div> | ||
|
||
<script src="fluid.js"></script> | ||
<script> | ||
// move to PureScript | ||
toggle('fig-input') | ||
</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