Skip to content

Commit

Permalink
🆙 bootstrap install
Browse files Browse the repository at this point in the history
  • Loading branch information
723gt committed Mar 19, 2017
1 parent 1ae6273 commit 4a9a4b1
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/application.js
Expand Up @@ -12,5 +12,6 @@
//
//= require jquery
//= require jquery_ujs
//= require twitter/bootstrap
//= require turbolinks
//= require_tree .
3 changes: 3 additions & 0 deletions app/assets/javascripts/bootstrap.js.coffee
@@ -0,0 +1,3 @@
jQuery ->
$("a[rel~=popover], .has-popover").popover()
$("a[rel~=tooltip], .has-tooltip").tooltip()
21 changes: 21 additions & 0 deletions app/assets/stylesheets/bootstrap_and_overrides.css.less
@@ -0,0 +1,21 @@
@import "twitter/bootstrap/bootstrap";

// Glyphicons are not required by default, uncomment the following lines to enable them.
//@glyphiconsEotPath: font-url("glyphicons-halflings-regular.eot");
//@glyphiconsEotPath_iefix: font-url("glyphicons-halflings-regular.eot?#iefix");
//@glyphiconsWoffPath: font-url("glyphicons-halflings-regular.woff");
//@glyphiconsTtfPath: font-url("glyphicons-halflings-regular.ttf");
//@glyphiconsSvgPath: font-url("glyphicons-halflings-regular.svg#glyphicons_halflingsregular");
//
//@import "twitter/bootstrap/glyphicons.less";

// Your custom LESS stylesheets goes here
//
// Since bootstrap was imported above you have access to its mixins which
// you may use and inherit here
//
// If you'd like to override bootstrap's own variables, you can do so here as well
// See http://twitter.github.com/bootstrap/customize.html#variables for their names and documentation
//
// Example:
// @link-color: #ff0000;
23 changes: 23 additions & 0 deletions config/locales/en.bootstrap.yml
@@ -0,0 +1,23 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

en:
breadcrumbs:
application:
root: "Index"
pages:
pages: "Pages"
helpers:
actions: "Actions"
links:
back: "Back"
cancel: "Cancel"
confirm: "Are you sure?"
destroy: "Delete"
new: "New"
edit: "Edit"
titles:
edit: "Edit %{model}"
save: "Save %{model}"
new: "New %{model}"
delete: "Delete %{model}"

0 comments on commit 4a9a4b1

Please sign in to comment.