easy_reports 0.0.22 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -1,56 +0,0 @@
|
|
1
|
-
body { background-color: #fff; color: #333; }
|
2
|
-
|
3
|
-
body, p, ol, ul, td {
|
4
|
-
font-family: verdana, arial, helvetica, sans-serif;
|
5
|
-
font-size: 13px;
|
6
|
-
line-height: 18px;
|
7
|
-
}
|
8
|
-
|
9
|
-
pre {
|
10
|
-
background-color: #eee;
|
11
|
-
padding: 10px;
|
12
|
-
font-size: 11px;
|
13
|
-
}
|
14
|
-
|
15
|
-
a { color: #000; }
|
16
|
-
a:visited { color: #666; }
|
17
|
-
a:hover { color: #fff; background-color:#000; }
|
18
|
-
|
19
|
-
div.field, div.actions {
|
20
|
-
margin-bottom: 10px;
|
21
|
-
}
|
22
|
-
|
23
|
-
#notice {
|
24
|
-
color: green;
|
25
|
-
}
|
26
|
-
|
27
|
-
.field_with_errors {
|
28
|
-
padding: 2px;
|
29
|
-
background-color: red;
|
30
|
-
display: table;
|
31
|
-
}
|
32
|
-
|
33
|
-
#error_explanation {
|
34
|
-
width: 450px;
|
35
|
-
border: 2px solid red;
|
36
|
-
padding: 7px;
|
37
|
-
padding-bottom: 0;
|
38
|
-
margin-bottom: 20px;
|
39
|
-
background-color: #f0f0f0;
|
40
|
-
}
|
41
|
-
|
42
|
-
#error_explanation h2 {
|
43
|
-
text-align: left;
|
44
|
-
font-weight: bold;
|
45
|
-
padding: 5px 5px 5px 15px;
|
46
|
-
font-size: 12px;
|
47
|
-
margin: -7px;
|
48
|
-
margin-bottom: 0px;
|
49
|
-
background-color: #c00;
|
50
|
-
color: #fff;
|
51
|
-
}
|
52
|
-
|
53
|
-
#error_explanation ul li {
|
54
|
-
font-size: 12px;
|
55
|
-
list-style: square;
|
56
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>EasyReports</title>
|
5
|
-
<%= stylesheet_link_tag "easy_reports/application", media: "all" %>
|
6
|
-
<%= javascript_include_tag "easy_reports/application" %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|