-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
396 lines (367 loc) · 12.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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
<!DOCTYPE html>
<html lang="en">
<head>
<!-- refresh the page every 60 seconds -->
<meta http-equiv="refresh" content="60" />
<meta charset="utf-8" />
<title>Design Dashboard</title>
<link
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300, 400,600,700"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Source+Code+Pro:300, 400,600,700"
rel="stylesheet"
/>
<link rel="apple-touch-icon" href="touch-icon-ipad-retina.png" />
<meta
name="description"
content="The public dashboard for Liferay's Design Team in the LA Headquarters"
/>
<meta name="author" content="Paul Hanaoka" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta
name="apple-mobile-web-app-status-bar-style"
content="black-translucent"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<link rel="stylesheet" href="css/reveal.css" />
<link rel="stylesheet" href="css/theme/liferay-design.css" id="theme" />
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css" />
<!-- Hide inactive cursor -->
<script language="javascript">
var inactivityTime = function() {
var t;
// DOM Events
document.onmousemove = resetTimer;
document.onkeypress = resetTimer;
function hideCursor() {
document.body.style.cursor = "none";
}
function resetTimer() {
clearTimeout(t);
t = setTimeout(hideCursor, 2000); // 2 seconds
document.body.style.cursor = "default";
}
};
inactivityTime();
</script>
<!-- Scrolling Twitter Feed -->
<script language="javascript">
ScrollRate = 100;
function scrollDiv_init() {
DivElmnt = document.getElementById("scrolling-twitter-feed");
ReachedMaxScroll = false;
DivElmnt.scrollTop = 0;
PreviousScrollTop = 0;
ScrollInterval = setInterval("scrollDiv()", ScrollRate);
}
function scrollDiv() {
if (!ReachedMaxScroll) {
DivElmnt.scrollTop = PreviousScrollTop;
PreviousScrollTop++;
ReachedMaxScroll =
DivElmnt.scrollTop >= DivElmnt.scrollHeight - DivElmnt.offsetHeight;
} else {
ReachedMaxScroll = DivElmnt.scrollTop == 0 ? false : true;
DivElmnt.scrollTop = PreviousScrollTop;
PreviousScrollTop--;
}
}
</script>
</head>
<body onLoad="scrollDiv_init()">
<div class="clock"></div>
<div class="reveal slide-refresh">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section
class="photo"
data-transition-speed="slow"
data-background-transition="fade"
data-background="https://source.unsplash.com/collection/825250/1920x1200"
></section>
<section>
<div class="left-sidebar">01/03</div>
<div class="container">
<h1 class="f1">Focus on Delivering Value to Customers</h1>
<p class="f3">Through products that solve their problems</p>
</div>
</section>
<section>
<div class="left-sidebar">02/03</div>
<div class="container">
<h1 class="f1">Learn to Say No</h1>
<p class="f3">
To non-strategic projects and distracting endeavors
</p>
</div>
</section>
<section>
<div class="left-sidebar">03/03</div>
<div class="container">
<h1 class="f1">Stop Wasting Time on Ideological Battles</h1>
<p class="f3">That don't ultimately deliver customer value</p>
</div>
</section>
<section>
<div class="left-sidebar">Design Twitter</div>
<div class="container">
<a
data-tweet-limit="1"
data-chrome="noheader nofooter noborders transparent"
class="twitter-timeline"
href="https://twitter.com/liferaydesign/lists/industry-leaders?ref_src=twsrc%5Etfw"
>Industry Leaders Twitter Feed</a
>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
</div>
</section>
<section>
<div class="left-sidebar">Liferay Twitter</div>
<div class="container">
<a
data-tweet-limit="1"
data-chrome="noheader nofooter noborders transparent"
class="twitter-timeline"
href="https://twitter.com/liferaydesign/lists/liferay?ref_src=twsrc%5Etfw"
>An aggregate of all the various Liferay Twitter accounts</a
>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
</div>
</section>
<section>
<div class="left-sidebar">Frontend Twitter</div>
<div class="container">
<a
data-tweet-limit="1"
data-chrome="noheader nofooter noborders transparent"
class="twitter-timeline"
href="https://twitter.com/liferaydesign/lists/should-designers-code?ref_src=twsrc%5Etfw"
>Frontend Developers who Design</a
>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
</div>
</section>
<!-- This is Marketing's Dashboard -->
<!-- <section
class="tableau-slide"
data-state="marketingDashboard"
data-autoslide="20000"
>
<script
type="text/javascript"
src="https://reports.liferay.com/javascripts/api/viz_v1.js"
></script>
<div
class="tableauPlaceholder"
style="width: 1200px; height: 2050px;"
>
<object
class="tableauViz"
width="1200"
height="2050"
style="display:none;"
>
<param
name="host_url"
value="https%3A%2F%2Freports.liferay.com%2F"/>
<param name="embed_code_version" value="3"/>
<param name="site_root" value="/t/marketing"/>
<param name="name" value="WeeklyMetricsBrief/GoalTracking"/>
<param name="tabs" value="yes"/>
<param name="toolbar" value="yes"/>
<param name="showAppBanner" value="false"/>
<param name="filter" value="iframeSizedToWindow=true"
/></object>
</div>
</section> -->
<!-- this autoslide needs to be as long as the google slideshow lasts -->
<!-- <section data-autoslide="">
<div style="overflow:hidden; margin-left: calc(-.5 * calc(73vw - 659px)); width: 76vw;">
<iframe style="position: relative; left: -1px; top: -20px;" src="https://docs.google.com/presentation/d/e/2PACX-1vTAJfDzn9hhBXuv5ovyBPHEboaJYsmWaA4Dm3LSYBbgB7ZttEhw4qIbPEq47bJq877QgIdV0E76thsi/embed?start=true&loop=false&delayms=5000"
frameborder="0" width="1094" height="740" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
</div>
</section> -->
</div>
</div>
<div id="feed-overlay"></div>
<div id="scrolling-twitter-feed" class="twitter-feed">
<div>
<a
data-theme="dark"
data-width="326"
data-height="100"
data-tweet-limit="1"
data-chrome="noheader nofooter noborders transparent"
class="twitter-timeline"
href="https://twitter.com/liferaydesign?ref_src=twsrc%5Etfw"
>Tweets by Liferay Design</a
>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
</div>
<div>
<a
data-theme="dark"
data-width="326"
data-height="100"
data-tweet-limit="1"
data-chrome="noheader nofooter noborders transparent"
class="twitter-timeline"
href="https://twitter.com/Liferay?ref_src=twsrc%5Etfw"
>Tweets by Liferay</a
>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
</div>
<div>
<a
data-theme="dark"
data-width="326"
data-height="100"
data-tweet-limit="3"
data-chrome="noheader nofooter noborders transparent"
class="twitter-timeline"
href="https://twitter.com/liferaydesign/lists/liferay-design?ref_src=twsrc%5Etfw"
>List of Liferay Designers</a
>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
width: 700,
height: 700,
controls: false,
progress: false,
history: true,
center: false,
loop: true,
shuffle: true,
autoSlide: 8000,
// autoSlide: 0,
backgroundTransition: "fade", // none/fade/slide/convex/concave/zoom
transitionSpeed: "default", // default/fast/slow
transition: "fade", // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{
src: "lib/js/classList.js",
condition: function() {
return !document.body.classList;
}
},
{
src: "plugin/markdown/marked.js",
condition: function() {
return !!document.querySelector("[data-markdown]");
}
},
{
src: "plugin/markdown/markdown.js",
condition: function() {
return !!document.querySelector("[data-markdown]");
}
},
{
src: "plugin/highlight/highlight.js",
async: true,
callback: function() {
hljs.initHighlightingOnLoad();
}
},
{
src: "plugin/search/search.js",
async: true
},
{
src: "plugin/zoom-js/zoom.js",
async: true
},
{
src: "plugin/notes/notes.js",
async: true
}
]
});
</script>
<!-- Clock / Calendar in the Footer -->
<script>
function clock() {
// Create a new Date object and assign it to a variable called "time".
var weekdays = new Array(7);
weekdays[0] = "Sunday";
weekdays[1] = "Monday";
weekdays[2] = "Tuesday";
weekdays[3] = "Wednesday";
weekdays[4] = "Thursday";
weekdays[5] = "Friday";
weekdays[6] = "Saturday";
var current_date = new Date();
weekday_value = current_date.getDay();
var time = new Date(),
year = time.getFullYear(),
month = time.getMonth() + 1,
day = time.getDate(),
hours = time.getHours(),
minutes = time.getMinutes(),
seconds = time.getSeconds();
document.querySelectorAll(".clock")[0].innerHTML =
"<p class='date'>" +
today(year) +
"-" +
today(month) +
"-" +
today(day) +
"</p>" +
"<p class='day'>" +
weekdays[weekday_value] +
"</p>" +
"<p class='time'>" +
today(hours) +
":" +
today(minutes) +
":" +
today(seconds) +
"</p>";
function today(standIn) {
if (standIn < 10) {
standIn = "0" + standIn;
}
return standIn;
}
}
setInterval(clock, 1000);
</script>
</body>
</html>