rails_apps_pages 0.6.0 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.textile +26 -0
  3. data/README.textile +4 -2
  4. data/lib/generators/theme/bare/bare_generator.rb +1 -1
  5. data/lib/generators/theme/bare/templates/{index.html.erb → index.html} +0 -0
  6. data/lib/generators/theme/blog_home/blog_home_generator.rb +18 -0
  7. data/lib/generators/theme/blog_home/templates/blog-home.css +9 -0
  8. data/lib/generators/theme/blog_home/templates/blogpost.html +170 -0
  9. data/lib/generators/theme/blog_home/templates/index.html +150 -0
  10. data/lib/generators/theme/business_casual/business_casual_generator.rb +24 -0
  11. data/lib/generators/theme/business_casual/templates/_navigation.html.erb +24 -0
  12. data/lib/generators/theme/business_casual/templates/_navigation_links.html.erb +13 -0
  13. data/lib/generators/theme/business_casual/templates/about.html +61 -0
  14. data/lib/generators/theme/business_casual/templates/application.html.erb +19 -0
  15. data/lib/generators/theme/business_casual/templates/blog.html +59 -0
  16. data/lib/generators/theme/business_casual/templates/business-casual.css +192 -0
  17. data/lib/generators/theme/business_casual/templates/contact.html +76 -0
  18. data/lib/generators/theme/business_casual/templates/footer.html +10 -0
  19. data/lib/generators/theme/business_casual/templates/index.html +95 -0
  20. data/lib/generators/theme/business_frontpage/business_frontpage_generator.rb +17 -0
  21. data/lib/generators/theme/business_frontpage/templates/business-frontpage.css +31 -0
  22. data/lib/generators/theme/business_frontpage/templates/index.html +78 -0
  23. data/lib/generators/theme/clean_blog/clean_blog_generator.rb +24 -0
  24. data/lib/generators/theme/clean_blog/templates/_navigation.html.erb +24 -0
  25. data/lib/generators/theme/clean_blog/templates/_navigation_links.html.erb +13 -0
  26. data/lib/generators/theme/clean_blog/templates/about.html +27 -0
  27. data/lib/generators/theme/clean_blog/templates/application.html.erb +23 -0
  28. data/lib/generators/theme/clean_blog/templates/clean-blog.css +395 -0
  29. data/lib/generators/theme/clean_blog/templates/contact.html +64 -0
  30. data/lib/generators/theme/clean_blog/templates/footer.html +38 -0
  31. data/lib/generators/theme/clean_blog/templates/index.html +74 -0
  32. data/lib/generators/theme/clean_blog/templates/post.html +59 -0
  33. data/lib/generators/theme/four_col_portfolio/four_col_portfolio_generator.rb +17 -0
  34. data/lib/generators/theme/four_col_portfolio/templates/4-col-portfolio.css +13 -0
  35. data/lib/generators/theme/four_col_portfolio/templates/index.html +134 -0
  36. data/lib/generators/theme/full_width_pics/full_width_pics_generator.rb +18 -0
  37. data/lib/generators/theme/full_width_pics/templates/application.html.erb +18 -0
  38. data/lib/generators/theme/full_width_pics/templates/full-width-pics.css +60 -0
  39. data/lib/generators/theme/full_width_pics/templates/index.html +50 -0
  40. data/lib/generators/theme/heroic_features/heroic_features_generator.rb +17 -0
  41. data/lib/generators/theme/heroic_features/templates/heroic-features.css +17 -0
  42. data/lib/generators/theme/heroic_features/templates/index.html +92 -0
  43. data/lib/generators/theme/landing_page/landing_page_generator.rb +18 -0
  44. data/lib/generators/theme/landing_page/templates/application.html.erb +21 -0
  45. data/lib/generators/theme/landing_page/templates/index.html +189 -0
  46. data/lib/generators/theme/landing_page/templates/landing-page.css +170 -0
  47. data/lib/generators/theme/modern_business/modern_business_generator.rb +103 -0
  48. data/lib/generators/theme/modern_business/templates/404.html +98 -0
  49. data/lib/generators/theme/modern_business/templates/about.html +182 -0
  50. data/lib/generators/theme/modern_business/templates/application.html.erb +21 -0
  51. data/lib/generators/theme/modern_business/templates/blog-home-1.html +156 -0
  52. data/lib/generators/theme/modern_business/templates/blog-home-2.html +111 -0
  53. data/lib/generators/theme/modern_business/templates/blog-post.html +166 -0
  54. data/lib/generators/theme/modern_business/templates/contact.html +97 -0
  55. data/lib/generators/theme/modern_business/templates/faq.html +148 -0
  56. data/lib/generators/theme/modern_business/templates/footer.html +12 -0
  57. data/lib/generators/theme/modern_business/templates/full-width.html +28 -0
  58. data/lib/generators/theme/modern_business/templates/index.html +173 -0
  59. data/lib/generators/theme/modern_business/templates/modern-business.css +93 -0
  60. data/lib/generators/theme/modern_business/templates/portfolio-1-col.html +141 -0
  61. data/lib/generators/theme/modern_business/templates/portfolio-2-col.html +121 -0
  62. data/lib/generators/theme/modern_business/templates/portfolio-3-col.html +147 -0
  63. data/lib/generators/theme/modern_business/templates/portfolio-4-col.html +127 -0
  64. data/lib/generators/theme/modern_business/templates/portfolio-item.html +104 -0
  65. data/lib/generators/theme/modern_business/templates/pricing.html +85 -0
  66. data/lib/generators/theme/modern_business/templates/services.html +263 -0
  67. data/lib/generators/theme/modern_business/templates/sidebar.html +52 -0
  68. data/lib/generators/theme/one_col_portfolio/one_col_portfolio_generator.rb +17 -0
  69. data/lib/generators/theme/one_col_portfolio/templates/1-col-portfolio.css +9 -0
  70. data/lib/generators/theme/one_col_portfolio/templates/index.html +149 -0
  71. data/lib/generators/theme/one_page_wonder/one_page_wonder_generator.rb +18 -0
  72. data/lib/generators/theme/one_page_wonder/templates/application.html.erb +18 -0
  73. data/lib/generators/theme/one_page_wonder/templates/index.html +91 -0
  74. data/lib/generators/theme/one_page_wonder/templates/one-page-wonder.css +174 -0
  75. data/lib/generators/theme/portfolio_item/portfolio_item_generator.rb +17 -0
  76. data/lib/generators/theme/portfolio_item/templates/index.html +83 -0
  77. data/lib/generators/theme/portfolio_item/templates/portfolio-item.css +13 -0
  78. data/lib/generators/theme/round_about/round_about_generator.rb +17 -0
  79. data/lib/generators/theme/round_about/templates/index.html +77 -0
  80. data/lib/generators/theme/round_about/templates/round-about.css +13 -0
  81. data/lib/generators/theme/shop_homepage/shop_homepage_generator.rb +17 -0
  82. data/lib/generators/theme/shop_homepage/templates/index.html +191 -0
  83. data/lib/generators/theme/shop_homepage/templates/shop-homepage.css +50 -0
  84. data/lib/generators/theme/shop_item/shop_item_generator.rb +17 -0
  85. data/lib/generators/theme/shop_item/templates/index.html +117 -0
  86. data/lib/generators/theme/shop_item/templates/shop-item.css +28 -0
  87. data/lib/generators/theme/simple_sidebar/simple_sidebar_generator.rb +17 -0
  88. data/lib/generators/theme/simple_sidebar/templates/index.html +60 -0
  89. data/lib/generators/theme/simple_sidebar/templates/simple-sidebar.css +125 -0
  90. data/lib/generators/theme/small_business/small_business_generator.rb +17 -0
  91. data/lib/generators/theme/small_business/templates/index.html +66 -0
  92. data/lib/generators/theme/small_business/templates/small-business.css +9 -0
  93. data/lib/generators/theme/stylish_portfolio/stylish_portfolio_generator.rb +18 -0
  94. data/lib/generators/theme/stylish_portfolio/templates/application.html.erb +21 -0
  95. data/lib/generators/theme/stylish_portfolio/templates/index.html +261 -0
  96. data/lib/generators/theme/stylish_portfolio/templates/stylish-portfolio.css +239 -0
  97. data/lib/generators/theme/the_big_picture/templates/index.html +11 -0
  98. data/lib/generators/theme/the_big_picture/templates/the-big-picture.css +19 -0
  99. data/lib/generators/theme/the_big_picture/the_big_picture_generator.rb +19 -0
  100. data/lib/generators/theme/three_col_portfolio/templates/3-col-portfolio.css +13 -0
  101. data/lib/generators/theme/three_col_portfolio/templates/index.html +155 -0
  102. data/lib/generators/theme/three_col_portfolio/three_col_portfolio_generator.rb +17 -0
  103. data/lib/generators/theme/thumbnail_gallery/templates/index.html +84 -0
  104. data/lib/generators/theme/thumbnail_gallery/templates/thumbnail-gallery.css +13 -0
  105. data/lib/generators/theme/thumbnail_gallery/thumbnail_gallery_generator.rb +17 -0
  106. data/lib/generators/theme/two_col_portfolio/templates/2-col-portfolio.css +13 -0
  107. data/lib/generators/theme/two_col_portfolio/templates/index.html +129 -0
  108. data/lib/generators/theme/two_col_portfolio/two_col_portfolio_generator.rb +17 -0
  109. data/lib/rails_apps_pages/version.rb +1 -1
  110. metadata +107 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86c1817ae7bed1ed06a68b0ec4b82b9926410452
