refinerycms-theming 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/app/helpers/themes_helper.rb +34 -0
  2. data/app/models/theme.rb +7 -0
  3. data/features/step_definitions/theme_generator_steps.rb +15 -0
  4. data/features/theme_generator.feature +16 -0
  5. data/lib/gemspec.rb +29 -0
  6. data/lib/generators/refinery_theme/README +17 -0
  7. data/lib/generators/refinery_theme/Rakefile +11 -0
  8. data/lib/generators/refinery_theme/USAGE +2 -0
  9. data/lib/generators/refinery_theme/refinery_theme_generator.rb +23 -0
  10. data/lib/generators/refinery_theme/templates/stylesheets/application.css +5 -0
  11. data/lib/generators/refinery_theme/templates/stylesheets/formatting.css +7 -0
  12. data/lib/generators/refinery_theme/templates/stylesheets/home.css +5 -0
  13. data/lib/generators/refinery_theme/templates/views/layouts/application.html.erb +21 -0
  14. data/lib/generators/refinery_theme/templates/views/pages/home.html.erb +4 -0
  15. data/lib/generators/refinery_theme/templates/views/pages/show.html.erb +4 -0
  16. data/lib/refinerycms-theming.rb +47 -0
  17. data/lib/theme_server.rb +32 -0
  18. data/lib/theming.rb +2 -0
  19. data/license.md +21 -0
  20. data/readme.md +118 -0
  21. data/refinerycms-theming.gemspec +88 -0
  22. data/themes/demolicious/LICENSE +21 -0
  23. data/themes/demolicious/README +1 -0
  24. data/themes/demolicious/images/footer_background.png +0 -0
  25. data/themes/demolicious/images/header_background.png +0 -0
  26. data/themes/demolicious/stylesheets/application.css +105 -0
  27. data/themes/demolicious/stylesheets/formatting.css +36 -0
  28. data/themes/demolicious/stylesheets/home.css +5 -0
  29. data/themes/demolicious/stylesheets/ie6.css +0 -0
  30. data/themes/demolicious/stylesheets/ie7.css +0 -0
  31. data/themes/demolicious/views/layouts/application.html.erb +27 -0
  32. data/themes/demolicious/views/pages/home.html.erb +1 -0
  33. data/themes/demolicious/views/pages/show.html.erb +1 -0
  34. data/themes/hemingway/LICENSE +7 -0
  35. data/themes/hemingway/README +3 -0
  36. data/themes/hemingway/images/archives.gif +0 -0
  37. data/themes/hemingway/images/footer_black.gif +0 -0
  38. data/themes/hemingway/images/kyle-header.jpg +0 -0
  39. data/themes/hemingway/images/readon_black.gif +0 -0
  40. data/themes/hemingway/images/search.gif +0 -0
  41. data/themes/hemingway/images/spinner.gif +0 -0
  42. data/themes/hemingway/images/trackback_pingback.gif +0 -0
  43. data/themes/hemingway/stylesheets/application.css +713 -0
  44. data/themes/hemingway/stylesheets/formatting.css +1 -0
  45. data/themes/hemingway/stylesheets/home.css +1 -0
  46. data/themes/hemingway/views/layouts/application.html.erb +45 -0
  47. metadata +127 -0
