-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
231 lines (213 loc) · 8.79 KB
/
base.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
<!--
Marfeel HTML5 Slide Template
-->
<!DOCTYPE html>
<html>
<head>
<title>Marfeel Slides</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?build=12">
<link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="/theme/css/phone.css">
<base target="_blank">
<!-- This amazingness opens all links in a new tab. -->
<script src="/js/require-1.0.8.min.js"></script>
<script type="text/javascript">
window.build = "{{- cache_bust -}}";
require.config({
baseUrl: '/js',
urlArgs: "bust=" + window.build,
paths: {
"slide-config": "/{{- path -}}/slide_config"
}
});
require(["/js/slides.js", "/js/marfeel.js"]);
</script>
</head>
<body style="opacity: 0">
<slides class="layout-widescreen">
{% for slide in slides %}
<slide {% if slide.class %}class="{{- slide.class -}}" {% endif %} {% if slide.image
%}style="background-image: url({{- slide.image -}})" {% endif %}>
{% if 'videocover' in slide.class %}
<span class="gradient-top"></span>
<div class="left flexbox vcenter">
<div class="auto-fadein">
<img src="/images/logo.png">
<p>{{- slide.title -}}</p>
</div>
</div>
<div class="right flexbox vcenter">
<div class="{{- slide.device }} auto-fadein">
<video loop="" muted="" volume="0" poster="" onclick="this.paused ? this.play() : this.pause()">
<source src="{{- slide.video -}}" type="video/mp4">
</video>
</div>
</div>
<div class="hint">
<div class="arrows"></div>
<p class="text">Use arrow keys to next slide</p>
</div>
{% elif 'textVideo' in slide.class %}
<span class="gradient-top"></span>
<hgroup>
<h2>{{- slide.title -}}</h2>
<h3>{{- slide.subtitle -}}</h3>
</hgroup>
<article class="{% if slide.content_class %}{{- slide.content_class}} {% endif %}half left">
{{- slide.content -}}
</article>
<div class="half left">
<div class="{{- slide.device }} auto-fadein">
<video loop="" muted="" volume="0" poster="" onclick="this.paused ? this.play() : this.pause()">
<source src="{{- slide.video -}}" type="video/mp4">
</video>
</div>
</div>
<span class="footer-divider auto-fadein"></span>
{% elif 'textImage' in slide.class %}
<span class="gradient-top"></span>
<hgroup>
<h2>{{- slide.title -}}</h2>
<h3>{{- slide.subtitle -}}</h3>
</hgroup>
<article class="{% if slide.content_class %}{{- slide.content_class}} {% endif %}half left">
{{- slide.content -}}
</article>
<div class="right">
<img src="{{- slide.contentImage -}}" alt=""/>
</div>
<span class="footer-divider auto-fadein"></span>
{% elif 'frontcover' in slide.class %}
<span class="gradient-top"></span>
<hgroup class="auto-fadein">
<h1>{{- slide.title -}}</h1>
<h2>{{- slide.subtitle -}}</h2>
</hgroup>
<img src="/images/logo.png">
{% elif 'segue' in slide.class %}
<span class="gradient-top"></span>
<aside class="gdbar"><img src="/images/favicon144.png"></aside>
<hgroup class="auto-fadein">
<h2>{{- slide.title -}}</h2>
<h3>{{- slide.subtitle -}}</h3>
</hgroup>
<span class="footer-divider auto-fadein"></span>
{% elif 'multivideo' in slide.class %}
<span class="gradient-top"></span>
<hgroup class="auto-fadein">
<h2>{{- slide.title -}}</h2>
<h3>{{- slide.subtitle -}}</h3>
</hgroup>
<article>
<div class="{{- slide.deviceLeft }} left auto-fadein">
<video loop="" muted="" volume="0" poster="" onclick="this.paused ? this.play() : this.pause()">
<source src="{{- slide.videoLeft -}}" type="video/mp4">
</video>
</div>
<div class="{{- slide.deviceRight }} right auto-fadein">
<video loop="" muted="" volume="0" poster="" onclick="this.paused ? this.play() : this.pause()">
<source src="{{- slide.videoRight -}}" type="video/mp4">
</video>
</div>
</article>
<span class="footer-divider auto-fadein"></span>
{% elif 'trivideo' in slide.class %}
<span class="gradient-top"></span>
<hgroup class="auto-fadein">
<h2>{{- slide.title -}}</h2>
<h3>{{- slide.subtitle -}}</h3>
</hgroup>
<article>
<div class="{{- slide.deviceLeft }} left auto-fadein">
<video loop="" muted="" volume="0" poster="" onclick="this.paused ? this.play() : this.pause()">
<source src="{{- slide.videoLeft -}}" type="video/mp4">
</video>
</div>
<div class="{{- slide.deviceMiddle }} left auto-fadein">
<video loop="" muted="" volume="0" poster="" onclick="this.paused ? this.play() : this.pause()">
<source src="{{- slide.videoMiddle -}}" type="video/mp4">
</video>
</div>
<div class="{{- slide.deviceRight }} left auto-fadein">
<video loop="" muted="" volume="0" poster="" onclick="this.paused ? this.play() : this.pause()">
<source src="{{- slide.videoRight -}}" type="video/mp4">
</video>
</div>
</article>
<span class="footer-divider auto-fadein"></span>
{% elif 'video' in slide.class %}
<span class="gradient-top"></span>
<hgroup class="auto-fadein">
<h2>{{- slide.title -}}</h2>
<h3>{{- slide.subtitle -}}</h3>
</hgroup>
<article>
<div class="{{- slide.device }} auto-fadein">
<video loop="" muted="" volume="0" poster="" onclick="this.paused ? this.play() : this.pause()">
<source src="{{- slide.video -}}" type="video/mp4">
</video>
</div>
</article>
<span class="footer-divider auto-fadein"></span>
{% elif 'cover' in slide.class %}
<span class="gradient-top"></span>
<hgroup class="auto-fadein">
<h2>{{- slide.title -}}</h2>
<h3>{{- slide.subtitle -}}</h3>
</hgroup>
<span class="footer-divider auto-fadein"></span>
{% else %}
<span class="gradient-top"></span>
<hgroup>
<h2>{{- slide.title -}}</h2>
<h3>{{- slide.subtitle -}}</h3>
</hgroup>
<article {% if slide.content_class %}class="{{- slide.content_class -}}" {% endif %}>
{{- slide.content -}}
</article>
<span class="footer-divider auto-fadein"></span>
{% endif %}
</slide>
{% endfor %}
<slide class="closing">
<span class="gradient-top"></span>
<article>
<h1>Let's Marfeelize the web together</h1>
<h3 id="slide-presenter"></h3>
<span>
<img src="/images/logo.png">
<p>Optimize. Engage. Monetize.</p>
</span>
<footer>
<div class="skyline"></div>
<div class="skyline__bkg"></div>
</footer>
</article>
</slide>
<slide class="backdrop"></slide>
</slides>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33892038-3']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<!--[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>