4
- data.tar.gz: 17cbaf952c07684d968f58ac765536e7936a1d50
3
+ metadata.gz: 8cd74aedbfede73680a1b52989cd6607c3d150b0
4
+ data.tar.gz: 38fdfdc253228a437fea7357c88522e02d2ec8be
5
5
  SHA512:
6
- metadata.gz: a106521ea19336c7a29d907e82da0b397421576a562544abf57c890a78bd1be9d96d5e8a079498da8c9d2c4e4b519bfe54070e6677099c3197aa95e641e6521e
7
- data.tar.gz: 8f11926ba95f212e7c34c47bd176cfd7aa47f123de066aeb65e06cba016648a694dadf8b7ab7d50b4ca45fab2ec20f8dc4f3c5cef71bcb3cffc7de294f803a54
6
+ metadata.gz: d8be04a5570620766066d8a215465c075738ad5c23e630b79ed05dbd43365d2c0ad1efc11ac93cd1e64486b1e64147b01c4b4a192740c5e42d4ac61ef9fdce93
7
+ data.tar.gz: 79b7054e44730a6f1e9ed6ebc154767b9803a34a3f4d7a5416268d3195cc02f36c15c3a0db3349f4e91cc1ef4c7bfff0157979d5655acbc1d48e24a5163ad763
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,31 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h3. 0.6.2 October 26, 2015
4
+
5
+ * add 'Business Frontpage' theme from startbootstrap.com
6
+ * add 'Blog Home' theme from startbootstrap.com
7
+ * add 'Heroic Features' theme from startbootstrap.com
8
+ * add 'One Page Wonder' theme from startbootstrap.com
9
+ * add 'Round About' theme from startbootstrap.com
10
+ * add 'Small Business' theme from startbootstrap.com
11
+ * add 'The Big Picture' theme from startbootstrap.com
12
+ * add 'Thumbnail Gallery' theme from startbootstrap.com
13
+ * add 'Full Width Pics' theme from startbootstrap.com
14
+ * add '1 Col Portfolio' theme from startbootstrap.com
15
+ * add '2 Col Portfolio' theme from startbootstrap.com
16
+ * add '3 Col Portfolio' theme from startbootstrap.com
17
+ * add '4 Col Portfolio' theme from startbootstrap.com
18
+ * add 'Modern Business' theme from startbootstrap.com
19
+ * add 'Simple Sidebar' theme from startbootstrap.com
20
+ * add 'Stylish Portfolio' theme from startbootstrap.com
21
+ * add 'Portfolio Item' theme from startbootstrap.com
22
+ * add 'Business Casual' theme from startbootstrap.com
23
+ * add 'Shop Homepage' theme from startbootstrap.com
24
+ * add 'Shop Item' theme from startbootstrap.com
25
+ * add 'Landing Page' theme from startbootstrap.com
26
+ * add 'Clean Blog' theme from startbootstrap.com
27
+ * add 'Blog Post' theme from startbootstrap.com to blog_home theme
28
+
3
29
  h3. 0.6.0 May 10, 2015
