easy_reports 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +21 -21
- data/Gemfile +19 -19
- data/MIT-LICENSE +20 -20
- data/README.md +31 -31
- data/Rakefile +10 -10
- data/app/assets/javascripts/application.js +10 -10
- data/app/assets/javascripts/bootstrap.js +3 -3
- data/app/assets/javascripts/easy_reports/application.js +17 -16
- data/app/assets/javascripts/easy_reports/database_configs.js +2 -2
- data/app/assets/javascripts/easy_reports/reports.js +2 -2
- data/app/assets/stylesheets/application.css +8 -8
- data/app/assets/stylesheets/easy_reports/application.css +17 -16
- data/app/assets/stylesheets/easy_reports/bootstrap_and_overrides.css.less +29 -29
- data/app/assets/stylesheets/easy_reports/dashboard/dashboard_content.css +0 -0
- data/app/assets/stylesheets/easy_reports/dashboard/sidebar.css +135 -0
- data/app/assets/stylesheets/easy_reports/database_configs.css +4 -4
- data/app/assets/stylesheets/easy_reports/reports.css +4 -4
- data/app/controllers/easy_reports/application_controller.rb +4 -4
- data/app/controllers/easy_reports/dashboard_controller.rb +17 -0
- data/app/controllers/easy_reports/database_configs_controller.rb +53 -53
- data/app/controllers/easy_reports/reports_controller.rb +56 -57
- data/app/helpers/easy_reports/application_helper.rb +4 -4
- data/app/helpers/easy_reports/database_configs_helper.rb +4 -4
- data/app/helpers/easy_reports/reports_helper.rb +4 -4
- data/app/models/easy_reports/database_config.rb +4 -4
- data/app/models/easy_reports/report.rb +4 -4
- data/app/services/easy_reports/database_mediator.rb +36 -18
- data/app/views/easy_reports/dashboard/show.html.slim +3 -0
- data/app/views/easy_reports/database_configs/_form.html.slim +33 -33
- data/app/views/easy_reports/database_configs/edit.html.slim +8 -8
- data/app/views/easy_reports/database_configs/index.html.slim +35 -35
- data/app/views/easy_reports/database_configs/new.html.slim +5 -5
- data/app/views/easy_reports/database_configs/show.html.slim +27 -27
- data/app/views/easy_reports/reports/_form.html.slim +17 -15
- data/app/views/easy_reports/reports/edit.html.slim +8 -8
- data/app/views/easy_reports/reports/index.html.slim +26 -26
- data/app/views/easy_reports/reports/new.html.slim +5 -5
- data/app/views/easy_reports/reports/show.html.slim +12 -12
- data/app/views/layouts/easy_reports/application.html.slim +15 -0
- data/app/views/shared/_header.html.slim +60 -0
- data/app/views/shared/_sidebar.html.slim +58 -0
- data/bin/rails +12 -12
- data/config/locales/en.bootstrap.yml +23 -23
- data/config/routes.rb +8 -8
- data/db/migrate/20141207141745_create_easy_reports_reports.rb +10 -10
- data/db/migrate/20141213173509_create_easy_reports_database_configs.rb +16 -16
- data/easy_reports.gemspec +36 -35
- data/lib/easy_reports.rb +13 -11
- data/lib/easy_reports/engine.rb +5 -5
- data/lib/easy_reports/version.rb +3 -3
- data/lib/tasks/easy_reports_tasks.rake +4 -4
- data/test/controllers/easy_reports/database_configs_controller_test.rb +51 -51
- data/test/controllers/easy_reports/reports_controller_test.rb +51 -51
- data/test/dummy/Gemfile +16 -16
- data/test/dummy/Gemfile.lock +129 -129
- data/test/dummy/Rakefile +6 -6
- data/test/dummy/app/assets/javascripts/application.js +13 -13
- data/test/dummy/app/assets/javascripts/bootstrap.js +4 -4
- data/test/dummy/app/assets/stylesheets/application.css +15 -15
- data/test/dummy/app/assets/stylesheets/bootstrap_and_overrides.css.less +29 -29
- data/test/dummy/app/controllers/application_controller.rb +5 -5
- data/test/dummy/app/helpers/application_helper.rb +2 -2
- data/test/dummy/app/views/layouts/application.html.erb +14 -14
- data/test/dummy/bin/bundle +3 -3
- data/test/dummy/bin/rails +4 -4
- data/test/dummy/bin/rake +4 -4
- data/test/dummy/config.ru +4 -4
- data/test/dummy/config/application.rb +23 -23
- data/test/dummy/config/boot.rb +5 -5
- data/test/dummy/config/database.yml +25 -25
- data/test/dummy/config/environment.rb +5 -5
- data/test/dummy/config/environments/development.rb +37 -37
- data/test/dummy/config/environments/production.rb +82 -82
- data/test/dummy/config/environments/test.rb +39 -39
- data/test/dummy/config/initializers/assets.rb +8 -8
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +2 -2
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -4
- data/test/dummy/config/initializers/inflections.rb +16 -16
- data/test/dummy/config/initializers/mime_types.rb +4 -4
- data/test/dummy/config/initializers/session_store.rb +3 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/test/dummy/config/locales/en.bootstrap.yml +23 -23
- data/test/dummy/config/locales/en.yml +23 -23
- data/test/dummy/config/routes.rb +4 -4
- data/test/dummy/config/secrets.yml +22 -22
- data/test/dummy/db/migrate/20141214161417_create_easy_reports_reports.easy_reports.rb +11 -11
- data/test/dummy/db/migrate/20141214161418_create_easy_reports_database_configs.easy_reports.rb +17 -17
- data/test/dummy/public/404.html +67 -67
- data/test/dummy/public/422.html +67 -67
- data/test/dummy/public/500.html +66 -66
- data/test/fixtures/easy_reports/database_configs.yml +19 -19
- data/test/fixtures/easy_reports/reports.yml +9 -9
- data/test/helpers/easy_reports/database_configs_helper_test.rb +6 -6
- data/test/helpers/easy_reports/reports_helper_test.rb +6 -6
- data/test/models/easy_reports/database_config_test.rb +9 -9
- data/test/models/easy_reports/report_test.rb +9 -9
- metadata +24 -5
- data/app/assets/stylesheets/scaffold.css +0 -56
- data/app/views/layouts/easy_reports/application.html.erb +0 -14
data/test/dummy/Gemfile
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# A sample Gemfile
|
|
2
|
-
source "https://rubygems.org"
|
|
3
|
-
|
|
4
|
-
gem 'sqlite3'
|
|
5
|
-
gem 'easy_reports', path: '../..'
|
|
6
|
-
gem 'slim'
|
|
7
|
-
gem 'thin'
|
|
8
|
-
|
|
9
|
-
# gem 'pg'
|
|
10
|
-
# gem 'therubyracer'
|
|
11
|
-
# gem 'less-rails'
|
|
12
|
-
# gem 'twitter-bootstrap-rails'
|
|
13
|
-
# gem 'jquery-rails'
|
|
14
|
-
# gem 'sequel'
|
|
15
|
-
|
|
16
|
-
# gem "rails"
|
|
1
|
+
# A sample Gemfile
|
|
2
|
+
source "https://rubygems.org"
|
|
3
|
+
|
|
4
|
+
gem 'sqlite3'
|
|
5
|
+
gem 'easy_reports', path: '../..'
|
|
6
|
+
# gem 'slim'
|
|
7
|
+
gem 'thin'
|
|
8
|
+
|
|
9
|
+
# gem 'pg'
|
|
10
|
+
# gem 'therubyracer'
|
|
11
|
+
# gem 'less-rails'
|
|
12
|
+
# gem 'twitter-bootstrap-rails'
|
|
13
|
+
# gem 'jquery-rails'
|
|
14
|
+
# gem 'sequel'
|
|
15
|
+
|
|
16
|
+
# gem "rails"
|
data/test/dummy/Gemfile.lock
CHANGED
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: ../..
|
|
3
|
-
specs:
|
|
4
|
-
easy_reports (0.0.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
rails
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
actionview (= 4.1.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
thin
|
|
1
|
+
PATH
|
|
2
|
+
remote: ../..
|
|
3
|
+
specs:
|
|
4
|
+
easy_reports (0.0.23)
|
|
5
|
+
bootstrap-select-rails
|
|
6
|
+
jquery-rails
|
|
7
|
+
less-rails
|
|
8
|
+
pg
|
|
9
|
+
rails (~> 4.1.8)
|
|
10
|
+
sequel
|
|
11
|
+
slim
|
|
12
|
+
therubyracer
|
|
13
|
+
twitter-bootstrap-rails
|
|
14
|
+
|
|
15
|
+
GEM
|
|
16
|
+
remote: https://rubygems.org/
|
|
17
|
+
specs:
|
|
18
|
+
actionmailer (4.1.9)
|
|
19
|
+
actionpack (= 4.1.9)
|
|
20
|
+
actionview (= 4.1.9)
|
|
21
|
+
mail (~> 2.5, >= 2.5.4)
|
|
22
|
+
actionpack (4.1.9)
|
|
23
|
+
actionview (= 4.1.9)
|
|
24
|
+
activesupport (= 4.1.9)
|
|
25
|
+
rack (~> 1.5.2)
|
|
26
|
+
rack-test (~> 0.6.2)
|
|
27
|
+
actionview (4.1.9)
|
|
28
|
+
activesupport (= 4.1.9)
|
|
29
|
+
builder (~> 3.1)
|
|
30
|
+
erubis (~> 2.7.0)
|
|
31
|
+
activemodel (4.1.9)
|
|
32
|
+
activesupport (= 4.1.9)
|
|
33
|
+
builder (~> 3.1)
|
|
34
|
+
activerecord (4.1.9)
|
|
35
|
+
activemodel (= 4.1.9)
|
|
36
|
+
activesupport (= 4.1.9)
|
|
37
|
+
arel (~> 5.0.0)
|
|
38
|
+
activesupport (4.1.9)
|
|
39
|
+
i18n (~> 0.6, >= 0.6.9)
|
|
40
|
+
json (~> 1.7, >= 1.7.7)
|
|
41
|
+
minitest (~> 5.1)
|
|
42
|
+
thread_safe (~> 0.1)
|
|
43
|
+
tzinfo (~> 1.1)
|
|
44
|
+
arel (5.0.1.20140414130214)
|
|
45
|
+
bootstrap-select-rails (1.6.3)
|
|
46
|
+
builder (3.2.2)
|
|
47
|
+
commonjs (0.2.7)
|
|
48
|
+
daemons (1.1.9)
|
|
49
|
+
erubis (2.7.0)
|
|
50
|
+
eventmachine (1.0.3)
|
|
51
|
+
execjs (2.2.2)
|
|
52
|
+
hike (1.2.3)
|
|
53
|
+
i18n (0.7.0)
|
|
54
|
+
jquery-rails (3.1.2)
|
|
55
|
+
railties (>= 3.0, < 5.0)
|
|
56
|
+
thor (>= 0.14, < 2.0)
|
|
57
|
+
json (1.8.2)
|
|
58
|
+
less (2.6.0)
|
|
59
|
+
commonjs (~> 0.2.7)
|
|
60
|
+
less-rails (2.6.0)
|
|
61
|
+
actionpack (>= 3.1)
|
|
62
|
+
less (~> 2.6.0)
|
|
63
|
+
libv8 (3.16.14.7)
|
|
64
|
+
mail (2.6.3)
|
|
65
|
+
mime-types (>= 1.16, < 3)
|
|
66
|
+
mime-types (2.4.3)
|
|
67
|
+
minitest (5.5.1)
|
|
68
|
+
multi_json (1.10.1)
|
|
69
|
+
pg (0.18.1)
|
|
70
|
+
rack (1.5.2)
|
|
71
|
+
rack-test (0.6.3)
|
|
72
|
+
rack (>= 1.0)
|
|
73
|
+
rails (4.1.9)
|
|
74
|
+
actionmailer (= 4.1.9)
|
|
75
|
+
actionpack (= 4.1.9)
|
|
76
|
+
actionview (= 4.1.9)
|
|
77
|
+
activemodel (= 4.1.9)
|
|
78
|
+
activerecord (= 4.1.9)
|
|
79
|
+
activesupport (= 4.1.9)
|
|
80
|
+
bundler (>= 1.3.0, < 2.0)
|
|
81
|
+
railties (= 4.1.9)
|
|
82
|
+
sprockets-rails (~> 2.0)
|
|
83
|
+
railties (4.1.9)
|
|
84
|
+
actionpack (= 4.1.9)
|
|
85
|
+
activesupport (= 4.1.9)
|
|
86
|
+
rake (>= 0.8.7)
|
|
87
|
+
thor (>= 0.18.1, < 2.0)
|
|
88
|
+
rake (10.4.2)
|
|
89
|
+
ref (1.0.5)
|
|
90
|
+
sequel (4.18.0)
|
|
91
|
+
slim (3.0.1)
|
|
92
|
+
temple (~> 0.7.3)
|
|
93
|
+
tilt (>= 1.3.3, < 2.1)
|
|
94
|
+
sprockets (2.12.3)
|
|
95
|
+
hike (~> 1.2)
|
|
96
|
+
multi_json (~> 1.0)
|
|
97
|
+
rack (~> 1.0)
|
|
98
|
+
tilt (~> 1.1, != 1.3.0)
|
|
99
|
+
sprockets-rails (2.2.2)
|
|
100
|
+
actionpack (>= 3.0)
|
|
101
|
+
activesupport (>= 3.0)
|
|
102
|
+
sprockets (>= 2.8, < 4.0)
|
|
103
|
+
sqlite3 (1.3.10)
|
|
104
|
+
temple (0.7.5)
|
|
105
|
+
therubyracer (0.12.1)
|
|
106
|
+
libv8 (~> 3.16.14.0)
|
|
107
|
+
ref
|
|
108
|
+
thin (1.6.2)
|
|
109
|
+
daemons (>= 1.0.9)
|
|
110
|
+
eventmachine (>= 1.0.0)
|
|
111
|
+
rack (>= 1.0.0)
|
|
112
|
+
thor (0.19.1)
|
|
113
|
+
thread_safe (0.3.4)
|
|
114
|
+
tilt (1.4.1)
|
|
115
|
+
twitter-bootstrap-rails (3.2.0)
|
|
116
|
+
actionpack (~> 4.1)
|
|
117
|
+
execjs (~> 2.2)
|
|
118
|
+
rails (~> 4.1)
|
|
119
|
+
railties (~> 4.1)
|
|
120
|
+
tzinfo (1.2.2)
|
|
121
|
+
thread_safe (~> 0.1)
|
|
122
|
+
|
|
123
|
+
PLATFORMS
|
|
124
|
+
ruby
|
|
125
|
+
|
|
126
|
+
DEPENDENCIES
|
|
127
|
+
easy_reports!
|
|
128
|
+
sqlite3
|
|
129
|
+
thin
|
data/test/dummy/Rakefile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
2
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
3
|
-
|
|
4
|
-
require File.expand_path('../config/application', __FILE__)
|
|
5
|
-
|
|
6
|
-
Rails.application.load_tasks
|
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
2
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
3
|
+
|
|
4
|
+
require File.expand_path('../config/application', __FILE__)
|
|
5
|
+
|
|
6
|
+
Rails.application.load_tasks
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
-
// listed below.
|
|
3
|
-
//
|
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
|
6
|
-
//
|
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
-
// compiled file.
|
|
9
|
-
//
|
|
10
|
-
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
|
11
|
-
// about supported directives.
|
|
12
|
-
//
|
|
13
|
-
//= require_tree .
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
+
// listed below.
|
|
3
|
+
//
|
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
|
6
|
+
//
|
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
+
// compiled file.
|
|
9
|
+
//
|
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
|
11
|
+
// about supported directives.
|
|
12
|
+
//
|
|
13
|
+
//= require_tree .
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
jQuery(function() {
|
|
2
|
-
$("a[rel~=popover], .has-popover").popover();
|
|
3
|
-
$("a[rel~=tooltip], .has-tooltip").tooltip();
|
|
4
|
-
});
|
|
1
|
+
jQuery(function() {
|
|
2
|
+
$("a[rel~=popover], .has-popover").popover();
|
|
3
|
+
$("a[rel~=tooltip], .has-tooltip").tooltip();
|
|
4
|
+
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
-
* listed below.
|
|
4
|
-
*
|
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
|
7
|
-
*
|
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any styles
|
|
10
|
-
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
|
11
|
-
* file per style scope.
|
|
12
|
-
*
|
|
13
|
-
*= require_tree .
|
|
14
|
-
*= require_self
|
|
15
|
-
*/
|
|
1
|
+
/*
|
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
+
* listed below.
|
|
4
|
+
*
|
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
|
7
|
+
*
|
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
|
10
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
|
11
|
+
* file per style scope.
|
|
12
|
+
*
|
|
13
|
+
*= require_tree .
|
|
14
|
+
*= require_self
|
|
15
|
+
*/
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
@import "twitter/bootstrap/bootstrap";
|
|
2
|
-
|
|
3
|
-
// Set the correct sprite paths
|
|
4
|
-
@iconSpritePath: image-url("twitter/bootstrap/glyphicons-halflings.png");
|
|
5
|
-
@iconWhiteSpritePath: image-url("twitter/bootstrap/glyphicons-halflings-white.png");
|
|
6
|
-
|
|
7
|
-
// Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
|
|
8
|
-
@fontAwesomeEotPath: font-url("fontawesome-webfont.eot");
|
|
9
|
-
@fontAwesomeEotPath_iefix: font-url("fontawesome-webfont.eot?#iefix");
|
|
10
|
-
@fontAwesomeWoffPath: font-url("fontawesome-webfont.woff");
|
|
11
|
-
@fontAwesomeTtfPath: font-url("fontawesome-webfont.ttf");
|
|
12
|
-
@fontAwesomeSvgPath: font-url("fontawesome-webfont.svg#fontawesomeregular");
|
|
13
|
-
|
|
14
|
-
// Font Awesome
|
|
15
|
-
@import "fontawesome/font-awesome";
|
|
16
|
-
|
|
17
|
-
// Glyphicons
|
|
18
|
-
//@import "twitter/bootstrap/glyphicons.less";
|
|
19
|
-
|
|
20
|
-
// Your custom LESS stylesheets goes here
|
|
21
|
-
//
|
|
22
|
-
// Since bootstrap was imported above you have access to its mixins which
|
|
23
|
-
// you may use and inherit here
|
|
24
|
-
//
|
|
25
|
-
// If you'd like to override bootstrap's own variables, you can do so here as well
|
|
26
|
-
// See http://twitter.github.com/bootstrap/customize.html#variables for their names and documentation
|
|
27
|
-
//
|
|
28
|
-
// Example:
|
|
29
|
-
// @link-color: #ff0000;
|
|
1
|
+
@import "twitter/bootstrap/bootstrap";
|
|
2
|
+
|
|
3
|
+
// Set the correct sprite paths
|
|
4
|
+
@iconSpritePath: image-url("twitter/bootstrap/glyphicons-halflings.png");
|
|
5
|
+
@iconWhiteSpritePath: image-url("twitter/bootstrap/glyphicons-halflings-white.png");
|
|
6
|
+
|
|
7
|
+
// Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
|
|
8
|
+
@fontAwesomeEotPath: font-url("fontawesome-webfont.eot");
|
|
9
|
+
@fontAwesomeEotPath_iefix: font-url("fontawesome-webfont.eot?#iefix");
|
|
10
|
+
@fontAwesomeWoffPath: font-url("fontawesome-webfont.woff");
|
|
11
|
+
@fontAwesomeTtfPath: font-url("fontawesome-webfont.ttf");
|
|
12
|
+
@fontAwesomeSvgPath: font-url("fontawesome-webfont.svg#fontawesomeregular");
|
|
13
|
+
|
|
14
|
+
// Font Awesome
|
|
15
|
+
@import "fontawesome/font-awesome";
|
|
16
|
+
|
|
17
|
+
// Glyphicons
|
|
18
|
+
//@import "twitter/bootstrap/glyphicons.less";
|
|
19
|
+
|
|
20
|
+
// Your custom LESS stylesheets goes here
|
|
21
|
+
//
|
|
22
|
+
// Since bootstrap was imported above you have access to its mixins which
|
|
23
|
+
// you may use and inherit here
|
|
24
|
+
//
|
|
25
|
+
// If you'd like to override bootstrap's own variables, you can do so here as well
|
|
26
|
+
// See http://twitter.github.com/bootstrap/customize.html#variables for their names and documentation
|
|
27
|
+
//
|
|
28
|
+
// Example:
|
|
29
|
+
// @link-color: #ff0000;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
class ApplicationController < ActionController::Base
|
|
2
|
-
# Prevent CSRF attacks by raising an exception.
|
|
3
|
-
# For APIs, you may want to use :null_session instead.
|
|
4
|
-
protect_from_forgery with: :exception
|
|
5
|
-
end
|
|
1
|
+
class ApplicationController < ActionController::Base
|
|
2
|
+
# Prevent CSRF attacks by raising an exception.
|
|
3
|
+
# For APIs, you may want to use :null_session instead.
|
|
4
|
+
protect_from_forgery with: :exception
|
|
5
|
+
end
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
module ApplicationHelper
|
|
2
|
-
end
|
|
1
|
+
module ApplicationHelper
|
|
2
|
+
end
|