rails_apps_pages 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95e7f26f71d5fb96261f526ee0e1cd2a3d2a6481
|
4
|
+
data.tar.gz: 77ecb0613bfd55409a1fea97e1c706a6dc444516
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd78d2cfbc9537f501eaf271406d5083186c47849ceb907792b2e8650487cb8293f1472b5b7cd198a21e6a20dbc758771056821ce462dbd3812224d34be0da6f
|
7
|
+
data.tar.gz: 057ef8d32c2730eaf4028f8d5849f8de3ad4e02c8bc3c13f1ab711f8cd4bc67cf70e2fcd4b2277c20e60f3ead474e0782d91e9381e6a38646f60d926a3e99dd5
|
data/CHANGELOG.textile
CHANGED
data/README.textile
CHANGED
@@ -147,6 +147,45 @@ Add a file containing JavaScript code to set up page-view tracking with "Segment
|
|
147
147
|
$ rails generate analytics:segmentio
|
148
148
|
</pre>
|
149
149
|
|
150
|
+
h2. Generate Bootstrap Page Layouts
|
151
|
+
|
152
|
+
See the "Start Bootstrap":http://startbootstrap.com/template-categories/all/ site for a collection of Bootstrap themes and templates that you can generate with the rails_apps_pages gem.
|
153
|
+
|
154
|
+
Here are the Bootstrap page layouts you can generate:
|
155
|
+
|
156
|
+
<pre>
|
157
|
+
1) None
|
158
|
+
2) 1 Col Portfolio
|
159
|
+
3) 2 Col Portfolio
|
160
|
+
4) 3 Col Portfolio
|
161
|
+
5) 4 Col Portfolio
|
162
|
+
6) Bare
|
163
|
+
7) Blog Home
|
164
|
+
8) Business Casual
|
165
|
+
9) Business Frontpage
|
166
|
+
10) Clean Blog
|
167
|
+
11) Full Width Pics
|
168
|
+
12) Heroic Features
|
169
|
+
13) Landing Page
|
170
|
+
14) Modern Business
|
171
|
+
15) One Page Wonder
|
172
|
+
16) Portfolio Item
|
173
|
+
17) Round About
|
174
|
+
18) Shop Homepage
|
175
|
+
19) Shop Item
|
176
|
+
20) Simple Sidebar
|
177
|
+
21) Small Business
|
178
|
+
22) Stylish Portfolio
|
179
|
+
23) The Big Picture
|
180
|
+
24) Thumbnail Gallery
|
181
|
+
</pre>
|
182
|
+
|
183
|
+
To see the commands that generate the Bootstrap page layouts, run:
|
184
|
+
|
185
|
+
<pre>
|
186
|
+
$ rails g
|
187
|
+
</pre>
|
188
|
+
|
150
189
|
h2. Issues
|
151
190
|
|
152
191
|
Any issues? Please create an "issue":http://github.com/RailsApps/rails_apps_pages/issues on GitHub. Reporting issues (and patching!) helps everyone.
|
@@ -98,12 +98,6 @@ module Theme
|
|
98
98
|
LINKS
|
99
99
|
end
|
100
100
|
|
101
|
-
def modify_layout_for_auth_links
|
102
|
-
return unless File.exists?('app/views/layouts/_nav_links_for_auth.html.erb')
|
103
|
-
partial = "<%= render 'layouts/navigation_links' %>\n <%= render 'layouts/nav_links_for_auth' %>"
|
104
|
-
gsub_file "app/views/layouts/_navigation.html.erb", /<%= render 'layouts\/navigation_links' %>/, partial
|
105
|
-
end
|
106
|
-
|
107
101
|
end
|
108
102
|
end
|
109
103
|
end
|