更新时间:2021-07-23 20:36:03
coverpage
Bootstrap for Rails
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Introducing Web Application Development in Rails
Why Bootstrap with Rails?
Setting up a Todo application in Rails
Analyzing folder structure of a Rails application
Creating views
Styling views using CSS
Challenges in styling a Rails application traditionally
Summary
Chapter 2. Introducing Bootstrap 3
What is Bootstrap?
Installing Bootstrap in a Rails project
Chapter 3. Powering a Rails App with Bootstrap's Grid System
What is Bootstrap's grid system?
Nesting columns
Implementing Bootstrap's grid system in a Rails application
Chapter 4. Using Bootstrap's Typography Buttons and Images in a Rails Application
Setting up
Styling typography
Creating and styling buttons
Styling images in Bootstrap
Chapter 5. Reinventing Tables and Forms in Bootstrap
Creating Bootstrap tables
Creating Bootstrap forms
Validation classes in Bootstrap forms
Chapter 6. Creating Navigation Bars
Getting started with a navigation bar
Navigation bar helper classes
Adding a navigation bar to the Rails application
Chapter 7. Various Other Bootstrap Components
Bootstrap Breadcrumbs
The pagination component
Bootstrap labels and badges
Bootstrap jumbotrons
Alerts
Creating a progress bar
Panels
Chapter 8. Working with Bootstrap Modals
Getting started with modals
Changing Bootstrap's modal size
Additional Bootstrap modal features
Fetching remote content from a Bootstrap modal
Using Bootstrap's modal in a Rails application
Chapter 9. Creating Image Slideshows with Bootstrap Carousel
Getting started with Bootstrap Carousel
Adding captions to the slides
Customizing Carousel
Chapter 10. Creating a Shopping Cart Using Bootstrap Modals
Adding a shopping cart symbol
Creating a shopping cart using modals
Appendix A. Adding Custom Styles to a Rails Application
Adding Bootstrap-sass to a Rails application
Customizing Bootstrap through variables
Index