forked from binford2k/showoff
-
Notifications
You must be signed in to change notification settings - Fork 13
/
onepage.erb
36 lines (30 loc) · 988 Bytes
/
onepage.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Presentation</title>
<% if @no_js %>
<%= inline_css(['pdf.css'], 'public/css') %>
<% else %>
<%= inline_css(['onepage.css'], 'public/css') %>
<% end %>
<%= inline_css(['reset.css', 'showoff.css', 'theme/ui.all.css', 'sh_style.css'], 'public/css') %>
<% css_files.each do |css_file| %>
<%= inline_css(css_file) %>
<% end %>
<% if !@no_js %>
<%= inline_js(['jquery-1.4.2.min.js', 'jquery-print.js', 'showoff.js', 'onepage.js', 'sh_main.min.js', 'core.js', 'showoffcore.js'], 'public/js') %>
<script type="text/javascript">
$(document).ready(function() {
setupOnePage()
});
</script>
<% end %>
</head>
<body>
<div id="slides">
<%= @slides %>
</div>
</body>
</html>