Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
29b487c1f4 | ||
|
50f5f86109 |
8
.gitignore
vendored
8
.gitignore
vendored
@ -28,10 +28,4 @@
|
|||||||
app/assets/images/.keep
|
app/assets/images/.keep
|
||||||
|
|
||||||
# Ignore configuration file
|
# Ignore configuration file
|
||||||
*.conf
|
*.conf
|
||||||
|
|
||||||
# Ignore npm packages
|
|
||||||
node_modules
|
|
||||||
|
|
||||||
# Ignore bower packages
|
|
||||||
vendor/assets/components
|
|
4
Gemfile
4
Gemfile
@ -1,4 +1,8 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
|
# Bootstrap Theme
|
||||||
|
gem 'gentelella-rails'
|
||||||
|
|
||||||
gem 'carrierwave'
|
gem 'carrierwave'
|
||||||
gem 'devise'
|
gem 'devise'
|
||||||
gem 'net-ping'
|
gem 'net-ping'
|
||||||
|
89
Gemfile.lock
89
Gemfile.lock
@ -39,11 +39,11 @@ GEM
|
|||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 1.1)
|
||||||
arel (8.0.0)
|
arel (8.0.0)
|
||||||
autoprefixer-rails (7.1.6)
|
autoprefixer-rails (7.2.3)
|
||||||
execjs
|
execjs
|
||||||
bcrypt (3.1.11)
|
bcrypt (3.1.11)
|
||||||
binding_of_caller (0.7.3)
|
bootstrap-daterangepicker-rails (0.1.7)
|
||||||
debug_inspector (>= 0.0.1)
|
railties (>= 4.0, < 5.2)
|
||||||
bootstrap-sass (3.3.7)
|
bootstrap-sass (3.3.7)
|
||||||
autoprefixer-rails (>= 5.2.1)
|
autoprefixer-rails (>= 5.2.1)
|
||||||
sass (>= 3.3.4)
|
sass (>= 3.3.4)
|
||||||
@ -53,9 +53,17 @@ GEM
|
|||||||
activemodel (>= 4.0.0)
|
activemodel (>= 4.0.0)
|
||||||
activesupport (>= 4.0.0)
|
activesupport (>= 4.0.0)
|
||||||
mime-types (>= 1.16)
|
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)
|
concurrent-ruby (1.0.5)
|
||||||
crass (1.0.2)
|
crass (1.0.3)
|
||||||
debug_inspector (0.0.3)
|
|
||||||
devise (4.3.0)
|
devise (4.3.0)
|
||||||
bcrypt (~> 3.0)
|
bcrypt (~> 3.0)
|
||||||
orm_adapter (~> 0.1)
|
orm_adapter (~> 0.1)
|
||||||
@ -64,13 +72,39 @@ GEM
|
|||||||
warden (~> 1.2.3)
|
warden (~> 1.2.3)
|
||||||
erubi (1.7.0)
|
erubi (1.7.0)
|
||||||
execjs (2.7.0)
|
execjs (2.7.0)
|
||||||
|
fastclick-rails (1.0.1)
|
||||||
ffi (1.9.18)
|
ffi (1.9.18)
|
||||||
|
flot-rails (0.0.7)
|
||||||
|
jquery-rails
|
||||||
font-awesome-rails (4.7.0.2)
|
font-awesome-rails (4.7.0.2)
|
||||||
railties (>= 3.2, < 5.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)
|
activesupport (>= 4.2.0)
|
||||||
i18n (0.9.0)
|
i18n (0.9.1)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
|
icheck-rails (1.0.2.2)
|
||||||
|
jquery-rails
|
||||||
|
rails (>= 3.1.0)
|
||||||
|
sass-rails
|
||||||
jbuilder (2.7.0)
|
jbuilder (2.7.0)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 4.2.0)
|
||||||
multi_json (>= 1.2)
|
multi_json (>= 1.2)
|
||||||
@ -82,23 +116,29 @@ GEM
|
|||||||
loofah (2.1.1)
|
loofah (2.1.1)
|
||||||
crass (~> 1.0.2)
|
crass (~> 1.0.2)
|
||||||
nokogiri (>= 1.5.9)
|
nokogiri (>= 1.5.9)
|
||||||
mail (2.6.6)
|
mail (2.7.0)
|
||||||
mime-types (>= 1.16, < 4)
|
mini_mime (>= 0.1.1)
|
||||||
method_source (0.9.0)
|
method_source (0.9.0)
|
||||||
mime-types (3.1)
|
mime-types (3.1)
|
||||||
mime-types-data (~> 3.2015)
|
mime-types-data (~> 3.2015)
|
||||||
mime-types-data (3.2016.0521)
|
mime-types-data (3.2016.0521)
|
||||||
|
mini_mime (1.0.0)
|
||||||
mini_portile2 (2.3.0)
|
mini_portile2 (2.3.0)
|
||||||
minitest (5.10.3)
|
minitest (5.10.3)
|
||||||
|
momentjs-rails (2.17.1)
|
||||||
|
railties (>= 3.1)
|
||||||
multi_json (1.12.2)
|
multi_json (1.12.2)
|
||||||
net-ping (2.0.2)
|
net-ping (2.0.2)
|
||||||
nio4r (2.1.0)
|
nio4r (2.2.0)
|
||||||
nokogiri (1.8.1)
|
nokogiri (1.8.1)
|
||||||
mini_portile2 (~> 2.3.0)
|
mini_portile2 (~> 2.3.0)
|
||||||
|
nprogress-rails (0.2.0.2)
|
||||||
orm_adapter (0.5.0)
|
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 (2.0.3)
|
||||||
rack-test (0.7.0)
|
rack-test (0.8.2)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
rails (5.1.4)
|
rails (5.1.4)
|
||||||
actioncable (= 5.1.4)
|
actioncable (= 5.1.4)
|
||||||
@ -123,7 +163,7 @@ GEM
|
|||||||
method_source
|
method_source
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.8.7)
|
||||||
thor (>= 0.18.1, < 2.0)
|
thor (>= 0.18.1, < 2.0)
|
||||||
rake (12.1.0)
|
rake (12.3.0)
|
||||||
rb-fsevent (0.10.2)
|
rb-fsevent (0.10.2)
|
||||||
rb-inotify (0.9.10)
|
rb-inotify (0.9.10)
|
||||||
ffi (>= 0.5.0, < 2)
|
ffi (>= 0.5.0, < 2)
|
||||||
@ -131,12 +171,12 @@ GEM
|
|||||||
responders (2.4.0)
|
responders (2.4.0)
|
||||||
actionpack (>= 4.2.0, < 5.3)
|
actionpack (>= 4.2.0, < 5.3)
|
||||||
railties (>= 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)
|
||||||
sass-listen (4.0.0)
|
sass-listen (4.0.0)
|
||||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||||
rb-inotify (~> 0.9, >= 0.9.7)
|
rb-inotify (~> 0.9, >= 0.9.7)
|
||||||
sass-rails (5.0.6)
|
sass-rails (5.0.7)
|
||||||
railties (>= 4.0.0, < 6)
|
railties (>= 4.0.0, < 6)
|
||||||
sass (~> 3.1)
|
sass (~> 3.1)
|
||||||
sprockets (>= 2.8, < 4.0)
|
sprockets (>= 2.8, < 4.0)
|
||||||
@ -145,6 +185,8 @@ GEM
|
|||||||
sdoc (0.4.2)
|
sdoc (0.4.2)
|
||||||
json (~> 1.7, >= 1.7.7)
|
json (~> 1.7, >= 1.7.7)
|
||||||
rdoc (~> 4.0)
|
rdoc (~> 4.0)
|
||||||
|
select2-rails (4.0.3)
|
||||||
|
thor (~> 0.14)
|
||||||
spring (2.0.2)
|
spring (2.0.2)
|
||||||
activesupport (>= 4.2)
|
activesupport (>= 4.2)
|
||||||
sprockets (3.7.1)
|
sprockets (3.7.1)
|
||||||
@ -155,26 +197,23 @@ GEM
|
|||||||
activesupport (>= 4.0)
|
activesupport (>= 4.0)
|
||||||
sprockets (>= 3.0.0)
|
sprockets (>= 3.0.0)
|
||||||
sqlite3 (1.3.13)
|
sqlite3 (1.3.13)
|
||||||
|
switchery-rails (0.8.1.1)
|
||||||
|
railties (>= 3.2, < 6.0)
|
||||||
thor (0.20.0)
|
thor (0.20.0)
|
||||||
thread_safe (0.3.6)
|
thread_safe (0.3.6)
|
||||||
tilt (2.0.8)
|
tilt (2.0.8)
|
||||||
turbolinks (5.0.1)
|
turbolinks (5.0.1)
|
||||||
turbolinks-source (~> 5)
|
turbolinks-source (~> 5)
|
||||||
turbolinks-source (5.0.3)
|
turbolinks-source (5.0.3)
|
||||||
tzinfo (1.2.3)
|
tzinfo (1.2.4)
|
||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
uglifier (3.2.0)
|
uglifier (4.1.1)
|
||||||
execjs (>= 0.3.0, < 3)
|
execjs (>= 0.3.0, < 3)
|
||||||
warden (1.2.7)
|
warden (1.2.7)
|
||||||
rack (>= 1.0)
|
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-driver (0.6.5)
|
||||||
websocket-extensions (>= 0.1.0)
|
websocket-extensions (>= 0.1.0)
|
||||||
websocket-extensions (0.1.2)
|
websocket-extensions (0.1.3)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
@ -185,6 +224,7 @@ DEPENDENCIES
|
|||||||
carrierwave
|
carrierwave
|
||||||
devise
|
devise
|
||||||
font-awesome-rails
|
font-awesome-rails
|
||||||
|
gentelella-rails
|
||||||
jbuilder (~> 2.0)
|
jbuilder (~> 2.0)
|
||||||
jquery-rails
|
jquery-rails
|
||||||
net-ping
|
net-ping
|
||||||
@ -196,7 +236,6 @@ DEPENDENCIES
|
|||||||
sqlite3
|
sqlite3
|
||||||
turbolinks
|
turbolinks
|
||||||
uglifier (>= 1.3.0)
|
uglifier (>= 1.3.0)
|
||||||
web-console (~> 2.0)
|
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.15.4
|
1.16.1
|
||||||
|
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2016-present Youngkyun Kim
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
@ -3,20 +3,8 @@
|
|||||||
//= require jquery_ujs
|
//= require jquery_ujs
|
||||||
//= require turbolinks
|
//= require turbolinks
|
||||||
//= require bootstrap.min.js
|
//= require bootstrap.min.js
|
||||||
|
//= require gentelella
|
||||||
//= require gentelella/src/js/custom.js
|
//= require gentelella-custom
|
||||||
//= 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
|
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
$('#flash').delay(500).fadeIn('normal', 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 "font-awesome";
|
||||||
@import "loading";
|
@import "loading";
|
||||||
|
|
||||||
@import "gentelella/src/scss/custom";
|
@import "gentelella";
|
||||||
@import "gentelella/vendors/animate.css/animate.min";
|
@import "gentelella-custom";
|
||||||
@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";
|
|
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
|
# Install bower, bundler, packages
|
||||||
function install {
|
function install {
|
||||||
npm install bower
|
|
||||||
bower install --allow-root
|
|
||||||
gem install bundler
|
gem install bundler
|
||||||
bundle install
|
bundle install
|
||||||
}
|
}
|
||||||
|
|
||||||
# setup
|
# setup
|
||||||
function setup {
|
function setup {
|
||||||
|
bin/rails g gentelella:install
|
||||||
bin/rake db:migrate
|
bin/rake db:migrate
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user