mattmatt-showoff 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.rdoc +280 -0
- data/Rakefile +15 -0
- data/bin/showoff +115 -0
- data/lib/princely.rb +84 -0
- data/lib/showoff.rb +346 -0
- data/lib/showoff_utils.rb +259 -0
- data/public/css/fg.menu.css +114 -0
- data/public/css/onepage.css +44 -0
- data/public/css/pdf.css +12 -0
- data/public/css/reset.css +53 -0
- data/public/css/sh_style.css +66 -0
- data/public/css/showoff.css +258 -0
- data/public/css/spinner_bar.gif +0 -0
- data/public/css/theme/images/ui-bg_diagonals-small_100_f0efea_40x40.png +0 -0
- data/public/css/theme/images/ui-bg_flat_35_f0f0f0_40x100.png +0 -0
- data/public/css/theme/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
- data/public/css/theme/images/ui-bg_glow-ball_25_2e2e28_600x600.png +0 -0
- data/public/css/theme/images/ui-bg_highlight-soft_100_f0efea_1x100.png +0 -0
- data/public/css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png +0 -0
- data/public/css/theme/images/ui-bg_highlight-soft_25_5A9D1A_1x100.png +0 -0
- data/public/css/theme/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
- data/public/css/theme/images/ui-bg_inset-soft_22_3b3b35_1x100.png +0 -0
- data/public/css/theme/images/ui-icons_808080_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_8DC262_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_e7e6e4_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_eeeeee_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/css/theme/ui.accordion.css +9 -0
- data/public/css/theme/ui.all.css +2 -0
- data/public/css/theme/ui.base.css +9 -0
- data/public/css/theme/ui.core.css +37 -0
- data/public/css/theme/ui.datepicker.css +62 -0
- data/public/css/theme/ui.dialog.css +13 -0
- data/public/css/theme/ui.progressbar.css +4 -0
- data/public/css/theme/ui.resizable.css +13 -0
- data/public/css/theme/ui.slider.css +17 -0
- data/public/css/theme/ui.tabs.css +9 -0
- data/public/css/theme/ui.theme.css +245 -0
- data/public/favicon.ico +0 -0
- data/public/js/fg.menu.js +645 -0
- data/public/js/jTypeWriter.js +26 -0
- data/public/js/jquery-1.4.min.js +151 -0
- data/public/js/jquery-print.js +109 -0
- data/public/js/jquery.batchImageLoad.js +56 -0
- data/public/js/jquery.cookie.js +96 -0
- data/public/js/jquery.cycle.all.js +1284 -0
- data/public/js/jquery.doubletap-0.1.js +105 -0
- data/public/js/jquery.uuid.js +24 -0
- data/public/js/jquery.ws-0.3pre.js +201 -0
- data/public/js/onepage.js +5 -0
- data/public/js/sh_lang/sh_bison.min.js +1 -0
- data/public/js/sh_lang/sh_c.min.js +1 -0
- data/public/js/sh_lang/sh_caml.min.js +1 -0
- data/public/js/sh_lang/sh_changelog.min.js +1 -0
- data/public/js/sh_lang/sh_cpp.min.js +1 -0
- data/public/js/sh_lang/sh_csharp.min.js +1 -0
- data/public/js/sh_lang/sh_css.min.js +1 -0
- data/public/js/sh_lang/sh_desktop.min.js +1 -0
- data/public/js/sh_lang/sh_diff.min.js +1 -0
- data/public/js/sh_lang/sh_flex.min.js +1 -0
- data/public/js/sh_lang/sh_glsl.min.js +1 -0
- data/public/js/sh_lang/sh_haxe.min.js +1 -0
- data/public/js/sh_lang/sh_html.min.js +1 -0
- data/public/js/sh_lang/sh_java.min.js +1 -0
- data/public/js/sh_lang/sh_javascript.min.js +1 -0
- data/public/js/sh_lang/sh_javascript_dom.min.js +1 -0
- data/public/js/sh_lang/sh_latex.min.js +1 -0
- data/public/js/sh_lang/sh_ldap.min.js +1 -0
- data/public/js/sh_lang/sh_log.min.js +1 -0
- data/public/js/sh_lang/sh_lsm.min.js +1 -0
- data/public/js/sh_lang/sh_m4.min.js +1 -0
- data/public/js/sh_lang/sh_makefile.min.js +1 -0
- data/public/js/sh_lang/sh_oracle.min.js +1 -0
- data/public/js/sh_lang/sh_pascal.min.js +1 -0
- data/public/js/sh_lang/sh_perl.min.js +1 -0
- data/public/js/sh_lang/sh_php.min.js +1 -0
- data/public/js/sh_lang/sh_prolog.min.js +1 -0
- data/public/js/sh_lang/sh_properties.min.js +1 -0
- data/public/js/sh_lang/sh_python.min.js +1 -0
- data/public/js/sh_lang/sh_ruby.min.js +1 -0
- data/public/js/sh_lang/sh_scala.min.js +1 -0
- data/public/js/sh_lang/sh_sh.min.js +1 -0
- data/public/js/sh_lang/sh_slang.min.js +1 -0
- data/public/js/sh_lang/sh_sml.min.js +1 -0
- data/public/js/sh_lang/sh_spec.min.js +1 -0
- data/public/js/sh_lang/sh_sql.min.js +1 -0
- data/public/js/sh_lang/sh_tcl.min.js +1 -0
- data/public/js/sh_lang/sh_xml.min.js +1 -0
- data/public/js/sh_lang/sh_xorg.min.js +1 -0
- data/public/js/sh_main.min.js +4 -0
- data/public/js/showoff.js +441 -0
- data/views/index.erb +73 -0
- data/views/onepage.erb +36 -0
- metadata +198 -0
data/views/index.erb
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
+
<title><%= @title %></title>
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="<%= @asset_path %>/css/reset.css" type="text/css"/>
|
10
|
+
<link rel="stylesheet" href="<%= @asset_path %>/css/showoff.css" type="text/css"/>
|
11
|
+
|
12
|
+
<script type="text/javascript" src="<%= @asset_path %>/js/jquery-1.4.min.js"></script>
|
13
|
+
<script type="text/javascript" src="<%= @asset_path %>/js/jquery.cycle.all.js"></script>
|
14
|
+
<script type="text/javascript" src="<%= @asset_path %>/js/jquery-print.js"></script>
|
15
|
+
<script type="text/javascript" src="<%= @asset_path %>/js/jquery.batchImageLoad.js"></script>
|
16
|
+
|
17
|
+
<script type="text/javascript" src="<%= @asset_path %>/js/jquery.doubletap-0.1.js"></script>
|
18
|
+
|
19
|
+
<script type="text/javascript" src="<%= @asset_path %>/js/fg.menu.js"></script>
|
20
|
+
<script type="text/javascript" src="<%= @asset_path %>/js/showoff.js"></script>
|
21
|
+
<script type="text/javascript" src="<%= @asset_path %>/js/jTypeWriter.js"> </script>
|
22
|
+
<script type="text/javascript" src="<%= @asset_path %>/js/sh_main.min.js"></script>
|
23
|
+
|
24
|
+
<link type="text/css" href="<%= @asset_path %>/css/fg.menu.css" media="screen" rel="stylesheet" />
|
25
|
+
<link type="text/css" href="<%= @asset_path %>/css/theme/ui.all.css" media="screen" rel="stylesheet" />
|
26
|
+
<link type="text/css" href="<%= @asset_path %>/css/sh_style.css" rel="stylesheet" >
|
27
|
+
|
28
|
+
<% css_files.each do |css_file| %>
|
29
|
+
<link rel="stylesheet" href="file/<%= css_file %>" type="text/css"/>
|
30
|
+
<% end %>
|
31
|
+
|
32
|
+
<% js_files.each do |js_file| %>
|
33
|
+
<script type="text/javascript" src="file/<%= js_file %>"></script>
|
34
|
+
<% end %>
|
35
|
+
|
36
|
+
<script type="text/javascript">
|
37
|
+
$(function(){
|
38
|
+
setupPreso(<%= @slides.nil? ? "true" : "false"%>, '<%= @asset_path %>');
|
39
|
+
});
|
40
|
+
</script>
|
41
|
+
</head>
|
42
|
+
|
43
|
+
<body>
|
44
|
+
|
45
|
+
|
46
|
+
<a tabindex="0" href="#search-engines" class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all" id="navmenu"><span class="ui-icon ui-icon-triangle-1-s"></span>slides</a>
|
47
|
+
<div id="navigation" class="hidden"></div>
|
48
|
+
|
49
|
+
<div id="help">
|
50
|
+
<table>
|
51
|
+
<tr><td class="key">space, →</td><td>next slide</td></tr>
|
52
|
+
<tr><td class="key">←</td><td>previous slide</td></tr>
|
53
|
+
<tr><td class="key">d</td><td>debug mode</td></tr>
|
54
|
+
<tr><td class="key">## <ret></td><td>go to slide #</td></tr>
|
55
|
+
<tr><td class="key">c</td><td>table of contents (vi)</td></tr>
|
56
|
+
<tr><td class="key">f</td><td>toggle footer</td></tr>
|
57
|
+
<tr><td class="key">r</td><td>reload slides</td></tr>
|
58
|
+
<tr><td class="key">z</td><td>toggle help (this)</td></tr>
|
59
|
+
</table>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="preso">loading presentation...</div>
|
63
|
+
<div id="footer">
|
64
|
+
<span id="slideInfo"></span>
|
65
|
+
<span id="debugInfo"></span>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
<div id="slides" class="offscreen" <%= 'style="display:none;"' if @slides %>>
|
69
|
+
<%= @slides %>
|
70
|
+
</div>
|
71
|
+
|
72
|
+
</body>
|
73
|
+
</html>
|
data/views/onepage.erb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
+
<title>Presentation</title>
|
8
|
+
|
9
|
+
<% if @no_js %>
|
10
|
+
<%= inline_css(['pdf.css'], 'public/css') %>
|
11
|
+
<% else %>
|
12
|
+
<%= inline_css(['onepage.css'], 'public/css') %>
|
13
|
+
<% end %>
|
14
|
+
<%= inline_css(['reset.css', 'showoff.css', 'theme/ui.all.css', 'sh_style.css'], 'public/css') %>
|
15
|
+
<% css_files.each do |css_file| %>
|
16
|
+
<%= inline_css(css_file) %>
|
17
|
+
<% end %>
|
18
|
+
|
19
|
+
<% if !@no_js %>
|
20
|
+
<%= inline_js(['jquery-1.4.min.js', 'jquery.jswipe.js', 'jquery-print.js', 'showoff.js', 'onepage.js', 'sh_main.min.js'], 'public/js') %>
|
21
|
+
<script type="text/javascript">
|
22
|
+
$(document).ready(function() {
|
23
|
+
setupOnePage()
|
24
|
+
});
|
25
|
+
</script>
|
26
|
+
<% end %>
|
27
|
+
</head>
|
28
|
+
|
29
|
+
<body>
|
30
|
+
|
31
|
+
<div id="slides">
|
32
|
+
<%= @slides %>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
</body>
|
36
|
+
</html>
|
metadata
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mattmatt-showoff
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Scott Chacon
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2010-05-04 00:00:00 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: sinatra
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: bluecloth
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "0"
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: nokogiri
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: "0"
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: json
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: gli
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.1.0
|
64
|
+
version:
|
65
|
+
description: " ShowOff is a Sinatra web app that reads simple configuration files for a\n presentation. It is sort of like a Keynote web app engine. I am using it\n to do all my talks in 2010, because I have a deep hatred in my heart for\n Keynote and yet it is by far the best in the field.\n\n The idea is that you setup your slide files in section subdirectories and\n then startup the showoff server in that directory. It will read in your\n showoff.json file for which sections go in which order and then will give \n you a URL to present from.\n"
|
66
|
+
email: schacon@gmail.com
|
67
|
+
executables:
|
68
|
+
- showoff
|
69
|
+
extensions: []
|
70
|
+
|
71
|
+
extra_rdoc_files: []
|
72
|
+
|
73
|
+
files:
|
74
|
+
- README.rdoc
|
75
|
+
- Rakefile
|
76
|
+
- LICENSE
|
77
|
+
- bin/showoff
|
78
|
+
- lib/princely.rb
|
79
|
+
- lib/showoff.rb
|
80
|
+
- lib/showoff_utils.rb
|
81
|
+
- views/index.erb
|
82
|
+
- views/onepage.erb
|
83
|
+
- public/css/fg.menu.css
|
84
|
+
- public/css/onepage.css
|
85
|
+
- public/css/pdf.css
|
86
|
+
- public/css/reset.css
|
87
|
+
- public/css/sh_style.css
|
88
|
+
- public/css/showoff.css
|
89
|
+
- public/css/spinner_bar.gif
|
90
|
+
- public/css/theme/images/ui-bg_diagonals-small_100_f0efea_40x40.png
|
91
|
+
- public/css/theme/images/ui-bg_flat_35_f0f0f0_40x100.png
|
92
|
+
- public/css/theme/images/ui-bg_glass_55_fcf0ba_1x400.png
|
93
|
+
- public/css/theme/images/ui-bg_glow-ball_25_2e2e28_600x600.png
|
94
|
+
- public/css/theme/images/ui-bg_highlight-soft_100_f0efea_1x100.png
|
95
|
+
- public/css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png
|
96
|
+
- public/css/theme/images/ui-bg_highlight-soft_25_5A9D1A_1x100.png
|
97
|
+
- public/css/theme/images/ui-bg_highlight-soft_95_ffedad_1x100.png
|
98
|
+
- public/css/theme/images/ui-bg_inset-soft_22_3b3b35_1x100.png
|
99
|
+
- public/css/theme/images/ui-icons_808080_256x240.png
|
100
|
+
- public/css/theme/images/ui-icons_8DC262_256x240.png
|
101
|
+
- public/css/theme/images/ui-icons_cd0a0a_256x240.png
|
102
|
+
- public/css/theme/images/ui-icons_e7e6e4_256x240.png
|
103
|
+
- public/css/theme/images/ui-icons_eeeeee_256x240.png
|
104
|
+
- public/css/theme/images/ui-icons_ffffff_256x240.png
|
105
|
+
- public/css/theme/ui.accordion.css
|
106
|
+
- public/css/theme/ui.all.css
|
107
|
+
- public/css/theme/ui.base.css
|
108
|
+
- public/css/theme/ui.core.css
|
109
|
+
- public/css/theme/ui.datepicker.css
|
110
|
+
- public/css/theme/ui.dialog.css
|
111
|
+
- public/css/theme/ui.progressbar.css
|
112
|
+
- public/css/theme/ui.resizable.css
|
113
|
+
- public/css/theme/ui.slider.css
|
114
|
+
- public/css/theme/ui.tabs.css
|
115
|
+
- public/css/theme/ui.theme.css
|
116
|
+
- public/favicon.ico
|
117
|
+
- public/js/fg.menu.js
|
118
|
+
- public/js/jquery-1.4.min.js
|
119
|
+
- public/js/jquery-print.js
|
120
|
+
- public/js/jquery.batchImageLoad.js
|
121
|
+
- public/js/jquery.cookie.js
|
122
|
+
- public/js/jquery.cycle.all.js
|
123
|
+
- public/js/jquery.doubletap-0.1.js
|
124
|
+
- public/js/jquery.uuid.js
|
125
|
+
- public/js/jquery.ws-0.3pre.js
|
126
|
+
- public/js/jTypeWriter.js
|
127
|
+
- public/js/onepage.js
|
128
|
+
- public/js/sh_lang/sh_bison.min.js
|
129
|
+
- public/js/sh_lang/sh_c.min.js
|
130
|
+
- public/js/sh_lang/sh_caml.min.js
|
131
|
+
- public/js/sh_lang/sh_changelog.min.js
|
132
|
+
- public/js/sh_lang/sh_cpp.min.js
|
133
|
+
- public/js/sh_lang/sh_csharp.min.js
|
134
|
+
- public/js/sh_lang/sh_css.min.js
|
135
|
+
- public/js/sh_lang/sh_desktop.min.js
|
136
|
+
- public/js/sh_lang/sh_diff.min.js
|
137
|
+
- public/js/sh_lang/sh_flex.min.js
|
138
|
+
- public/js/sh_lang/sh_glsl.min.js
|
139
|
+
- public/js/sh_lang/sh_haxe.min.js
|
140
|
+
- public/js/sh_lang/sh_html.min.js
|
141
|
+
- public/js/sh_lang/sh_java.min.js
|
142
|
+
- public/js/sh_lang/sh_javascript.min.js
|
143
|
+
- public/js/sh_lang/sh_javascript_dom.min.js
|
144
|
+
- public/js/sh_lang/sh_latex.min.js
|
145
|
+
- public/js/sh_lang/sh_ldap.min.js
|
146
|
+
- public/js/sh_lang/sh_log.min.js
|
147
|
+
- public/js/sh_lang/sh_lsm.min.js
|
148
|
+
- public/js/sh_lang/sh_m4.min.js
|
149
|
+
- public/js/sh_lang/sh_makefile.min.js
|
150
|
+
- public/js/sh_lang/sh_oracle.min.js
|
151
|
+
- public/js/sh_lang/sh_pascal.min.js
|
152
|
+
- public/js/sh_lang/sh_perl.min.js
|
153
|
+
- public/js/sh_lang/sh_php.min.js
|
154
|
+
- public/js/sh_lang/sh_prolog.min.js
|
155
|
+
- public/js/sh_lang/sh_properties.min.js
|
156
|
+
- public/js/sh_lang/sh_python.min.js
|
157
|
+
- public/js/sh_lang/sh_ruby.min.js
|
158
|
+
- public/js/sh_lang/sh_scala.min.js
|
159
|
+
- public/js/sh_lang/sh_sh.min.js
|
160
|
+
- public/js/sh_lang/sh_slang.min.js
|
161
|
+
- public/js/sh_lang/sh_sml.min.js
|
162
|
+
- public/js/sh_lang/sh_spec.min.js
|
163
|
+
- public/js/sh_lang/sh_sql.min.js
|
164
|
+
- public/js/sh_lang/sh_tcl.min.js
|
165
|
+
- public/js/sh_lang/sh_xml.min.js
|
166
|
+
- public/js/sh_lang/sh_xorg.min.js
|
167
|
+
- public/js/sh_main.min.js
|
168
|
+
- public/js/showoff.js
|
169
|
+
has_rdoc: true
|
170
|
+
homepage: http://github.com/schacon/showoff
|
171
|
+
licenses: []
|
172
|
+
|
173
|
+
post_install_message:
|
174
|
+
rdoc_options: []
|
175
|
+
|
176
|
+
require_paths:
|
177
|
+
- lib
|
178
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: "0"
|
183
|
+
version:
|
184
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: "0"
|
189
|
+
version:
|
190
|
+
requirements: []
|
191
|
+
|
192
|
+
rubyforge_project:
|
193
|
+
rubygems_version: 1.3.5
|
194
|
+
signing_key:
|
195
|
+
specification_version: 3
|
196
|
+
summary: The best damn presentation software a developer could ever love.
|
197
|
+
test_files: []
|
198
|
+
|