-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtwitter-bootstrap-rails.html
412 lines (412 loc) · 21.2 KB
/
twitter-bootstrap-rails.html
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Bootstrap and Rails · Installation Guide and Tutorial · RailsApps</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="Rails 4.2 and Bootstrap (formerly Twitter Bootstrap). Shows how to install Bootstrap for use with Rails. Plus a tutorial.">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.2.2/css/normalize.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.2.2/css/foundation.min.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
<link rel="stylesheet" href="http://railsapps.github.io/css/landing.css">
<!-- Social button scripts-->
<link href="https://plus.google.com/117374718581973393536" rel="publisher" />
<script type="text/javascript">
window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
window.analytics.load("l1stqfqqbf");
window.analytics.page();
window.analytics.ready(function () {
ga('require', 'linker');
ga('linker:autoLink', ['railscomposer.com','learn-rails.com','blog.railsapps.org','tutorials.railsapps.org']);
});
</script>
</head>
<body>
<div class="container">
<div class="alert-box text-center">Installing Bootstrap for Rails 4.2. Guide and tutorial from the RailsApps Project.
</div>
<header>
<div class="row">
<div class="large-4 columns">
<h1>RailsApps</h1>
</div>
<div class="large-8 columns">
<ul class="testimonials" data-orbit data-options="timer_speed: 20000; variable_height: false; bullets: false; navigation_arrows: false; pause_on_hover: true; resume_on_mouseout: true;">
<li data-orbit-slide="testify-1">
<div class="row">
<div class="small-2 columns right">
<img src="http://railsapps.github.io/images/landing/rickquantz.png" alt="Testimonial" title="Testimonial" />
</div>
<div class="small-8 columns">
<blockquote class="testify">
<p>
Thanks so much for this. There are so many Rails tutorials for absolute beginners, and lots of stuff that assumes expert knowledge, but not much, besides practice, to span the gap.
<cite> <strong>Rick Quantz, <a href="http://news.ycombinator.com/item?id=2545768">HackerNews, 13 May 2011</a></strong>
</cite>
</p>
</blockquote>
</div>
</li>
<li data-orbit-slide="testify-1">
<div class="row">
<div class="small-2 columns right">
<img src="http://railsapps.github.io/images/landing/josephmay.png" alt="Testimonial" title="Testimonial" />
</div>
<div class="small-8 columns">
<blockquote class="testify">
<p>
I will be starting a new job here in SF, due in no small part to what I've learned here from the RailsApp Project.
<cite> <strong>Joseph May, 23 Dec 2013</a></strong>
</cite>
</p>
</blockquote>
</div>
</li>
<li data-orbit-slide="testify-2">
<div class="row">
<div class="small-2 columns right">
<img src="http://railsapps.github.io/images/landing/justin.png" alt="Testimonial" title="Testimonial" />
</div>
<div class="small-8 columns">
<blockquote class="testify">
<p>
I would like to say thank you for such a precise guide. It helped me understand how things work a great deal quicker than all of the bits and pieces I was reading around the web.
<cite> <strong>Justin Booth</strong>
</cite>
</p>
</blockquote>
</div>
</li>
<li data-orbit-slide="testify-3">
<div class="row">
<div class="small-2 columns right">
<img src="http://railsapps.github.io/images/landing/warwickpoole.png" alt="Testimonial" title="Testimonial" />
</div>
<div class="small-8 columns">
<blockquote class="testify">
<p>
@danielkehoe is somewhat of a hero with the stuff he puts on @github
<cite> <strong>Warwick Poole, <a href="https://twitter.com/#!/warwickp/status/86987405327994880">Twitter, 2 July 2011</a></strong>
</cite>
</p>
</blockquote>
</div>
</li>
<li data-orbit-slide="testify-4">
<div class="row">
<div class="small-2 columns right">
<img src="http://railsapps.github.io/images/landing/petercooper.jpg" alt="Testimonial" title="Testimonial" />
</div>
<div class="small-8 columns">
<blockquote class="testify">
<p>
Crazy Deep!
<cite> <strong>Peter Cooper, <a href="http://j.mp/ieyXxu">Ruby Weekly, 19 May 2011</a></strong>
</cite>
</p>
</blockquote>
</div>
</li>
</ul>
</div>
</div>
</header>
<div class="row toprow">
<div class="large-12 columns">
<span class="mainseparator"></span><hr>
</div>
</div>
<div class="row">
<div class="large-7 columns">
<div class="row">
<div class="medium-12 columns">
<h3>Resources for Rails and Bootstrap</h3>
</div>
</div>
<div class="row">
<div class="medium-3 columns">
<img class="img-circle" src="http://railsapps.github.com/images/readme.png" alt="Bootstrap Quickstart Guide" title="Bootstrap Quickstart Guide">
<br />
<br />
</div>
<div class="medium-3 columns text-left">
<h5>Bootstrap Quickstart Guide</h5>
</div>
<div class="medium-6 columns text-left features-list">
<p>Contents:</p>
<ul>
<li>installation of Bootstrap</li>
<li>the application layout</li>
<li>flash messages</li>
<li>navigation links</li>
<li>form helpers</li>
</ul>
</div>
</div>
<div class="row">
<div class="medium-3 columns">
<img src="http://railsapps.github.io/images/landing/rails-bootstrap-114x140.png" alt="Rails and Bootstrap" title="Rails and Bootstrap">
<br />
<br />
</div>
<div class="medium-3 columns text-left">
<h5>Rails and Bootstrap Book</h5>
</div>
<div class="medium-6 columns text-left features-list">
<p>All of the above, plus:</p>
<ul>
<li>build an application, with</li>
<li>image carousel</li>
<li>modal windows</li>
<li>forms and more</li>
</ul>
</div>
</div>
<div class="row">
<div class="medium-3 columns">
<img class="img-circle" src="http://railsapps.github.io/images/landing/repo-rails-bootstrap-186x191.png" alt="Bootstrap Example Application" title="Bootstrap Example Application">
<br />
<br />
</div>
<div class="medium-3 columns text-left">
<h5>Bootstrap Example Application <a href="https://github.com/RailsApps/rails-bootstrap/">on GitHub</a></h5>
</div>
<div class="medium-6 columns text-left features-list">
<p>Use as a starter app:</p>
<ul>
<li>open source</li>
<li>maintained and working code</li>
<li>clone from GitHub, or</li>
<li>generate with Rails Composer</li>
</ul>
</div>
</div>
</div>
<div class="large-5 columns">
<div class="row">
<div class="small-6 columns">
<ul class="pricing-table">
<li class="title"><small>SUBSCRIPTION</small></li>
<li class="price price-basic">
<span class="round">$19</span>
</li>
<li class="description">Per Month</li>
<li class="description"><em>Bootstrap Quickstart Guide</em><br />plus other tutorials</li>
<li class="description">With two full-length books:<br /><em>Rails and Bootstrap</em><br /><em>Learn Ruby on Rails</em></li>
<li class="description">Support the project for updates and more guides</li>
<li class="cta-button">
<a class="button radius" href="https://tutorials.railsapps.org/users/sign_up?plan=pro">SUBSCRIBE</a>
</li>
</ul>
</div>
<div class="small-6 columns">
<ul class="pricing-table">
<ul class="pricing-table">
<li class="title"><small>ORGANIZATION</small></li>
<li class="price price-basic">
<span class="round">$349</span>
</li>
<li class="description">Per Year</li>
<li class="bullet-item">All Tutorials</li>
<li class="bullet-item">Books Included</li>
<li class="bullet-item">For Your Entire Team</li>
<li class="bullet-item">Invite Multiple Users</li>
<li class="cta-button">
<a class="button price-basic radius" href="https://tutorials.railsapps.org/users/sign_up?plan=hero">SUBSCRIBE</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="row">
<div class="large-12 columns">
<span class="separator"></span><hr>
</div>
</div>
<article class="row">
<div class="large-4 columns">
<section class="four columns">
<h4 class="uptext">Rails 4.2 Examples</h4>
<p>Our example applications show how to use Bootstrap with Devise (authentication), OmniAuth (authentication), or Pundit (access control). All are open source, thanks to support from our subscribers.</p>
</section>
</div>
<div class="large-4 columns">
<section class="four columns">
<h4 class="uptext">Composer</h4>
<p>Use our <a href="http://railsapps.github.io/rails-composer/">Rails Composer</a> tool to generate a Bootstrap starter app with a choice of popular gems. Save time and effort when you start any project. Again, open source, thanks to our subscribers.</p>
</section>
</div>
<div class="large-4 columns">
<section class="four columns">
<h4 class="uptext">Books and Guides</h4>
<p>Our books and guides are available exclusively to paid subscribers. Your monthly subscription provides financial support for the project. In exchange, we give you in-depth documentation.</p>
</section>
</div>
</article>
<div class="row">
<div class="large-6 columns">
<div class="row">
<div class="">
<div class="">
<div class="small-4 columns">
<div class="alert label">EXAMPLES</div>
<ul class="checkmarks">
<li>
<a href="http://railsapps.github.io/rails-bootstrap/">Bootstrap</a>
</li>
<li>
<a href="https://github.com/RailsApps/rails-foundation/">Foundation</a>
</li>
<li>
<a href="https://github.com/RailsApps/rails-omniauth/">OmniAuth</a>
</li>
<li>
<a href="https://github.com/RailsApps/rails-devise/">Devise</a>
</li>
<li>
<a href="https://github.com/RailsApps/rails-devise-roles/">Roles Authorization</a>
</li>
<li>
<a href="https://github.com/RailsApps/rails-devise-pundit/">Pundit</a>
</li>
<li>
<a href="https://github.com/RailsApps/rails-signup-download/">Downloading PDFs</a>
</li>
<li>
<a href="https://github.com/RailsApps/rails-stripe-checkout/">Stripe Checkout</a>
</li>
<li>
<a href="https://github.com/RailsApps/rails-stripe-coupons/">Stripe JS With Coupons</a>
</li>
</ul>
</div>
<div class="small-4 columns">
<div class="alert label">GUIDES AND TUTORIALS
</div>
<ul class="checkmarks">
<li>
<a href="http://railsapps.github.io/rails-stripe-coupons/">Stripe JS</a>
</li>
<li>
<a href="http://railsapps.github.io/rails-stripe-checkout/">Stripe Checkout</a>
</li>
<li>
<a href="http://railsapps.github.io/rails-devise-pundit/">Pundit Quickstart</a>
</li>
<li>
<a href="http://railsapps.github.io/rails-devise-roles/">Roles Authorization</a>
</li>
<li>
<a href="http://railsapps.github.io/rails-devise/">Devise Quickstart</a>
</li>
<li>
<a href="http://railsapps.github.io/rspec.html">RSpec Quickstart</a>
</li>
<li>
<a href="http://railsapps.github.io/twitter-bootstrap-rails.html">Bootstrap Quickstart</a>
</li>
<li>
<a href="http://railsapps.github.io/rails-foundation.html">Foundation Quickstart</a>
</li>
</ul>
<div class="alert label">BOOKS
</div>
<ul class="checkmarks">
<li>
<a href="http://learn-rails.com/learn-ruby-on-rails.html"><em>Learn Ruby on Rails</em></a>
</li>
</ul>
</div>
<div class="small-4 columns">
<div class="alert label">ARTICLES
</div>
<ul class="checkmarks">
<li><a href="http://railsapps.github.io/what-is-ruby-rails.html">What is Ruby on Rails?</a></li>
<li><a href="http://railsapps.github.io/installrubyonrails-mac.html">Install Ruby on Rails - Mac OS X</a></li>
<li><a href="http://railsapps.github.io/installrubyonrails-ubuntu.html">Install Ruby on Rails - Ubuntu</a></li>
<li><a href="http://railsapps.github.io/rubyonrails-nitrous-io.html">Install Ruby on Rails - Nitrous.io</a></li>
<li><a href="http://railsapps.github.io/rails-google-analytics.html">Analytics for Rails</a></li>
<li><a href="http://railsapps.github.io/rails-heroku-tutorial.html">Heroku and Rails</a></li>
<li><a href="http://railsapps.github.io/rails-javascript-include-external.html">JavaScript and Rails</a></li>
<li><a href="http://railsapps.github.io/rails-environment-variables.html">Rails Env Variables</a></li>
<li><a href="http://railsapps.github.io/rails-git.html">Git and Rails</a></li>
<li><a href="http://railsapps.github.io/rails-send-email.html">Send Email with Rails</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="large-3 columns">
<img src="http://railsapps.github.io/images/landing/tools.png" alt="Tools" title="Tools">
<h4 class="text-center uptext">Tools</h4>
<p class="text-center">In addition to the <a href="http://railsapps.github.io/rails-composer/">Rails Composer</a> tool, your subscription supports development and maintenance of the <a href="https://github.com/RailsApps/rails_layout/">Rails Layout</a> gem and the <a href="https://github.com/RailsApps/rails_apps_composer">RailsAppsComposer</a> gem.</p>
</div>
<div class="large-3 columns">
<img src="http://railsapps.github.io/images/landing/paperbackstack.jpg" alt="The Book" title="The Book">
<h4 class="text-center uptext">The Books</h4>
<p class="text-center"><em><a href="http://learn-rails.com/learn-ruby-on-rails.html">Learn Ruby on Rails</a></em> is the acclaimed book for beginners. Available here, with a subscription, or on <a href="http://www.amazon.com/dp/B00QK2T1SY">Amazon</a>.</p>
</div>
</div>
<div class="row">
<div class="large-12 columns">
<div class="panel cta-panel">
<h4>Support the project. Sign up now!</h4>
<div class="row">
<div class="large-8 columns">
<p>
Your participation insures the survival of a project that benefits Rails developers all over the world. Plus, you get exclusive access to books and tutorials so you can build and learn.
</p>
</div>
<div class="large-4 columns">
<a class="button large radius" href="https://tutorials.railsapps.org/users/sign_up?plan=pro">Subscribe Now</a>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="large-12 columns small-centered">
<h4>
What people are saying...
</h3>
<div class="row">
<div class="large-12 columns">
<span class="mainseparator"></span>
<hr>
</div>
</div>
<div class="row">
<div class="large-12 columns">
<div class="comments" id="comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'railsapps'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div><!-- class="comments" -->
</div>
</div>
</div>
</div>
<footer class="row footer-cover">
<div class="large-12 columns copyright">© 2014 RailsApps All Rights Reserved.
</div>
</footer>
</div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.2/js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>