This repository was archived by the owner on Feb 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset.html
More file actions
83 lines (66 loc) · 1.58 KB
/
Copy pathreset.html
File metadata and controls
83 lines (66 loc) · 1.58 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons.css">
<style>
.branding-below {
bottom: 56px;
top: 0;
}
.branding-text {
left: 7px;
position: relative;
top: 3px;
}
.col-contain {
overflow: hidden;
}
.col-one {
float: left;
width: 50%;
}
.logo {
vertical-align: middle;
}
.radio-spacer {
height: 20px;
}
.width-100 {
width: 100%;
}
.loader {
left:100px;
top: 30px;
}
</style>
<body>
<div id="wait" class="sidebar branding-text" style="display:none">
<div id="loading" class="loader" style="display:none">
<img src="https://9c6673010e499058adcb9bae72f0524ff749ab70-www.googledrive.com/host/0B9exArxMGDDtaGVtYTFEc2prNW8/Loading%20Animation.gif" alt="Loading. Please wait...">
</div>
<p>
Please wait while Birdfeeder resets your spreadsheet.
</p>
</div>
<div id="warning" class="sidebar branding-text">
<div class="block">
<p>
This will reset the entire add-on. All saved data and scheduled tweets will be erased!
</p>
<p>
Click OK to reset Birdfeeder.
</p>
</div>
<div class = "block">
<button class="action" onClick="doClear()">OK</button>
<button onClick="google.script.host.close()">Close</button>
</div>
</div>
</body>
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>
function doClear() {
$( "#wait" ).fadeIn('slow');
$( "#warning" ).hide();
google.script.run.withSuccessHandler(google.script.host.close).clear();
}
</script>