-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.erb
51 lines (43 loc) · 1.74 KB
/
template.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
<html>
<head>
<meta charset="utf-8">
<title>md2slide</title>
<meta name="viewport" content="width=1024, user-scalable=no">
<link rel="stylesheet" href="deck.js/core/deck.core.css">
<link rel="stylesheet" href="deck.js/extensions/hash/deck.hash.css">
<link rel="stylesheet" href="deck.js/extensions/navigation/deck.navigation.css">
<link rel="stylesheet" href="deck.js/extensions/status/deck.status.css">
<link rel="stylesheet" id="style-theme-link" href="deck.js/themes/style/neon.css">
<link rel="stylesheet" id="style-theme-link" href="deck.js/themes/style/neon.css">
<link rel="stylesheet" id="transition-theme-link" href="deck.js/themes/transition/vertical-slide.css">
<!-- add custom stylesheet
<link rel="stylesheet" href="style.css">
-->
<!--scripts-->
<script src="deck.js/jquery-1.7.min.js"></script>
<script src="deck.js/modernizr.custom.js"></script>
<script src="deck.js/core/deck.core.js"></script>
<script src="deck.js/extensions/hash/deck.hash.js"></script>
<script src="deck.js/extensions/navigation/deck.navigation.js"></script>
<script src="deck.js/extensions/status/deck.status.js"></script>
</head>
<body class="deck-container">
<% slides.each do |name,val| %>
<section class='slide <%=val[:classes] %>' id='<%= name %>'>
<%= val[:content] %>
</section>
<% end %>
<a href="#" class="deck-prev-link" title="Previous">←</a>
<a href="#" class="deck-next-link" title="Next">→</a>
<p class="deck-status">
<span class="deck-status-current"></span>
/
<span class="deck-status-total"></span>
</p>
</body>
<script>
$(function() {
$.deck('.slide');
});
</script>
</html>