-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (59 loc) · 2.04 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
<html>
<head>
<title>Key Learnings goto 2018 Berlin</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=800" />
<link href="slide/lib/bootstrap.css" rel="stylesheet" />
<script src="slide/lib/jquery.min.js"></script>
<script src="slide/lib/markdown.min.js"></script>
<script src="slide/tarent-slide.js"></script>
<link rel="stylesheet" href="slide/tarent-slide.css">
<style>
</style>
<script>
function updateMarkdown(etag) {
$.get("README.md", function( data, textStatus, jqXHR ) {
var etagNew = jqXHR.getResponseHeader("ETag");
if (etagNew != etag) {
$('#content').html( markdown.toHTML(data) );
var lastHeader = undefined;
$('#content').find('h1').each(function(index, header) {
if (lastHeader) {
var newSlide = $('<slide>').appendTo($('#content'));
$(lastHeader).nextUntil(header).andSelf().detach().appendTo(newSlide);
}
lastHeader = header;
});
var newSlide = $('<slide>').appendTo($('#content'));
var firstSlide = $('#content').find('slide').first();
$(lastHeader).nextUntil(firstSlide).andSelf().detach().appendTo(newSlide);
newSlideDeck().addAllSlides();
}
if (location.hostname == '127.0.0.1' || location.hostname == 'localhost') {
window.setTimeout(function() {
updateMarkdown(etagNew);
}, 100);
}
})
}
$(function() {
updateMarkdown("none");
});
</script>
</head>
<body>
<div class="slides">
<slide>
<img style="float: right; margin-top: 250px; width: 800px;" src="images/goto2018.png">
<div style="clear: both; margin-right: 20px;">
<p>
<br>
<h2 style="text-align: right">Tim Steffens</h2>
<h6 style="text-align: right">t.steffens@tarent.de</h6>
</p>
</div>
</slide>
<div id="content"></div>
</div>
</body>
</html>