Convert gentelella module
from: bower to: gem (https://github.com/mwlang/gentelella-rails)
This commit is contained in:
parent
7454b9db1f
commit
50f5f86109
4
Gemfile
4
Gemfile
@ -1,4 +1,8 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
# Bootstrap Theme
|
||||
gem 'gentelella-rails'
|
||||
|
||||
gem 'carrierwave'
|
||||
gem 'devise'
|
||||
gem 'net-ping'
|
||||
|
89
Gemfile.lock
89
Gemfile.lock
@ -39,11 +39,11 @@ GEM
|
||||
minitest (~> 5.1)
|
||||
tzinfo (~> 1.1)
|
||||
arel (8.0.0)
|
||||
autoprefixer-rails (7.1.6)
|
||||
autoprefixer-rails (7.2.3)
|
||||
execjs
|
||||
bcrypt (3.1.11)
|
||||
binding_of_caller (0.7.3)
|
||||
debug_inspector (>= 0.0.1)
|
||||
bootstrap-daterangepicker-rails (0.1.7)
|
||||
railties (>= 4.0, < 5.2)
|
||||
bootstrap-sass (3.3.7)
|
||||
autoprefixer-rails (>= 5.2.1)
|
||||
sass (>= 3.3.4)
|
||||
@ -53,9 +53,17 @@ GEM
|
||||
activemodel (>= 4.0.0)
|
||||
activesupport (>= 4.0.0)
|
||||
mime-types (>= 1.16)
|
||||
chart-js-rails (0.1.4)
|
||||
railties (> 3.1)
|
||||
coffee-rails (4.2.2)
|
||||
coffee-script (>= 2.2.0)
|
||||
railties (>= 4.0.0)
|
||||
coffee-script (2.4.1)
|
||||
coffee-script-source
|
||||
execjs
|
||||
coffee-script-source (1.12.2)
|
||||
concurrent-ruby (1.0.5)
|
||||
crass (1.0.2)
|
||||
debug_inspector (0.0.3)
|
||||
crass (1.0.3)
|
||||
devise (4.3.0)
|
||||
bcrypt (~> 3.0)
|
||||
orm_adapter (~> 0.1)
|
||||
@ -64,13 +72,39 @@ GEM
|
||||
warden (~> 1.2.3)
|
||||
erubi (1.7.0)
|
||||
execjs (2.7.0)
|
||||
fastclick-rails (1.0.1)
|
||||
ffi (1.9.18)
|
||||
flot-rails (0.0.7)
|
||||
jquery-rails
|
||||
font-awesome-rails (4.7.0.2)
|
||||
railties (>= 3.2, < 5.2)
|
||||
globalid (0.4.0)
|
||||
font-awesome-sass (4.7.0)
|
||||
sass (>= 3.2)
|
||||
gentelella-rails (0.1.11)
|
||||
bootstrap-daterangepicker-rails (>= 0.1.7)
|
||||
bootstrap-sass (~> 3.3.6)
|
||||
chart-js-rails
|
||||
coffee-rails
|
||||
fastclick-rails
|
||||
flot-rails
|
||||
font-awesome-sass (~> 4.7.0)
|
||||
icheck-rails
|
||||
jquery-rails
|
||||
momentjs-rails
|
||||
nprogress-rails
|
||||
parsley-rails
|
||||
railties (>= 4.0)
|
||||
sass-rails (>= 5.0)
|
||||
select2-rails
|
||||
switchery-rails
|
||||
globalid (0.4.1)
|
||||
activesupport (>= 4.2.0)
|
||||
i18n (0.9.0)
|
||||
i18n (0.9.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
icheck-rails (1.0.2.2)
|
||||
jquery-rails
|
||||
rails (>= 3.1.0)
|
||||
sass-rails
|
||||
jbuilder (2.7.0)
|
||||
activesupport (>= 4.2.0)
|
||||
multi_json (>= 1.2)
|
||||
@ -82,23 +116,29 @@ GEM
|
||||
loofah (2.1.1)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.5.9)
|
||||
mail (2.6.6)
|
||||
mime-types (>= 1.16, < 4)
|
||||
mail (2.7.0)
|
||||
mini_mime (>= 0.1.1)
|
||||
method_source (0.9.0)
|
||||
mime-types (3.1)
|
||||
mime-types-data (~> 3.2015)
|
||||
mime-types-data (3.2016.0521)
|
||||
mini_mime (1.0.0)
|
||||
mini_portile2 (2.3.0)
|
||||
minitest (5.10.3)
|
||||
momentjs-rails (2.17.1)
|
||||
railties (>= 3.1)
|
||||
multi_json (1.12.2)
|
||||
net-ping (2.0.2)
|
||||
nio4r (2.1.0)
|
||||
nio4r (2.2.0)
|
||||
nokogiri (1.8.1)
|
||||
mini_portile2 (~> 2.3.0)
|
||||
nprogress-rails (0.2.0.2)
|
||||
orm_adapter (0.5.0)
|
||||
puma (3.10.0)
|
||||
parsley-rails (2.7.0.0)
|
||||
railties (>= 3.0.0)
|
||||
puma (3.11.0)
|
||||
rack (2.0.3)
|
||||
rack-test (0.7.0)
|
||||
rack-test (0.8.2)
|
||||
rack (>= 1.0, < 3)
|
||||
rails (5.1.4)
|
||||
actioncable (= 5.1.4)
|
||||
@ -123,7 +163,7 @@ GEM
|
||||
method_source
|
||||
rake (>= 0.8.7)
|
||||
thor (>= 0.18.1, < 2.0)
|
||||
rake (12.1.0)
|
||||
rake (12.3.0)
|
||||
rb-fsevent (0.10.2)
|
||||
rb-inotify (0.9.10)
|
||||
ffi (>= 0.5.0, < 2)
|
||||
@ -131,12 +171,12 @@ GEM
|
||||
responders (2.4.0)
|
||||
actionpack (>= 4.2.0, < 5.3)
|
||||
railties (>= 4.2.0, < 5.3)
|
||||
sass (3.5.2)
|
||||
sass (3.5.4)
|
||||
sass-listen (~> 4.0.0)
|
||||
sass-listen (4.0.0)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
sass-rails (5.0.6)
|
||||
sass-rails (5.0.7)
|
||||
railties (>= 4.0.0, < 6)
|
||||
sass (~> 3.1)
|
||||
sprockets (>= 2.8, < 4.0)
|
||||
@ -145,6 +185,8 @@ GEM
|
||||
sdoc (0.4.2)
|
||||
json (~> 1.7, >= 1.7.7)
|
||||
rdoc (~> 4.0)
|
||||
select2-rails (4.0.3)
|
||||
thor (~> 0.14)
|
||||
spring (2.0.2)
|
||||
activesupport (>= 4.2)
|
||||
sprockets (3.7.1)
|
||||
@ -155,26 +197,23 @@ GEM
|
||||
activesupport (>= 4.0)
|
||||
sprockets (>= 3.0.0)
|
||||
sqlite3 (1.3.13)
|
||||
switchery-rails (0.8.1.1)
|
||||
railties (>= 3.2, < 6.0)
|
||||
thor (0.20.0)
|
||||
thread_safe (0.3.6)
|
||||
tilt (2.0.8)
|
||||
turbolinks (5.0.1)
|
||||
turbolinks-source (~> 5)
|
||||
turbolinks-source (5.0.3)
|
||||
tzinfo (1.2.3)
|
||||
tzinfo (1.2.4)
|
||||
thread_safe (~> 0.1)
|
||||
uglifier (3.2.0)
|
||||
uglifier (4.1.1)
|
||||
execjs (>= 0.3.0, < 3)
|
||||
warden (1.2.7)
|
||||
rack (>= 1.0)
|
||||
web-console (2.3.0)
|
||||
activemodel (>= 4.0)
|
||||
binding_of_caller (>= 0.7.2)
|
||||
railties (>= 4.0)
|
||||
sprockets-rails (>= 2.0, < 4.0)
|
||||
websocket-driver (0.6.5)
|
||||
websocket-extensions (>= 0.1.0)
|
||||
websocket-extensions (0.1.2)
|
||||
websocket-extensions (0.1.3)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
@ -185,6 +224,7 @@ DEPENDENCIES
|
||||
carrierwave
|
||||
devise
|
||||
font-awesome-rails
|
||||
gentelella-rails
|
||||
jbuilder (~> 2.0)
|
||||
jquery-rails
|
||||
net-ping
|
||||
@ -196,7 +236,6 @@ DEPENDENCIES
|
||||
sqlite3
|
||||
turbolinks
|
||||
uglifier (>= 1.3.0)
|
||||
web-console (~> 2.0)
|
||||
|
||||
BUNDLED WITH
|
||||
1.15.4
|
||||
1.16.1
|
||||
|
@ -3,20 +3,8 @@
|
||||
//= require jquery_ujs
|
||||
//= require turbolinks
|
||||
//= require bootstrap.min.js
|
||||
|
||||
//= require gentelella/src/js/custom.js
|
||||
//= require gentelella/vendors/Chart.js/dist/Chart.min.js
|
||||
//= require gentelella/vendors/Flot/jquery.flot.js
|
||||
//= require gentelella/vendors/Flot/jquery.flot.pie.js
|
||||
//= require gentelella/vendors/Flot/jquery.flot.time.js
|
||||
//= require gentelella/vendors/Flot/jquery.flot.stack.js
|
||||
//= require gentelella/vendors/Flot/jquery.flot.resize.js
|
||||
//= require gentelella/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js
|
||||
//= require gentelella/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js
|
||||
//= require gentelella/vendors/dropzone/dist/min/dropzone.min.js
|
||||
//= require gentelella/vendors/moment/moment.js
|
||||
//= require gentelella/vendors/nprogress/nprogress.js
|
||||
//= require gentelella/vendors/validator/validator.js
|
||||
//= require gentelella
|
||||
//= require gentelella-custom
|
||||
|
||||
$(function() {
|
||||
$('#flash').delay(500).fadeIn('normal', function() {
|
||||
|
5067
app/assets/javascripts/gentelella-custom.js
Normal file
5067
app/assets/javascripts/gentelella-custom.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -5,9 +5,5 @@
|
||||
@import "font-awesome";
|
||||
@import "loading";
|
||||
|
||||
@import "gentelella/src/scss/custom";
|
||||
@import "gentelella/vendors/animate.css/animate.min";
|
||||
@import "gentelella/vendors/normalize-css/normalize";
|
||||
@import "gentelella/vendors/switchery/switchery";
|
||||
@import "gentelella/vendors/datatables.net-buttons-bs/css/buttons.bootstrap.min";
|
||||
@import "gentelella/vendors/datatables.net-responsive-bs/css/responsive.bootstrap.min";
|
||||
@import "gentelella";
|
||||
@import "gentelella-custom";
|
4241
app/assets/stylesheets/gentelella-custom.scss
Normal file
4241
app/assets/stylesheets/gentelella-custom.scss
Normal file
File diff suppressed because it is too large
Load Diff
13
bower.json
13
bower.json
@ -1,13 +0,0 @@
|
||||
{
|
||||
"name": "gentelella_on_rails",
|
||||
"authors": [
|
||||
"Israel Ogbole"
|
||||
],
|
||||
"description": "Gentellela Admin Bootstrap template on Rails 4",
|
||||
"main": "",
|
||||
"license": "MIT",
|
||||
"homepage": "",
|
||||
"dependencies": {
|
||||
"gentelella": "^1.4.0"
|
||||
}
|
||||
}
|
@ -2,14 +2,13 @@
|
||||
|
||||
# Install bower, bundler, packages
|
||||
function install {
|
||||
npm install bower
|
||||
bower install --allow-root
|
||||
gem install bundler
|
||||
bundle install
|
||||
}
|
||||
|
||||
# setup
|
||||
function setup {
|
||||
bin/rails g gentelella:install
|
||||
bin/rake db:migrate
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user