-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathoptions.html
303 lines (266 loc) · 9.26 KB
/
options.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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
<!DOCTYPE html>
<html>
<head><title>Simple Gmail Notes Options</title>
<script src="lib/jquery-3.1.0.min.js"></script>
<script src="lib/jquery.simple-color.js"></script>
<script src="common/shared-common.js"></script>
<script src="background.js"></script>
<script src="options.js"></script>
<link rel="stylesheet" href="css/bulma.min.css">
<style>
* {
font-size: 16px;
font-family: Arial;
}
td {
padding: 10px;
}
.simpleColorDisplay {
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
font-size: 12px;
letter-spacing: 1px;
}
.logo{
text-align:right;
margin-top:15px;
}
.debugInfo{
}
pre {
white-space: normal;
word-break: break-all;
}
ul {
padding-bottom: 20px;
}
#disabled_accounts {
margin-left: 20px;
color: gray;
}
#disabled_accounts label {
display: block;
}
.debug_line{
background-color: #e2e0e0;
margin: 0;
}
.notification.subscription{
margin-top: 10px;
margin-bottom: 0;
line-height: 2;
background-color: #fdddd0;
}
.preferences-header {
margin-top: 35px;
}
.logo img{
height: 60px;
}
.templates_title{
margin-left: 15px;
font-size: 14px;
text-align: left;
color: #757575;
}
.templates_content{
margin-top: 22px;
height: 210px;
width: 100%;
padding-left: 9px;
padding-right: 9px;
padding-top: 18px;
padding-bottom: 18px;
}
.simple_template{
padding-left: 15px;
}
textarea::-webkit-input-placeholder {
color: #999999;
font-size: 12px;
}
.social img {
height: 24px;
}
.column .notification {
height: 100%;
}
.notification.review {
padding: 8px;
}
.notification.review a {
text-decoration: none;
}
</style>
<script>
</script>
</head>
<body>
<div class="container">
<div class="level">
<div class="level-left logo">
<div class="level-item">
<a target="_blank" id="bart_logo" href="https://www.bart.com.hk/">
<img src="https://www.bart.com.hk/wp-content/logo2.png">
</a>
</div>
<div class="level-item">
<a target="_blank" id="bart_logo" href="https://cloud.withgoogle.com/partners/detail/?id=CIGAgICAgMCE8wE%3D&hl=en-GB&language=en">
<img src="https://www.bart.com.hk/wp-content/google_partner_badge.png">
</a>
</div>
</div>
<div class="level-right">
<div class="level-item social has-text-centered">
Follow us for latest releases, bug fixes and features:
</div>
<div class="level-item social">
<a href="https://www.facebook.com/bartsolutions/" target='_blank'>
<img src="https://www.bart.com.hk/wp-content/facebook.png">
</a>
</div>
<div class="level-item social">
<a href='https://twitter.com/bartsolutions' target='_blank'>
<img src="https://www.bart.com.hk/wp-content/twitter.png">
</a>
</div>
</div>
</div>
<div class="subscription notification is-warning has-padding">
If you do like this extension, please
<a target='_blank' class='has-text-link' href='https://www.bart.com.hk/simple-gmail-notes-support-package/?f=p'><strong>subscribe to SGN Support Package</strong></a>.
This not only helps support our development, you will also get the prioritized email support (normally within 24 hours) regarding to any questions for Simple Gmail Notes.
If you have already made a subscription, you might <a target='_blank' class="has-text-link" href='https://portal.simplegmailnotes.com/'><strong>review your subscription and invoices here</strong></a>.
<br/><br/>
<div>You may also be interested to <a href="https://www.bart.com.hk/products/?f=sgn" class='has-text-link' target="_blank">other products of ours</a> :)</div>
</div>
<br/>
<div class="level preferences-header">
<div class="level-left">
<div class="level-item">
<h2 class="title">Preferences</h2>
</div>
</div>
</div>
<nav class="panel">
<p class="panel-heading">Notes Appearance</p>
<div class="panel-block">
<table id="notesAppearance">
</table>
</div>
</nav>
<nav class="panel">
<p class="panel-heading">Advanced Features</p>
<div class="panel-block">
<table id="advancedFeatures">
</table>
</div>
</nav>
<nav class="panel">
<p class="panel-heading">Template</p>
<div class="panel-block">
<div style="width:100%;">
<div class="templates_title">
If a template is provided, a new button of 'load template' will appear in the SGN toolbar.
</div>
<div class="simple_template">
<div>
<textarea class="templates_content" placeholder="Template content ..." id="templateContent"></textarea>
</div>
</div>
</div>
</div>
</nav>
<nav class="panel">
<p class="panel-heading">Sync to Mobile Device</p>
<div class="panel-block">
<table id="simpleMobileCRM">
<tr id="disabled_accounts_container">
<td>
Disable the extension for the following Gmail accounts:
<div id="disabled_accounts">
</div>
</td>
<td>
</td>
</tr>
</table>
<div class="notification">
After share is done, you could view the notes in
<a target='_blank' href='https://mobilecrm.io/ios-download/'>iPhone / iPad</a>
/ <a target='_blank' href='https://mobilecrm.io/android-download/'>Android</a>
/ <a target='_blank' href='https://mobilecrm.io/addon-download/'>Gmail Addon</a>. <br/>
<a href='https://mobilecrm.io' target='_blank'>Learn More</a>
</div>
</div>
</nav>
<table>
<tr>
<td colspan=2>
<div id="status"></div>
<div> <button id="save" class="button is-link">Save</button> </div>
<br/>
<br/>
<br/>
<div>
<button id="reset" class="button is-danger">Reset to Default Values</button>
<button id="revoke" class="button is-link">Manage Access Tokens</button>
<button id="review" class="button is-link">Give Us a Five Star Review</button>
</div>
</td>
</tr>
</table>
<hr/>
<h2 class="title">FAQ</h2>
<ul>
<li><b>How to use Simple Gmail Notes (SGN)?</b></li>
<li>After installation, simply refresh the Gmail page (presss enter in address bar) to activate the extension.<br/>
Then click into any email, and click the 'login' url above the text area.<br/>
After login, you could type the notes in the text area, the notes will be saved automatically. <br/>
<a target='_blank' href='https://www.bart.com.hk/how-to-use-simple-gmail-notes/'>View here for more detailed instructions</a>.
</ul>
<ul>
<li><b>How do I view the notes on mobile devices?</b></li>
<li>Currently, it's impossible to install any Chrome extension / Firefox add-on on mobile devices.<br/>
However, the notes from SGN could be synced into mobile devices by <a href='https://mobilecrm.io'>Simple Mobile CRM</a>, which is another product of Bart Solutions.<br/><br/>
Simple Mobile CRM also provides extra features like email tracking and team collaboration,
<a target='_blank' href='https://mobilecrm.io/faq/'>view here for more details</a>.
</ul>
<ul>
<li><b>Would SGN be affected after <a href=https://mobilecrm.io">Simple Mobile CRM</a> integration?</b></li>
<li>No, your existing notes, services and privacies would NOT be affected. In case you have further concerns, please visit our <a target="_blank" href='https://mobilecrm.io/sgn-crm-faq/'>SGN CRM FAQ</a> for the detailed answers.</li>
</ul>
<ul>
<li><b>When and where are the notes saved?</b></li>
<li>By default, the notes are saved whenever the text area is out of focus (e.g. click anywhere else on the page, or view another email).<br/>
The notes are saved in your own Google drive. Click the magnifier glass above the SGN textarea and then click the Google drive icon, you should see the storage folder</li>
</ul>
<ul>
<li><b>May I get more information about the extension?</b></li>
<li>Please <a target="_blank" href='https://www.bart.com.hk/simple-gmail-notes/'>visit here</a> for the detailed instructions and policies.</li>
</ul>
<ul>
<li><b>Why I can't see the note abstract?</b></li>
<li>Some times the note abstract would take up to 2 seconds to appear. If the abstract does not appear after a long time, please help report a bug.</li>
</ul>
<ul>
<li><b>Why I need to log into my Google drive again while I already opened Google drive in another tab?</b></li>
<li>For security reasons, the extension could not get the Google drive access from your existing browser right away. You need to explicitly grant so.</li>
</ul>
<ul>
<li><b>How do I report a bug?</b></li>
<li><div>Please <a target='_blank' href='https://www.bart.com.hk/#ContactUs'>report your bug here</a>.</div>
<div>And please also <b>include the following debug information</b> in the bug report: </div>
<div class="debugInfo container">
<pre id='debug_page_info'> </pre>
<hr class="debug_line">
<pre id='debug_content_info'> </pre>
<hr class="debug_line">
<pre id='debug_background_info'> </pre>
<hr class="debug_line">
<pre id='debug_gdrive_info'> </pre>
</div>
</li>
</ul>
</div>
</body>
</html>