_index.html 4.46 KB
Newer Older
Laurent Heirendt's avatar
Laurent Heirendt committed
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
<!doctype html>
<html lang="en">

    <head>
        <meta charset="utf-8">

        <title>Presentation title</title>

        <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="theme/reveal.js/css/reveal.css">

        <link rel="stylesheet" href="theme/css/style.css">

        <!-- For syntax highlighting -->
        <link rel="stylesheet" href="theme/reveal.js/lib/css/zenburn.css" id="highlight-theme">

        <!-- If the query includes 'print-pdf', use the PDF print sheet -->
        <script>
          document.write( '<link rel="stylesheet" href="theme/reveal.js/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
        </script>

        <link rel="shortcut icon" type="image/x-icon" href="slides/img/favicon.ico" />
        <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
        <link href="https://use.fontawesome.com/releases/v5.0.7/css/all.css" rel="stylesheet" crossorigin="anonymous">
    </head>

    <body>

        <div class="reveal">

            <div class="slides">
                <% _.forEach(slides, function(slide) { %>
                    <% if (!_.isArray(slide)) { %>
                        <%= section(slide) %>
                    <% } %>
                    <% if (_.isArray(slide)) { %>
                        <section data-transition="none">
                            <% _.forEach(slide, function(verticalslide) { %>
                                <%= section(verticalslide) %>
                            <% }); %>
                        </section>
                    <% } %>
                <% }); %>
            </div>
            <div class="bottomLogoLeft">
                <img src="theme/img/University-of-Luxembourg-Fr-01.svg" height="110px">
            </div>
            <div class="bottomLogoRight">
                    <img src="theme/img/LCSB_short_small_4c_cropped.svg" height="86px">
            </div>
        </div>

        <!--<script src="theme/reveal.js/lib/js/head.min.js"></script>-->
        <script src="theme/reveal.js/js/reveal.js"></script>
        <script>
            // Configure Reveal
            // Full list of configuration options available here:
            // https://github.com/hakimel/reveal.js#configuration
            Reveal.initialize({
                controls: true,
                progress: true,
                history: true,
                center: false,
                fragments: true,

                // The "normal" size of the presentation, aspect ratio will be preserved
                // when the presentation is scaled to fit different resolutions
72
73
                width: '100%',
                height: '100%',
Laurent Heirendt's avatar
Laurent Heirendt committed
74
75
76
77

                slideNumber: 'c/t',

                // Factor of the display size that should remain empty around the content
78
                margin: 0.05,
Laurent Heirendt's avatar
Laurent Heirendt committed
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101

                // Bounds for smallest/largest possible scale to apply to content
                minScale: 0.2,
                maxScale: 1.0,

                theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
                transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none

                // Optional libraries used to extend on reveal.js
                dependencies: [
                    { src: 'theme/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
                    { src: 'theme/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
                    { src: 'theme/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
                    { src: 'theme/reveal.js/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
                    { src: 'theme/reveal.js/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
                    { src: 'theme/reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
                ]
            });
        </script>

    </body>

</html>