4
30
 
5
31
  * add 'Bare' theme from startbootstrap.com
data/README.textile CHANGED
@@ -8,9 +8,11 @@ If you like the RailsApps Pages gem, you might be interested in the "RailsLayout
8
8
 
9
9
  h4. !http://railsapps.github.io/images/join/join-railsapps.png(Join RailsApps)!:http://railsapps.github.io/
10
10
 
11
- h4. Support the RailsApps Project
11
+ h4. From the RailsApps Project
12
12
 
13
- If the RailsApps Pages gem is useful to you, please accept our invitation to "join the RailsApps project":http://railsapps.github.io/. The RailsApps project provides example applications, tutorials, and starter tools, including the RailsApps Pages gem.
13
+ The "RailsApps":http://railsapps.github.io/ open source project offers starter applications and tutorials for Rails developers. Generate the applications with the Rails Composer tool.
14
+
15
+ All the code is explained in the Capstone Rails Tutorials. You can purchase the "Capstone Rails Tutorials":https://tutorials.railsapps.org/ to support the project.
14
16
 
15
17
  h2. Install the Gem
16
18
 
@@ -8,7 +8,7 @@ module Theme
8
8
  desc "A Bootstrap HTML starter template (from startbootstrap.com)"
9
9
 
10
10
  def create_page