@@ -0,0 +1 @@
1
+ @import url('/stylesheets/refinery/formatting.css');
@@ -0,0 +1 @@
1
+ @import url('/stylesheets/refinery/home.css');
@@ -0,0 +1,45 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <%= render :partial => "/shared/head", :locals => {:theme => true} %>
4
+ <body>
5
+ <%= render :partial => "/shared/site_bar" %>
6
+ <div id="header">
7
+ <div class="inside">
8
+ <h2>
9
+ <%= link_to RefinerySetting.find_or_set(:site_name, "Company Name"), root_url %>
10
+ </h2>
11
+ <p class="description">
12
+ <%= link_to "Home", root_url %>
13
+ </p>
14
+ </div>
15
+ </div>
16
+ <div id='primary'>
17
+ <div class='inside clearfix'>
18
+ <%= yield %>
19
+ </div>
20
+ </div>
21
+ <div id="ancillary">
22
+ <div class="inside">
23
+ <div class="block first" style='margin: 0;'>
24
+
25
+ </div>
26
+ <div class="block pages">
27
+ <h2>
28
+ Pages
29
+ </h2>
30
+ <%= render :partial => 'shared/menu' %>
31
+ <div class="clear"></div>
32
+ </div>
33
+ </div>
34
+ <hr class="hide" />
35
+ <div id="footer">
36
+ <div class="inside">
37
+ <p style='clear: both; text-align: center;'>
38
+ Copyright &copy; <%= Time.now.year %>
39
+ <%= RefinerySetting.find_or_set(:site_name, "Company Name") %>
40
+ </p>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </body>
45
+ </html>
metadata ADDED
@@ -0,0 +1,127 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: refinerycms-theming
3
+ version: !ruby/object:Gem::Version
4
+ hash: 43
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 9
9
+ - 8
10
+ version: 0.9.8
11
+ platform: ruby
12
+ authors:
13
+ - Resolve Digital
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-09-17 00:00:00 +12:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: refinerycms
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 43
30
+ segments:
31
+ - 0
32
+ - 9
33
+ - 8
34
+ version: 0.9.8
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ description: Theming functionality for the Refinery CMS project, extracted from Refinery CMS core.
38
+ email: info@refinerycms.com
39
+ executables: []
40
+
41
+ extensions: []
42
+
43
+ extra_rdoc_files: []
44
+
45
+ files:
46
+ - app/helpers/themes_helper.rb
47
+ - app/models/theme.rb
48
+ - features/step_definitions/theme_generator_steps.rb
49
+ - features/theme_generator.feature
50
+ - lib/gemspec.rb
51
+ - lib/generators/refinery_theme/Rakefile
52
+ - lib/generators/refinery_theme/README
53
+ - lib/generators/refinery_theme/refinery_theme_generator.rb
54
+ - lib/generators/refinery_theme/templates/stylesheets/application.css
55
+ - lib/generators/refinery_theme/templates/stylesheets/formatting.css
56
+ - lib/generators/refinery_theme/templates/stylesheets/home.css
57
+ - lib/generators/refinery_theme/templates/views/layouts/application.html.erb
58
+ - lib/generators/refinery_theme/templates/views/pages/home.html.erb
59
+ - lib/generators/refinery_theme/templates/views/pages/show.html.erb
60
+ - lib/generators/refinery_theme/USAGE
61
+ - lib/refinerycms-theming.rb
62
+ - lib/theme_server.rb
63
+ - lib/theming.rb
64
+ - license.md
65
+ - readme.md
66
+ - refinerycms-theming.gemspec
67
+ - themes/demolicious/images/footer_background.png
68
+ - themes/demolicious/images/header_background.png
69
+ - themes/demolicious/LICENSE
70
+ - themes/demolicious/README
71
+ - themes/demolicious/stylesheets/application.css
72
+ - themes/demolicious/stylesheets/formatting.css
73
+ - themes/demolicious/stylesheets/home.css
74
+ - themes/demolicious/stylesheets/ie6.css
75
+ - themes/demolicious/stylesheets/ie7.css
76
+ - themes/demolicious/views/layouts/application.html.erb
77
+ - themes/demolicious/views/pages/home.html.erb
78
+ - themes/demolicious/views/pages/show.html.erb
79
+ - themes/hemingway/images/archives.gif
80
+ - themes/hemingway/images/footer_black.gif
81
+ - themes/hemingway/images/kyle-header.jpg
82
+ - themes/hemingway/images/readon_black.gif
83
+ - themes/hemingway/images/search.gif
84
+ - themes/hemingway/images/spinner.gif
85
+ - themes/hemingway/images/trackback_pingback.gif
86
+ - themes/hemingway/LICENSE
87
+ - themes/hemingway/README
88
+ - themes/hemingway/stylesheets/application.css
89
+ - themes/hemingway/stylesheets/formatting.css
90
+ - themes/hemingway/stylesheets/home.css
91
+ - themes/hemingway/views/layouts/application.html.erb
92
+ has_rdoc: true
93
+ homepage: http://refinerycms.com
94
+ licenses: []
95
+
96
+ post_install_message:
97
+ rdoc_options: []
98
+
99
+ require_paths:
100
+ - lib
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ none: false
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ hash: 3
107
+ segments:
108
+ - 0
109
+ version: "0"
110
+ required_rubygems_version: !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ hash: 3
116
+ segments:
117
+ - 0
118
+ version: "0"
119
+ requirements: []
120
+
121
+ rubyforge_project:
122
+ rubygems_version: 1.3.7
123
+ signing_key:
124
+ specification_version: 3
125
+ summary: Theming functionality for the Refinery CMS project.
126
+ test_files: []
127
+