-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·345 lines (304 loc) · 15.2 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
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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
<!DOCTYPE HTML>
<!--
Dopetrope 2.0 by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Event Flairs gadget</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,900,300italic" rel="stylesheet" />
<script src="js/jquery.min.js"></script>
<script src="js/jquery.dropotron.js"></script>
<script src="js/config.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/skel-panels.min.js"></script>
<script src="js/ZeroClipboard.min.js"></script>
<script src="js/sets.js"></script>
<noscript>
<link rel="stylesheet" href="css/skel-noscript.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-desktop.css" />
</noscript>
<link rel="stylesheet" href="css/index.css" />
<!--[if lte IE 8]><script src="js/html5shiv.js"></script><link rel="stylesheet" href="static/css/ie8.css" /><![endif]-->
</head>
<body class="homepage">
<!-- Header Wrapper -->
<div id="header-wrapper">
<div class="container">
<div class="row">
<div class="12u">
<!-- Header -->
<section id="header">
<!-- Logo -->
<h1><a href="#">Event Flairs</a></h1>
<!-- Nav -->
<nav id="nav">
<ul>
<li class="current_page_item"><a href="#">Home</a></li>
<li><a href="#install">Install</a></li>
<li><a href="#custom">Custom Flairs</a></li>
<li><a href="choose">My Flairs</a></li>
<li><a href="#support">Support</a></li>
<li><a href="#contrib">Contribute</a></li>
<li>
<div>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="3XDC3DJKK36WQ">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
</li>
</ul>
</nav>
</section>
</div>
</div>
<div class="row">
<div class="12u">
<!-- Banner -->
<section id="banner">
<a href="/">
<span class="image image-full"><img src="images/flairs.jpg" alt="" /></span>
<header>
<h2>Event Flairs</h2>
<span class="byline">(working) Event Flairs gadget for Google Calendar</span>
<section>
<br/>
<a href="https://www.google.com/calendar/render?gadgeturl=https://eventflairs.appspot.com/static/flairs.xml">
<span class="install-button">
Quick install !</span></a>
</section>
</header>
</a>
</section>
</div>
</div>
</div>
</div>
<!-- Main Wrapper -->
<div id="main-wrapper">
<div class="container">
<div class="row">
<div class="12u">
<section>
<div>
<div class="row">
<div class="12u">
<section class="box" id="install">
<a class="image image-full" href="https://www.google.com/calendar/render?gadgeturl=https://eventflairs.appspot.com/static/flairs.xml"><img src="images/yesgadget.jpg" alt="" /></a>
<header>
<h3>How to install Event Flairs gadget</h3>
</header>
<p>
<ol class="square">
<li>Logon to your calendar.</li>
<li>If you're using the original event flairs lab, deactivate it</li>
<li>Click on this <a href="https://www.google.com/calendar/render?gadgeturl=https://eventflairs.appspot.com/static/flairs.xml">link</a>, this will open a Calendar window, asking if you want to install the gadget.</li>
<li>Once installed it will appear on the right side.</li>
<li>You'll see an "Authorize" button, click on it to authorize gadget to manage your events in order to add or remove event flairs</li>
<li>"Authorize" button has disappeared ? Great, you're ready to use event flairs. Select an event, click on an icon, it will appear on the event</li>
<li>"This is not what I see, this is not what I get, something is wrong, help !". Join Event Flairs <a href="https://groups.google.com/forum/#!forum/event-flairs">group</a> and explain what's going on !</li>
</ol>
</p>
<header>
<h3 id="custom">Import a custom flairs set !</h3>
</header>
<p>
<b>NEW</b>: <a href="choose">Choose</a> your favorite icons amongst thousands available and build your own flairs set.
</p>
<p>
Custom flairs sets are user-defined set of icons you can use to enrich gadget. Simply select the one you want to use, click on "Copy", go back to your gadget and click on "Import" button <img src="static/images/import.gif">. Paste the set description and that's it ! Also have a nice one ? <a href="https://groups.google.com/forum/#!forum/event-flairs">Join</a> the group and share!
</p>
<p>
<div id="sets" class="row">
</div>
</p>
</section>
</div>
</div>
<div class="row">
<div class="6u">
<section class="box" id="support">
<a class="image image-full" href="https://groups.google.com/forum/#!forum/event-flairs"><img src="images/postquestion.jpg" alt="" /></a>
<header>
<h3>How to get help</h3>
</header>
<p>"I followed installation instruction, but it just won't work..." Keep calm, breathe deeply, join the Event Flairs <a href="https://groups.google.com/forum/#!forum/event-flairs">group</a> and explain your issue.</p>
</section>
</div>
<div class="6u">
<section class="box" id="contrib">
<a class="image image-full" href="https://code.google.com/p/event-flairs/"><img src="images/contrib.jpg" alt="" /></a>
<header>
<h3>How to contribute</h3>
</header>
<p>You can join the project and help in many different ways. Starting by providing help on the group. If you're more technical, <a href="https://code.google.com/p/event-flairs/">become</a> a committer and help fixing bugs and developing new features.</p>
</section>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
<!-- Footer Wrapper -->
<div id="footer-wrapper">
<!-- Footer -->
<section id="footer" class="container">
<div class="row">
<div class="8u">
</div>
<div class="4u">
<section>
<header>
<h2>About</h2>
</header>
<p>
Event Flairs gadget is a replacement of original Event Flairs lab for Google Calendar. Event Flairs are used
to add little icons to events. Original lab hasn't been working properly lately so this gadget is an alternative
solution.
</p>
<p>
Event Flairs gadget is an open source project, powered by enthousiastic people and volunteers.
</p>
</section>
</div>
<div class="4u">
<section>
<header>
<h2>Disclaimer</h2>
</header>
<p>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
</p>
</section>
</div>
<div class="4u">
<section>
<header>
<h2>Be social</h2>
</header>
<ul class="social">
<li class="facebook"><a href="#" class="icon48 icon48-1">Facebook</a></li>
<li class="twitter"><a href="http://twitter.com/n33co" class="icon48 icon48-2">Twitter</a></li>
<li class="dribbble"><a href="http://dribbble.com/n33" class="icon48 icon48-3">Dribbble</a></li>
<li class="linkedin"><a href="#" class="icon48 icon48-4">LinkedIn</a></li>
<li class="googleplus"><a href="#" class="icon48 icon48-6">Google+</a></li>
</ul>
<ul class="contact">
<li>
<h3>Mail</h3>
<p><a href="#">eventflairs[at]gmail.com</a></p>
</li>
</ul>
</section>
</div>
</div>
<div class="row">
<div class="12u">
<!-- Copyright -->
<div id="copyright">
<ul class="links">
<li>© Sebastien Lelong</li>
<li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</div>
</div>
</div>
</section>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-42714430-1', 'eventflairs.appspot.com');
ga('send', 'pageview');
</script>
<script>
var SETS_PER_ROW = 6;
var FLAIRS_PER_ROW = 8;
var setcnt = 0;
for(var idx in sets)
{
var set = sets[idx];
var id = set['name'].replace(" ","");
var div3u = document.createElement("div");
div3u.setAttribute("style","text-align:center;");
div3u.setAttribute("class","2u");
var h4 = document.createElement("h4");
h4.textContent = set['name'];
div3u.appendChild(h4);
var diva = document.createElement("div");
diva.innerHTML = "Author: " + set['author'];
div3u.appendChild(diva);
var divd = document.createElement("div");
divd.innerHTML = set['description'];
div3u.appendChild(divd);
var but = document.createElement("button");
but.setAttribute("id",id + '-button');
but.setAttribute("data-clipboard-text",JSON.stringify(set['def']));
but.textContent = "Copy flairs set !";
if(set['def'])
div3u.appendChild(but);
var divn = document.createElement("div");
divn.setAttribute("id",id + '-button-next');
divn.setAttribute("style","display:none;text-align:center;background:darkblue;color:white;font-size:0.8em;");
divn.textContent = 'Go back to gadget, click "import" and paste';
div3u.appendChild(divn);
var divf = document.createElement("div");
divf.setAttribute("id",id + '-flairs');
div3u.appendChild(divf);
var scr = document.createElement("script");
scr.textContent = 'var clip = new ZeroClipboard( document.getElementById("' + id + '-button' + '"), { ' +
' moviePath: "/js/ZeroClipboard.swf" ' +
' } ); ' +
' clip.on( "complete", function(client, args) { ' +
' this.style.display = "none"; ' +
' document.getElementById(this.id + "-next").style.display = "block"; ' +
' } ); ';
div3u.appendChild(scr);
if(!(setcnt%SETS_PER_ROW))
{
var br = document.createElement("br");
document.getElementById("sets").appendChild(br);
}
document.getElementById("sets").appendChild(div3u);
setcnt++;
var cnt = 0;
for(var root in set['def'])
{
for(var idx in set['def'][root])
{
var img = document.createElement("img");
img.setAttribute("src",root + set['def'][root][idx]);
img.setAttribute("height",16);
img.setAttribute("width",16);
img.setAttribute("class","icon");
if(!(cnt%FLAIRS_PER_ROW))
{
var br = document.createElement("br");
document.getElementById(id + '-flairs').appendChild(br);
}
document.getElementById(id + '-flairs').appendChild(img);
cnt++;
}
}
}
</script>
</body>
</html>