Skip to content

Instantly share code, notes, and snippets.

@mogsdad
Created July 17, 2015 21:22
Show Gist options
  • Save mogsdad/be0eab89bdac9904f445 to your computer and use it in GitHub Desktop.
Save mogsdad/be0eab89bdac9904f445 to your computer and use it in GitHub Desktop.
<!-- Use a templated HTML printing scriptlet to import common stylesheet. -->
<?!= HtmlService.createHtmlOutputFromFile('Stylesheet').getContent(); ?>
<html>
<body>
<h1 id="main-heading">Loading...</h1>
<div id="dashboard-div">
<div id="control-div">
<div id="slider-div">
</div>
<div id="selector-div">
</div>
</div>
<div id="charts-div">
<div id="piechart-div">
</div>
<div id="table-div">
</div>
</div>
</div>
<div class="hidden" id="error-message">
</div>
</body>
</html>
<!-- Store data passed to template here, so it is available to the
imported JavaScript. -->
<script>
</script>
<!-- Use a templated HTML printing scriptlet to import JavaScript. -->
<?!= HtmlService.createHtmlOutputFromFile('JavaScript').getContent(); ?>
@kantkodit
Copy link

I believe 'Stylesheet' in line 2 and "JavaScript" in line 31 should both be preceeded by "Dashboard-" I believe your file naming convention changed in this version, but those lines were not updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment