-
Notifications
You must be signed in to change notification settings - Fork 2
/
slides.html.erb
79 lines (64 loc) · 2.79 KB
/
slides.html.erb
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title><%= @headers['title'] %></title>
<meta name="generator" content="<%= @headers['generator'] %>">
<meta name="author" content="<%= @headers['author']%>" >
<!-- SyntaxHighlighter (sh) style sheet; goes first so we can override styles if needed -->
<!-- todo: add theme-ing support -->
<link rel="stylesheet" href="highlighter/shCoreRDark.css">
<!-- Takataka style sheet links -->
<link rel="stylesheet" href="<%= "#{@name}.css" %>" media="projection" id="styleProjection">
<link rel="stylesheet" href="takataka/screen.css" media="screen" id="styleScreen">
<link rel="stylesheet" href="takataka/print.css" media="print">
<!-- Takataka JS -->
<script src="takataka/jquery.js"></script>
<script src="takataka/jquery.slideshow.js"></script>
<!-- SyntaxHighlighter (sh) machinery -->
<script src="highlighter/shCore.js"></script>
<!-- SyntaxHighlighter brushes, remove those for languages you don't need -->
<script src="highlighter/shBrushAppleScript.js"></script>
<script src="highlighter/shBrushAS3.js"></script>
<script src="highlighter/shBrushBash.js"></script>
<script src="highlighter/shBrushColdFusion.js"></script>
<script src="highlighter/shBrushCpp.js"></script>
<script src="highlighter/shBrushCSharp.js"></script>
<script src="highlighter/shBrushCss.js"></script>
<script src="highlighter/shBrushDelphi.js"></script>
<script src="highlighter/shBrushDiff.js"></script>
<script src="highlighter/shBrushErlang.js"></script>
<script src="highlighter/shBrushGroovy.js"></script>
<script src="highlighter/shBrushJavaFX.js"></script>
<script src="highlighter/shBrushJava.js"></script>
<script src="highlighter/shBrushJScript.js"></script>
<script src="highlighter/shBrushPerl.js"></script>
<script src="highlighter/shBrushPhp.js"></script>
<script src="highlighter/shBrushPlain.js"></script>
<script src="highlighter/shBrushPowerShell.js"></script>
<script src="highlighter/shBrushPython.js"></script>
<script src="highlighter/shBrushRuby.js"></script>
<script src="highlighter/shBrushSass.js"></script>
<script src="highlighter/shBrushScala.js"></script>
<script src="highlighter/shBrushSql.js"></script>
<script src="highlighter/shBrushVb.js"></script>
<script src="highlighter/shBrushXml.js"></script>
<script type="text/javascript">
$(document).ready( function() {
Slideshow.init();
SyntaxHighlighter.all();
} );
<%= content_for :js %>
</script>
<!-- Better Browser Banner for Microsoft Internet Explorer (IE) -->
<!--[if IE]>
<script src="takataka/jquery.microsoft.js"></script>
<![endif]-->
<%= content_for :head %>
</head>
<body>
<div class="presentation">
<%= @content %>
</div><!-- presentation -->
</body>
</html>