-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (26 loc) · 1.15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>
<head>
<base target="_top">
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<?!= HtmlService.createHtmlOutputFromFile('ClientScript').getContent(); ?>
</head>
<body>
<h1>GAS Test</h1>
<p id="tab_count"><input value="Check Tab Count" type="button" onclick="google.script.run.withSuccessHandler(loadedSheet).loadSheet('Bills and Budget')" ></p>
<div id="uploader">Upload to <?= folderName ?><br>
<form>
<input type="file" name="theFile">
<input type="button" onclick="google.script.run.withFailureHandler(uploadFailed).withSuccessHandler(uploadCompleted).uploadFile(this.parentNode)" value="Upload!">
</form></div>
<h2>Charts Away!</h2>
<!--Div that will hold the pie chart-->
<div id="chart_div"><input type="button" value="Load!" onclick="google.script.run.withSuccessHandler(drawChart).loadChart()"></div>
<h2>Details</h2>
<p><a href="javascript:doNavigate('details')">details</a> | <a href="javascript:doNavigate('overview')">overview</a></p>
<div id="table_div"></div>
<hr>
<div id="status">Blarg</div>
</body>
</html>