forked from citiususc/citius-html5-slides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
607 lines (578 loc) · 21.9 KB
/
template.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
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
<!--
CiTIUS HTML5 Slide Template is based on the
GoogleIO Slide Template.
Original credits:
Google IO 2012/2013 HTML5 Slide Template
Authors: Eric Bidelman <[email protected]>
Luke Mahé <[email protected]>
URL: https://code.google.com/p/io-2012-slides
Modifications of the original GoogleIO HTML5 Slide Template
are released under the same license (Apache 2.0 License).
Pablo Rodríguez Mier
-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">-->
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">-->
<!--This one seems to work all the time, but really small on ipad-->
<!--<meta name="viewport" content="initial-scale=0.4">-->
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" media="all" href="theme/css/default.css">
<link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="theme/css/phone.css">
<base target="_blank">
<!-- Use KateX for Tex support -->
<link rel="stylesheet" href="js/katex/katex.min.css">
<!-- TODO: Should be loaded with require.js -->
<script src="js/katex/katex.min.js" type="text/javascript"></script>
<!-- -->
<!-- This amazingness opens all links in a new tab. -->
<script data-main="js/slides" src="js/require-1.0.8.min.js"></script>
</head>
<body style="opacity: 0">
<slides class="layout-widescreen">
<slide class="logoslide nobackground">
<article class="flexbox vcenter">
<span><img src="images/vector/svg/logo_CiTIUS.svg"></span>
</article>
</slide>
<slide class="title-slide segue nobackground">
<aside class="gdbar"><img src="images/citius-logo-128.png"></aside>
<!-- The content of this header is replaced programmatically through the slide_config.json. -->
<header class="auto-fadein">
<h1 data-config-title>
<!-- populated from slide_config.json -->
</h1>
<h2 data-config-subtitle>
<!-- populated from slide_config.json -->
</h2>
<p data-config-presenter>
<!-- populated from slide_config.json -->
</p>
</header>
</slide>
<!-- Index -->
<slide data-config-index>
<!-- populated from slid_config.json -->
</slide>
<slide class="isection" data-isection-title="Sections" data-isection-subtitle="How to build them?">
<!-- Populated from slide-deck.js -->
</slide>
<slide>
<header>
<h2>Index and Section Slides</h2>
</header>
<article>
<p>Sections can be build using the class name <code>isection</code> in a slide. Then add a title for the
section with the data attribute <code>data-isection-title</code> and an optional subtitle with
<code>data-isection-subtitle</code>.
</p>
<p>If you want a general index with all sections displayed just add an empty slide with the
attribute <code>data-config-index</code></p>
<p>The default title for this slides is <code>Contents</code>, but you can change it in the configuration file.
</article>
</slide>
<slide class="isection" data-isection-title="Bullets and boxes">
<!-- Populated from slide-deck.js -->
</slide>
<slide>
<header>
<h2>Slide with Bullets</h2>
</header>
<article>
<ul>
<li>Titles are formatted as Open Sans with bold applied and font size is set at 45</li>
<li>
Title capitalization is title case
<ul>
<li>Subtitle capitalization is title case</li>
</ul>
</li>
<li>Subtitle capitalization is title case</li>
<li>Titles and subtitles should never have a period at the end</li>
</ul>
</article>
</slide>
<slide>
<header>
<h2>Slide with Bullets that Build</h2>
<h3>Subtitle Placeholder</h3>
</header>
<article>
<p>A list where items build:</p>
<ul class="build">
<li>Pressing 'h' highlights code snippets</li>
<li>Pressing 'p' toggles speaker notes (if they're on the current slide)</li>
<li>Pressing 'f' toggles fullscreen viewing</li>
<li>Pressing 'w' toggles widescreen</li>
<li>Pressing 'o' toggles overview mode</li>
<li>Pressing 'm' toggles help menu</li>
<li>Pressing 'ESC' toggles off these goodies</li>
</ul>
</article>
</slide>
<slide>
<header>
<h2>Slide with Bullets that Build</h2>
<h3>Subtitle Placeholder</h3>
</header>
<article>
<p>Another list, but items fade as they build:</p>
<ul class="build fade">
<li>Hover over me!</li>
<li>Hover over me!</li>
<li>Hover over me!</li>
</ul>
</article>
</slide>
<slide>
<header>
<h2>Slide with (Smaller Font)</h2>
</header>
<article class="smaller">
<ul>
<li>All <a href="http://citius.usc.es">links</a> open in new tabs.</li>
<li>To change that this, add <code>target="_self"</code> to the link.</li>
</ul>
</article>
</slide>
<slide>
<header><h2>Colourful boxes</h2></header>
<article>
<div class="box">
<header></header>
<div>No coloured no titled box!</div>
</div>
<div class="box">
<header><h3>Regular box</h3></header>
<div>No coloured box with title!</div>
</div>
<div class="box greenbox">
<header><h3>Green box</h3></header>
<div>Green box example</div>
</div>
<div class="box orangebox">
<header><h3>Red box</h3></header>
<div>Orange example. There are more colours: blue, yellow, etc.</div>
</div>
</article>
</slide>
<slide hidden>
Hidden slides are left out of the presentation.
</slide>
<slide class="isection" data-isection-title="Code Slides">
<!-- Populated from slide-deck.js -->
</slide>
<slide>
<header>
<h2>Code Slide (with Subtitle Placeholder)</h2>
<h3>Subtitle Placeholder</h3>
</header>
<article>
<p>Press 'h' to highlight important sections of code (wrapped in <code><b></code>).</p>
<pre class="prettyprint" data-lang="javascript">
<script type='text/javascript'>
// Say hello world until the user starts questioning
// the meaningfulness of their existence.
function helloWorld(world) {
<b>for (var i = 42; --i >= 0;) {
alert('Hello ' + String(world));
}</b>
}
</script>
</pre>
</article>
</slide>
<slide>
<header>
<h2>Code Slide (Smaller Font)</h2>
</header>
<article class="smaller">
<pre class="prettyprint" data-lang="javascript">
// Say hello world until the user starts questioning
// the meaningfulness of their existence.
function helloWorld(world) {
for (var i = 42; --i >= 0;) {
alert('Hello ' + String(world));
}
}
</pre>
<pre class="prettyprint" data-lang="css">
<style>
p { color: pink }
b { color: blue }
</style>
</pre>
<pre class="prettyprint" data-lang="html">
<!DOCTYPE html>
<html>
<head>
<title>My Awesome Page</title>
</head>
<body>
<p>Hello world</p>
<body>
</html>
</pre>
</article>
</slide>
<slide>
<header>
<h2>Using <span id="katexword"></span> for math rendering</h2>
<script>
katex.render("\\KaTeX", katexword);
</script>
</header>
<br/>
<ul>
<li><a href="http://khan.github.io/KaTeX/">KaTeX</a> is a fast JavaScript library for TeX math rendering on the web.</li>
<li>To render a math expression, use <code>katex.render()</code>:</li>
</ul>
<article class="smaller">
<pre class="prettyprint" data-lang="javascript">
<script type='text/javascript'>
// elementId is the id of a DOM element to render into
katex.render("f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi", elementId);
</script>
</pre>
</article>
<div class="centered">
<p id="katexeq1"></p>
<script>
katex.render("\\displaystyle f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi", katexeq1);
</script>
</div>
</slide>
<slide class="isection" data-isection-title="Notes">
<!-- Populated from slide-deck.js -->
</slide>
<slide>
<aside class="note">
<section>
<ul>
<li>Point I wanted to make #1</li>
<li>Point I wanted to make #2</li>
<li>Point I wanted to make #3</li>
<li>Example <a href="#">link</a> in notes.</li>
</ul>
<p><b>Remember to say this tag line!</b></p>
</section>
</aside>
<header>
<h2>Slide with Speaker Notes</h2>
</header>
<article>
<p>Press 'p' to toggle speaker notes.</p>
</article>
</slide>
<slide>
<aside class="note">
<section>
<ul>
<li>See this amazing link: <a href="http://citius.usc.es">link</a>.</li>
</ul>
<p><b>Remember to say this tag line!</b></p>
</section>
</aside>
<header>
<h2>Presenter Mode</h2>
</header>
<article>
<p>Add <code><a href="?presentme=true" target="_self">?presentme=true</a></code> to the URL to enabled presenter mode.
This setting is sticky, meaning refreshing the page will persist presenter
mode.
</p>
<p>Hit <code><a href="?presentme=false" target="_self">?presentme=false</a></code> to disable presenter mode.</p>
</article>
</slide>
<slide class="isection" data-isection-title="Images, Tables and Styles">
<!-- Populated from slide-deck.js -->
</slide>
<slide>
<header>
<h2>Slide with Image</h2>
</header>
<article>
<img src="images/chart.png" class="reflect" alt="Description" title="Description">
<footer class="source">source: place source info here</footer>
</article>
</slide>
<slide>
<header>
<h2>Slide with Image (Centered horz/vert)</h2>
</header>
<article class="flexbox vcenter">
<img src="images/barchart.png" alt="Description" title="Description">
<footer class="source">source: place source info here</footer>
</article>
</slide>
<slide>
<header>
<h2>Table Option A</h2>
<h3>Subtitle Placeholder</h3>
</header>
<article>
<table>
<tr>
<th></th>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
<th>Column 4</th>
</tr>
<tr>
<td>Row 1</td>
<td>placeholder</td>
<td class="highlight">placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<td>Row 2</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<td>Row 3</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<td>Row 4</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<td>Row 5</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
</table>
</article>
</slide>
<slide>
<header>
<h2>Table Option A (Smaller Text)</h2>
<h3>Add class <code>smaller</code> to the table container</h3>
</header>
<article class="smaller">
<table>
<tr>
<th></th>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
<th>Column 4</th>
</tr>
<tr>
<td>Row 1</td>
<td>placeholder</td>
<td class="highlight">placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<td>Row 2</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<td>Row 3</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<td>Row 4</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<td>Row 5</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
</table>
</article>
</slide>
<slide>
<header>
<h2>Table Option B</h2>
<h3>Subtitle Placeholder</h3>
</header>
<article>
<table class="rows">
<tr>
<th>Header 1</th>
<td>placeholder</td>
<td class="highlight">placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<th>Header 2</th>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<th>Header 3</th>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<th>Header 4</th>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
<tr>
<th>Header 5</th>
<td>placeholder</td>
<td>placeholder</td>
<td>placeholder</td>
</tr>
</table>
</article>
</slide>
<slide>
<header>
<h2>Slide Styles</h2>
</header>
<article class="smaller">
<div class="columns-2">
<ul>
<li class="red">class="red"</li>
<li class="red2">class="red2"</li>
<li class="red3">class="red3"</li>
<li class="blue">class="blue"</li>
<li class="blue2">class="blue2"</li>
<li class="blue3">class="blue3"</li>
<li class="green">class="green"</li>
<li class="green2">class="green2"</li>
</ul>
<ul>
<li class="green3">class="green3"</li>
<li class="yellow">class="yellow"</li>
<li class="yellow2">class="yellow2"</li>
<li class="yellow3">class="yellow3"</li>
<li class="gray">class="gray"</li>
<li class="gray2">class="gray2"</li>
<li class="gray3">class="gray3"</li>
<li class="gray4">class="gray4"</li>
</ul>
</div>
<div class="centered" style="margin-top:2em">
I am centered text with a <button>Button</button> and <button disabled>Disabled</button> button.
</div>
</article>
</slide>
<slide class="segue dark nobackground">
<aside class="gdbar"><img src="images/citius-logo-128.png"></aside>
<header class="auto-fadein">
<h2>Segue Slide</h2>
<h3>Subtitle Placeholder</h3>
</header>
</slide>
<slide class="fill nobackground" style="background-image: url(images/citius-building.jpg)">
<header>
<h2 class="white quotebox">Full Image (with Optional Header)</h2>
</header>
<footer class="source white">http://citius.usc.es</footer>
</slide>
<slide class="segue dark quote nobackground">
<aside class="gdbar right bottom"><img src="images/citius-logo-128.png"></aside>
<article class="flexbox vleft auto-fadein">
<q>
This is an example of quote text.
</q>
<div class="author">
Name<br>
Company
</div>
</article>
</slide>
<slide>
<header>
<h2>Slide with Iframe</h2>
</header>
<article>
<iframe data-src="http://mbostock.github.io/d3/talk/20111116/force-collapsible.html"></iframe>
</article>
</slide>
<!--
<slide>
<article>
<iframe data-src="http://threejs.org/examples/webgl_interactive_raycasting_pointcloud.html"></iframe>
</article>
</slide>
-->
<slide>
<article>
<iframe data-src="http://froosky.rwell.org/graphosaurus/examples/eve/"></iframe>
</article>
</slide>
<slide class="thank-you-slide segue nobackground">
<aside class="gdbar right"><img src="images/citius-logo-128.png"></aside>
<article class="flexbox vleft auto-fadein">
<h2><Thank You!></h2>
<p>Important contact information goes here.</p>
</article>
<p class="auto-fadein" data-config-contact>
<!-- populated from slide_config.json -->
</p>
</slide>
<slide class="logoslide dark nobackground">
<article class="flexbox vcenter">
<span><img src="images/vector/svg/logo_CiTIUS_blanco.svg"></span>
</article>
</slide>
<slide class="backdrop"></slide>
<div class="help">
<section>
<header><h2>Help</h2></header>
<p>Pressing</p>
<ul>
<li><kbd>m</kbd> shows this help</li>
<li><kbd>h</kbd> highlights code snippets</li>
<li><kbd>p</kbd> toggles speaker notes (if they're on the current slide)</li>
<li><kbd>f</kbd> toggles fullscreen viewing</li>
<li><kbd>w</kbd> toggles widescreen</li>
<li><kbd>o</kbd> toggles overview mode</li>
<li><kbd>ESC</kbd> toggles off all the goodies</li>
<li>Navigation
<ul>
<li><kbd>→</kbd>,'Page up' next slide</li>
<li><kbd>←</kbd>, 'Page down' previous slide</li>
<li><kbd>SHIFT</kbd>+<kbd>Home</kbd>: first slide </li>
<li><kbd>SHIFT</kbd>+<kbd>End</kbd>: last slide </li>
</ul>
</li>
</ul>
</section>
</div>
</slides>
<!--[if IE]>
<script src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
<script>CFInstall.check({mode: 'overlay'});</script>
<![endif]-->
</body>
</html>