GithubHelp home page GithubHelp logo

pragmaticed / devise-bootstrap-views Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hisea/devise-bootstrap-views

0.0 2.0 0.0 212 KB

License: MIT License

Ruby 12.67% CSS 0.65% HTML 86.69%

devise-bootstrap-views's Introduction

Devise Bootstrap Views

Here are some of the highlights:

  • Devise views with Bootstrap 3.
  • Used Bootstrap responsive columns.
  • I18n Support.

WARNING: This gem copies lots of its code from devise-i18n-views gem.

Screenshot

Screenshot

Installation

Add this line to your application's Gemfile:

gem 'devise-bootstrap-views'

And then execute:

$ bundle

Add some minor css fix to your rails asset pipeline manifest

# SASS
*= require devise_bootstrap_views

# LESS
*= require devise_bootstrap_views_less

Then you need to install the required translations in your config/locales. The devise-i18n-views project is no longer maintained after being merged into devise-i18n, which is currently the best source for updated Devise translations. You can manually download locale dictionaries from devise-i18n/rails/locales or generate them by running devise:views:locale <chosen_locale>:

rails g devise:views:locale it

will generate config/locales/devise.views.it.yml.

Customizing Views

The devise:views:bootstrap_templates generator will copy all views to your application, so you can modify the files as you wish:

rails g devise:views:bootstrap_templates

Alternatively, you can also generate Haml or Slim templates instead of traditional ERB. Both can be generated with their respective commands below.

rails g devise:views:bootstrap_haml_templates
rails g devise:views:bootstrap_slim_templates

Example

Sample Application can be found at this link - Devise Boostrap Views Application

Contributing

  1. Fork it ( https://github.com/hisea/devise-bootstrap-views/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

devise-bootstrap-views's People

Contributors

bastengao avatar benoitmc avatar blueplanet avatar bogdanvlviv avatar brunofacca avatar cervinka avatar christianmeichtry avatar cubizh avatar dankimio avatar dmk1991 avatar dmvt avatar duncannz avatar egbert avatar ethirajsrinivasan avatar fwitzke avatar hisea avatar jandillmann avatar jfly avatar kpthomas avatar mabras avatar patleb avatar rafaelgoulart avatar servis avatar shhavel avatar smartlime avatar steigr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.