11
- copy_file 'index.html.erb', 'app/views/visitors/index.html.erb'
11
+ copy_file 'index.html', 'app/views/visitors/index.html.erb'
12
12
  end
13
13
 
14
14
  end
@@ -0,0 +1,18 @@
1
+ require 'rails/generators'
2
+
3
+ module Theme
4
+ module Generators
5
+ class BlogHomeGenerator < ::Rails::Generators::Base
6
+ source_root File.expand_path("../templates", __FILE__)
7
+
8
+ desc "A Bootstrap HTML starter template (from startbootstrap.com)"
9
+
10
+ def create_page
11
+ copy_file 'index.html', 'app/views/visitors/index.html.erb'
12
+ copy_file 'blogpost.html', 'app/views/pages/blogpost.html.erb'
13
+ copy_file 'blog-home.css', 'app/assets/stylesheets/blog-home.css'
14
+ end
15
+
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Start Bootstrap - Blog Home HTML Template (http://startbootstrap.com)
3
+ * Code licensed under the Apache License v2.0.
4
+ * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5
+ */
6
+
7
+ footer {
8
+ margin: 50px 0;
9
+ }
@@ -0,0 +1,170 @@
1
+
2
+ <!-- Page Content -->
3
+ <div class="container">
4
+
5
+ <div class="row">
6
+
7
+ <!-- Blog Post Content Column -->
8
+ <div class="col-lg-8">
9
+
10
+ <!-- Blog Post -->
11
+
12
+ <!-- Title -->
13
+ <h1>Blog Post Title</h1>
14
+
15
+ <!-- Author -->
16
+ <p class="lead">
17
+ by <a href="#">Start Bootstrap</a>
18
+ </p>
19
+
20
+ <hr>
21
+
22
+ <!-- Date/Time -->
23
+ <p><span class="glyphicon glyphicon-time"></span> Posted on August 24, 2013 at 9:00 PM</p>
24
+
25
+ <hr>
26
+
27
+ <!-- Preview Image -->
28
+ <img class="img-responsive" src="http://placehold.it/900x300" alt="">
29
+
30
+ <hr>
31
+
32
+ <!-- Post Content -->
33
+ <p class="lead">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus, vero, obcaecati, aut, error quam sapiente nemo saepe quibusdam sit excepturi nam quia corporis eligendi eos magni recusandae laborum minus inventore?</p>
34
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ut, tenetur natus doloremque laborum quos iste ipsum rerum obcaecati impedit odit illo dolorum ab tempora nihil dicta earum fugiat. Temporibus, voluptatibus.</p>
35
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos, doloribus, dolorem iusto blanditiis unde eius illum consequuntur neque dicta incidunt ullam ea hic porro optio ratione repellat perspiciatis. Enim, iure!</p>
36
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error, nostrum, aliquid, animi, ut quas placeat totam sunt tempora commodi nihil ullam alias modi dicta saepe minima ab quo voluptatem obcaecati?</p>
37
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Harum, dolor quis. Sunt, ut, explicabo, aliquam tenetur ratione tempore quidem voluptates cupiditate voluptas illo saepe quaerat numquam recusandae? Qui, necessitatibus, est!</p>
38
+
39
+ <hr>
40
+
41
+ <!-- Blog Comments -->
42
+
43
+ <!-- Comments Form -->
44
+ <div class="well">
45
+ <h4>Leave a Comment:</h4>
46
+ <form role="form">
47
+ <div class="form-group">
48
+ <textarea class="form-control" rows="3"></textarea>
49
+ </div>
50
+ <button type="submit" class="btn btn-primary">Submit</button>
51
+ </form>
52
+ </div>
53
+
54
+ <hr>
55
+
56
+ <!-- Posted Comments -->
57
+
58
+ <!-- Comment -->
59
+ <div class="media">
60
+ <a class="pull-left" href="#">
61
+ <img class="media-object" src="http://placehold.it/64x64" alt="">
62
+ </a>
63
+ <div class="media-body">
64
+ <h4 class="media-heading">Start Bootstrap
65
+ <small>August 25, 2014 at 9:30 PM</small>
66
+ </h4>
67
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
68
+ </div>
69
+ </div>
70
+
71
+ <!-- Comment -->
72
+ <div class="media">
73
+ <a class="pull-left" href="#">
74
+ <img class="media-object" src="http://placehold.it/64x64" alt="">
75
+ </a>
76
+ <div class="media-body">
77
+ <h4 class="media-heading">Start Bootstrap
78
+ <small>August 25, 2014 at 9:30 PM</small>
79
+ </h4>
80
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
81
+ <!-- Nested Comment -->
82
+ <div class="media">
83
+ <a class="pull-left" href="#">
84
+ <img class="media-object" src="http://placehold.it/64x64" alt="">
85
+ </a>
86
+ <div class="media-body">
87
+ <h4 class="media-heading">Nested Start Bootstrap
88
+ <small>August 25, 2014 at 9:30 PM</small>
89
+ </h4>
90
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
91
+ </div>
92
+ </div>
93
+ <!-- End Nested Comment -->
94
+ </div>
95
+ </div>
96
+
97
+ </div>
98
+
99
+ <!-- Blog Sidebar Widgets Column -->
100
+ <div class="col-md-4">
101
+
102
+ <!-- Blog Search Well -->
103
+ <div class="well">
104
+ <h4>Blog Search</h4>
105
+ <div class="input-group">
106
+ <input type="text" class="form-control">
107
+ <span class="input-group-btn">
108
+ <button class="btn btn-default" type="button">
109
+ <span class="glyphicon glyphicon-search"></span>
110
+ </button>
111
+ </span>
112
+ </div>
113
+ <!-- /.input-group -->
114
+ </div>
115
+
116
+ <!-- Blog Categories Well -->
117
+ <div class="well">
118
+ <h4>Blog Categories</h4>
119
+ <div class="row">
120
+ <div class="col-lg-6">
121
+ <ul class="list-unstyled">
122
+ <li><a href="#">Category Name</a>
123
+ </li>
124
+ <li><a href="#">Category Name</a>
125
+ </li>
126
+ <li><a href="#">Category Name</a>
127
+ </li>
128
+ <li><a href="#">Category Name</a>
129
+ </li>
130
+ </ul>
131
+ </div>
132
+ <div class="col-lg-6">
133
+ <ul class="list-unstyled">
134
+ <li><a href="#">Category Name</a>
135
+ </li>
136
+ <li><a href="#">Category Name</a>
137
+ </li>
138
+ <li><a href="#">Category Name</a>
139
+ </li>
140
+ <li><a href="#">Category Name</a>
141
+ </li>
142
+ </ul>
143
+ </div>
144
+ </div>
145
+ <!-- /.row -->
146
+ </div>
147
+
148
+ <!-- Side Widget Well -->
149
+ <div class="well">
150
+ <h4>Side Widget Well</h4>
151
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore, perspiciatis adipisci accusamus laudantium odit aliquam repellat tempore quos aspernatur vero.</p>
152
+ </div>
153
+
154
+ </div>
155
+
156
+ </div>
157
+ <!-- /.row -->
158
+
159
+ <hr>
160
+
161
+ <!-- Footer -->
162
+ <footer>
163
+ <div class="row">
164
+ <div class="col-lg-12">
165
+ <p>Copyright &copy; Your Website 2014</p>
166
+ </div>
167
+ </div>
168
+ <!-- /.row -->
169
+ </footer>
170
+
@@ -0,0 +1,150 @@
1
+ <!-- Page Content -->
2
+ <div class="container">
3
+
4
+ <div class="row">
5
+
6
+ <!-- Blog Entries Column -->
7
+ <div class="col-md-8">
8
+
9
+ <h1 class="page-header">
10
+ Page Heading
11
+ <small>Secondary Text</small>
12
+ </h1>
13
+
14
+ <!-- First Blog Post -->
15
+ <h2>
16
+ <%= link_to 'Blog Post Title', page_path('blogpost') %>
17
+ </h2>
18
+ <p class="lead">
19
+ by <%= link_to 'Start Bootstrap', root_path %>
20
+ </p>
21
+ <p><span class="glyphicon glyphicon-time"></span> Posted on August 28, 2013 at 10:00 PM</p>
22
+ <hr>
23
+ <img class="img-responsive" src="http://placehold.it/900x300" alt="">
24
+ <hr>
25
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolore, veritatis, tempora, necessitatibus inventore nisi quam quia repellat ut tempore laborum possimus eum dicta id animi corrupti debitis ipsum officiis rerum.</p>
26
+ <%= link_to ('Read More <span class="glyphicon glyphicon-chevron-right"></span>').html_safe, page_path('blogpost'), :class => "btn btn-primary" %>
27
+
28
+ <hr>
29
+
30
+ <!-- Second Blog Post -->
31
+ <h2>
32
+ <%= link_to 'Blog Post Title', page_path('blogpost') %>
33
+ </h2>
34
+ <p class="lead">
35
+ by <%= link_to 'Start Bootstrap', root_path %>
36
+ </p>
37
+ <p><span class="glyphicon glyphicon-time"></span> Posted on August 28, 2013 at 10:45 PM</p>
38
+ <hr>
39
+ <img class="img-responsive" src="http://placehold.it/900x300" alt="">
40
+ <hr>
41
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quibusdam, quasi, fugiat, asperiores harum voluptatum tenetur a possimus nesciunt quod accusamus saepe tempora ipsam distinctio minima dolorum perferendis labore impedit voluptates!</p>
42
+ <%= link_to ('Read More <span class="glyphicon glyphicon-chevron-right"></span>').html_safe, page_path('blogpost'), :class => "btn btn-primary" %>
43
+
44
+ <hr>
45
+
46
+ <!-- Third Blog Post -->
47
+ <h2>
48
+ <%= link_to 'Blog Post Title', page_path('blogpost') %>
49
+ </h2>
50
+ <p class="lead">
51
+ by <%= link_to 'Start Bootstrap', root_path %>
52
+ </p>
53
+ <p><span class="glyphicon glyphicon-time"></span> Posted on August 28, 2013 at 10:45 PM</p>
54
+ <hr>
55
+ <img class="img-responsive" src="http://placehold.it/900x300" alt="">
56
+ <hr>
57
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate, voluptates, voluptas dolore ipsam cumque quam veniam accusantium laudantium adipisci architecto itaque dicta aperiam maiores provident id incidunt autem. Magni, ratione.</p>
58
+ <%= link_to ('Read More <span class="glyphicon glyphicon-chevron-right"></span>').html_safe, page_path('blogpost'), :class => "btn btn-primary" %>
59
+
60
+ <hr>
61
+
62
+ <!-- Pager -->
63
+ <ul class="pager">
64
+ <li class="previous">
65
+ <a href="#">&larr; Older</a>
66
+ </li>
67
+ <li class="next">
68
+ <a href="#">Newer &rarr;</a>
69
+ </li>
70
+ </ul>
71
+
72
+ </div>
73
+
74
+ <!-- Blog Sidebar Widgets Column -->
75
+ <div class="col-md-4">
76
+
77
+ <!-- Blog Search Well -->
78
+ <div class="well">
79
+ <h4>Blog Search</h4>
80
+ <div class="input-group">
81
+ <input type="text" class="form-control">
82
+ <span class="input-group-btn">
83
+ <button class="btn btn-default" type="button">
84
+ <span class="glyphicon glyphicon-search"></span>
85
+ </button>
86
+ </span>
87
+ </div>
88
+ <!-- /.input-group -->
89
+ </div>
90
+
91
+ <!-- Blog Categories Well -->
92
+ <div class="well">
93
+ <h4>Blog Categories</h4>
94
+ <div class="row">
95
+ <div class="col-lg-6">
96
+ <ul class="list-unstyled">
97
+ <li><a href="#">Category Name</a>
98
+ </li>
99
+ <li><a href="#">Category Name</a>
100
+ </li>
101
+ <li><a href="#">Category Name</a>
102
+ </li>
103
+ <li><a href="#">Category Name</a>
104
+ </li>
105
+ </ul>
106
+ </div>
107
+ <!-- /.col-lg-6 -->
108
+ <div class="col-lg-6">
109
+ <ul class="list-unstyled">
110
+ <li><a href="#">Category Name</a>
111
+ </li>
112
+ <li><a href="#">Category Name</a>
113
+ </li>
114
+ <li><a href="#">Category Name</a>
115
+ </li>
116
+ <li><a href="#">Category Name</a>
117
+ </li>
118
+ </ul>
119
+ </div>
120
+ <!-- /.col-lg-6 -->
121
+ </div>
122
+ <!-- /.row -->
123
+ </div>
124
+
125
+ <!-- Side Widget Well -->
126
+ <div class="well">
127
+ <h4>Side Widget Well</h4>
128
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore, perspiciatis adipisci accusamus laudantium odit aliquam repellat tempore quos aspernatur vero.</p>
129
+ </div>
130
+
131
+ </div>
132
+
133
+ </div>
134
+ <!-- /.row -->
135
+
136
+ <hr>
137
+
138
+ <!-- Footer -->
139
+ <footer>
140
+ <div class="row">
141
+ <div class="col-lg-12">
142
+ <p>Copyright &copy; Your Website 2014</p>
143
+ </div>
144
+ <!-- /.col-lg-12 -->
145
+ </div>
146
+ <!-- /.row -->
147
+ </footer>
148
+
149
+ </div>
150
+ <!-- /.container -->
@@ -0,0 +1,24 @@
1
+ require 'rails/generators'
2
+
3
+ module Theme
4
+ module Generators
5
+ class BusinessCasualGenerator < ::Rails::Generators::Base
6
+ source_root File.expand_path("../templates", __FILE__)
7
+
8
+ desc "A Bootstrap HTML starter template (from startbootstrap.com)"
9
+
10
+ def create_page
11
+ copy_file 'application.html.erb', 'app/views/layouts/application.html.erb'
12
+ copy_file 'footer.html', 'app/views/layouts/_footer.html.erb'
13
+ copy_file '_navigation.html.erb', 'app/views/layouts/_navigation.html.erb'
14
+ copy_file '_navigation_links.html.erb', 'app/views/layouts/_navigation_links.html.erb'
15
+ copy_file 'index.html', 'app/views/visitors/index.html.erb'
16
+ copy_file 'about.html', 'app/views/pages/about.html.erb'
17
+ copy_file 'blog.html', 'app/views/pages/blog.html.erb'
18
+ copy_file 'contact.html', 'app/views/pages/contact.html.erb'
19
+ copy_file 'business-casual.css', 'app/assets/stylesheets/business-casual.css'
20
+ end
21
+
22
+ end
23
+ end
24
+ end