forked from nicholasblexrud/ga-auditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (37 loc) · 1.61 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
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<link href="//ssl.gstatic.com/docs/script/css/add-ons.css" rel="stylesheet">
<link href="//cdnjs.cloudflare.com/ajax/libs/select2/3.2/select2.min.css" rel="stylesheet">
<?!= HtmlService.createHtmlOutputFromFile('css').getContent(); ?>
</head>
<body>
<div class="spinner"></div>
<form class="sidebar" name="sidebar">
<section>
<script> var accounts =<?!= getAccountSummary() ?>;</script>
<h2>1) Select Account</h2>
<div class="row form-group">
<label for="account">Account</label>
<select id="account" name="account" class="full"></select>
</div>
</section>
<section>
<script> var reports =<?!= getReports() ?>;</script>
<h2>2) Select Report</h2>
<div class="row form-group">
<label for="report">Report</label>
<select id="report" class="full" name="report"></select>
</div>
</section>
<div class="row form-group">
<button class="action" id="submit" type="submit">Audit Account(s)</button>
<button id="close" type="button">Cancel</button>
</div>
<p class="help">If you have questions about using this add-on, check out the <a href="#">github</a> for more detailed instructions.</p>
</form>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/select2/3.2/select2.min.js"></script>
<?!= HtmlService.createHtmlOutputFromFile('js').getContent(); ?>
</body>
</html>