keppler 2.0.0
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 +7 -0
- data/Gemfile +6 -0
- data/README.md +43 -0
- data/Rakefile +2 -0
- data/bin/console +15 -0
- data/bin/keppler +5 -0
- data/bin/setup +7 -0
- data/installer/core/Gemfile +113 -0
- data/installer/core/Guardfile +18 -0
- data/installer/core/README.md +87 -0
- data/installer/core/Rakefile +6 -0
- data/installer/core/_config.yml +1 -0
- data/installer/core/app/assets/images/admin/favicon.png +0 -0
- data/installer/core/app/assets/images/admin/logo.png +0 -0
- data/installer/core/app/assets/images/admin/logo2.png +0 -0
- data/installer/core/app/assets/images/admin/profile-menu.jpg +0 -0
- data/installer/core/app/assets/images/admin/search.png +0 -0
- data/installer/core/app/assets/images/admin/slice-icon-orange.png +0 -0
- data/installer/core/app/assets/images/admin/slice-icon.png +0 -0
- data/installer/core/app/assets/images/admin/slice.png +0 -0
- data/installer/core/app/assets/images/admin/slice_white.png +0 -0
- data/installer/core/app/assets/images/admin/space.png +0 -0
- data/installer/core/app/assets/images/app/Home_Keppler.png +0 -0
- data/installer/core/app/assets/images/app/Home_Keppler2.png +0 -0
- data/installer/core/app/assets/images/app/keppler-front.png +0 -0
- data/installer/core/app/assets/images/app/slice-front.png +0 -0
- data/installer/core/app/assets/javascripts/admin/application.coffee +15 -0
- data/installer/core/app/assets/javascripts/admin/dropdown_top.js +7 -0
- data/installer/core/app/assets/javascripts/admin/file_upload.coffee +21 -0
- data/installer/core/app/assets/javascripts/admin/img_preview.js +18 -0
- data/installer/core/app/assets/javascripts/admin/main.coffee +42 -0
- data/installer/core/app/assets/javascripts/admin/notification.js +11 -0
- data/installer/core/app/assets/javascripts/admin/preview_template.js +21 -0
- data/installer/core/app/assets/javascripts/admin/sidebar.js +20 -0
- data/installer/core/app/assets/javascripts/admin/sort.coffee +8 -0
- data/installer/core/app/assets/javascripts/app/application.js.coffee +5 -0
- data/installer/core/app/assets/javascripts/app/front.js +129 -0
- data/installer/core/app/assets/javascripts/app/google_analytics.js.coffee +5 -0
- data/installer/core/app/assets/javascripts/ckeditor/config.js +130 -0
- data/installer/core/app/assets/javascripts/keppler_ga_dashboard/view-selector2.js +196 -0
- data/installer/core/app/assets/javascripts/vue_admin/index.js +87 -0
- data/installer/core/app/assets/stylesheets/admin/application.scss +43 -0
- data/installer/core/app/assets/stylesheets/admin/components/layouts/_footer.scss +5 -0
- data/installer/core/app/assets/stylesheets/admin/components/layouts/_settings.scss +35 -0
- data/installer/core/app/assets/stylesheets/admin/components/module/_show.scss +0 -0
- data/installer/core/app/assets/stylesheets/admin/components/navigation/_navbar.scss +79 -0
- data/installer/core/app/assets/stylesheets/admin/components/navigation/_sidebar.scss +91 -0
- data/installer/core/app/assets/stylesheets/admin/components/paginator/_paginator.scss +53 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_devise.scss +162 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_files.scss +83 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_form.scss +163 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_header.scss +34 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_index.scss +331 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_listing.scss +29 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_navbar.scss +36 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_pageslide.scss +125 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_preloader.scss +283 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_search.scss +220 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_show.scss +17 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_sidebar.scss +64 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_switchs.scss +47 -0
- data/installer/core/app/assets/stylesheets/admin/pages/_themes.scss +74 -0
- data/installer/core/app/assets/stylesheets/admin/utils/_base.scss +66 -0
- data/installer/core/app/assets/stylesheets/admin/utils/_mixins.scss +26 -0
- data/installer/core/app/assets/stylesheets/admin/utils/_theme.scss +94 -0
- data/installer/core/app/assets/stylesheets/admin/utils/_variables.scss +79 -0
- data/installer/core/app/assets/stylesheets/app/application.scss +29 -0
- data/installer/core/app/assets/stylesheets/app/base/_base_project.scss +17 -0
- data/installer/core/app/assets/stylesheets/app/base/_typography.scss +1 -0
- data/installer/core/app/assets/stylesheets/app/components/_buttons.scss +0 -0
- data/installer/core/app/assets/stylesheets/app/components/_inputs.scss +0 -0
- data/installer/core/app/assets/stylesheets/app/components/_navbar.scss +21 -0
- data/installer/core/app/assets/stylesheets/app/layout/_container.scss +0 -0
- data/installer/core/app/assets/stylesheets/app/layout/_footer.scss +15 -0
- data/installer/core/app/assets/stylesheets/app/layout/_header.scss +0 -0
- data/installer/core/app/assets/stylesheets/app/pages/_front.sass +58 -0
- data/installer/core/app/assets/stylesheets/app/plugins/_bootstrap_override.scss +37 -0
- data/installer/core/app/assets/stylesheets/app/plugins/_font_awesome.scss +2 -0
- data/installer/core/app/assets/stylesheets/app/plugins/_keppler.scss +54 -0
- data/installer/core/app/assets/stylesheets/app/plugins/_npogress.scss +2 -0
- data/installer/core/app/assets/stylesheets/app/utils/_mixins.scss +18 -0
- data/installer/core/app/assets/stylesheets/app/utils/_variables.scss +28 -0
- data/installer/core/app/assets/stylesheets/errors/application.scss +3 -0
- data/installer/core/app/assets/stylesheets/errors/errors.scss +120 -0
- data/installer/core/app/assets/stylesheets/vendor/admin-lte/_skin-blue.scss +141 -0
- data/installer/core/app/controllers/admin/admin_controller.rb +72 -0
- data/installer/core/app/controllers/admin/customizes_controller.rb +109 -0
- data/installer/core/app/controllers/admin/meta_tags_controller.rb +124 -0
- data/installer/core/app/controllers/admin/scripts_controller.rb +131 -0
- data/installer/core/app/controllers/admin/settings_controller.rb +111 -0
- data/installer/core/app/controllers/admin/users_controller.rb +119 -0
- data/installer/core/app/controllers/app/app_controller.rb +23 -0
- data/installer/core/app/controllers/app/front_controller.rb +10 -0
- data/installer/core/app/controllers/application_controller.rb +96 -0
- data/installer/core/app/controllers/devise/sessions_controller.rb +104 -0
- data/installer/core/app/controllers/errors_controller.rb +28 -0
- data/installer/core/app/helpers/admin_helper.rb +117 -0
- data/installer/core/app/helpers/application_helper.rb +21 -0
- data/installer/core/app/helpers/customizes_helper.rb +2 -0
- data/installer/core/app/helpers/fronts_helper.rb +2 -0
- data/installer/core/app/helpers/scaffolds_helper.rb +2 -0
- data/installer/core/app/inputs/checkbox_material_input.rb +75 -0
- data/installer/core/app/inputs/file_material_input.rb +33 -0
- data/installer/core/app/mailers/application_mailer.rb +28 -0
- data/installer/core/app/models/appearance.rb +5 -0
- data/installer/core/app/models/application_record.rb +3 -0
- data/installer/core/app/models/concerns/activity_history.rb +9 -0
- data/installer/core/app/models/concerns/clone_record.rb +12 -0
- data/installer/core/app/models/customize.rb +154 -0
- data/installer/core/app/models/front.rb +2 -0
- data/installer/core/app/models/google_analytics_setting.rb +4 -0
- data/installer/core/app/models/meta_tag.rb +41 -0
- data/installer/core/app/models/role.rb +11 -0
- data/installer/core/app/models/script.rb +30 -0
- data/installer/core/app/models/setting.rb +17 -0
- data/installer/core/app/models/smtp_setting.rb +5 -0
- data/installer/core/app/models/social_account.rb +4 -0
- data/installer/core/app/models/user.rb +44 -0
- data/installer/core/app/policies/application_policy.rb +16 -0
- data/installer/core/app/policies/controller_policy.rb +53 -0
- data/installer/core/app/policies/customize_policy.rb +9 -0
- data/installer/core/app/policies/meta_tag_policy.rb +9 -0
- data/installer/core/app/policies/script_policy.rb +9 -0
- data/installer/core/app/policies/setting_policy.rb +9 -0
- data/installer/core/app/policies/user_policy.rb +17 -0
- data/installer/core/app/uploaders/attachment_uploader.rb +44 -0
- data/installer/core/app/uploaders/ckeditor_attachment_file_uploader.rb +36 -0
- data/installer/core/app/uploaders/ckeditor_picture_uploader.rb +47 -0
- data/installer/core/app/uploaders/template_uploader.rb +44 -0
- data/installer/core/app/views/admin/customizes/_description.html.haml +13 -0
- data/installer/core/app/views/admin/customizes/_form.html.haml +33 -0
- data/installer/core/app/views/admin/customizes/_listing.html.haml +15 -0
- data/installer/core/app/views/admin/customizes/_switch_default_template.html.haml +16 -0
- data/installer/core/app/views/admin/customizes/_switch_template.html.haml +22 -0
- data/installer/core/app/views/admin/customizes/index.html.haml +38 -0
- data/installer/core/app/views/admin/customizes/new.html.haml +4 -0
- data/installer/core/app/views/admin/layouts/_footer.html.haml +8 -0
- data/installer/core/app/views/admin/layouts/_head.html.haml +8 -0
- data/installer/core/app/views/admin/layouts/_header.html.haml +7 -0
- data/installer/core/app/views/admin/layouts/_listing_preloader.haml +5 -0
- data/installer/core/app/views/admin/layouts/_messages.html.haml +4 -0
- data/installer/core/app/views/admin/layouts/_navigation.html.haml +46 -0
- data/installer/core/app/views/admin/layouts/_preloader.html.haml +9 -0
- data/installer/core/app/views/admin/layouts/_search.html.haml +8 -0
- data/installer/core/app/views/admin/layouts/_sidebar.html.haml +63 -0
- data/installer/core/app/views/admin/layouts/application.html.haml +23 -0
- data/installer/core/app/views/admin/layouts/index/remote_messages.js.haml +9 -0
- data/installer/core/app/views/admin/meta_tags/_description.html.haml +13 -0
- data/installer/core/app/views/admin/meta_tags/_form.html.haml +57 -0
- data/installer/core/app/views/admin/meta_tags/_index_show.html.haml +26 -0
- data/installer/core/app/views/admin/meta_tags/_listing.html.haml +39 -0
- data/installer/core/app/views/admin/meta_tags/edit.html.haml +2 -0
- data/installer/core/app/views/admin/meta_tags/index.html.haml +80 -0
- data/installer/core/app/views/admin/meta_tags/new.html.haml +2 -0
- data/installer/core/app/views/admin/meta_tags/reload.js.haml +5 -0
- data/installer/core/app/views/admin/meta_tags/show.html.haml +29 -0
- data/installer/core/app/views/admin/meta_tags/show.js.haml +4 -0
- data/installer/core/app/views/admin/scripts/_description.html.haml +13 -0
- data/installer/core/app/views/admin/scripts/_form.html.haml +31 -0
- data/installer/core/app/views/admin/scripts/_index_show.html.haml +26 -0
- data/installer/core/app/views/admin/scripts/_listing.html.haml +42 -0
- data/installer/core/app/views/admin/scripts/edit.html.haml +1 -0
- data/installer/core/app/views/admin/scripts/index.html.haml +82 -0
- data/installer/core/app/views/admin/scripts/new.html.haml +1 -0
- data/installer/core/app/views/admin/scripts/reload.js.haml +5 -0
- data/installer/core/app/views/admin/scripts/show.html.haml +29 -0
- data/installer/core/app/views/admin/scripts/show.js.haml +4 -0
- data/installer/core/app/views/admin/settings/_form.html.haml +9 -0
- data/installer/core/app/views/admin/settings/components/_preview.html.haml +30 -0
- data/installer/core/app/views/admin/settings/edit.html.haml +4 -0
- data/installer/core/app/views/admin/settings/fields/_appearance.html.haml +62 -0
- data/installer/core/app/views/admin/settings/fields/_basic_information.html.haml +48 -0
- data/installer/core/app/views/admin/settings/fields/_email_setting.html.haml +17 -0
- data/installer/core/app/views/admin/settings/fields/_google_analytics_setting.html.haml +28 -0
- data/installer/core/app/views/admin/settings/fields/_social_accounts.html.haml +42 -0
- data/installer/core/app/views/admin/users/_description.html.haml +13 -0
- data/installer/core/app/views/admin/users/_form.html.haml +59 -0
- data/installer/core/app/views/admin/users/_index_show.html.haml +24 -0
- data/installer/core/app/views/admin/users/_listing.html.haml +49 -0
- data/installer/core/app/views/admin/users/edit.html.haml +1 -0
- data/installer/core/app/views/admin/users/index.html.haml +72 -0
- data/installer/core/app/views/admin/users/new.html.haml +1 -0
- data/installer/core/app/views/admin/users/reload.js.haml +5 -0
- data/installer/core/app/views/admin/users/show.html.haml +36 -0
- data/installer/core/app/views/admin/users/show.js.haml +4 -0
- data/installer/core/app/views/app/front/index.html.haml +180 -0
- data/installer/core/app/views/app/layouts/_footer.html.haml +3 -0
- data/installer/core/app/views/app/layouts/_google_analytics.html.haml +14 -0
- data/installer/core/app/views/app/layouts/_head.html.haml +22 -0
- data/installer/core/app/views/app/layouts/_messages.html.haml +6 -0
- data/installer/core/app/views/app/layouts/_meta_tags.html.haml +9 -0
- data/installer/core/app/views/app/layouts/_navigation.html.haml +13 -0
- data/installer/core/app/views/app/layouts/_navigation_links.html.haml +6 -0
- data/installer/core/app/views/app/layouts/application.html.haml +10 -0
- data/installer/core/app/views/application_mailer/testing.html.haml +1 -0
- data/installer/core/app/views/devise/mailer/reset_password_instructions.html.haml +6 -0
- data/installer/core/app/views/devise/passwords/edit.html.haml +27 -0
- data/installer/core/app/views/devise/passwords/new.html.haml +22 -0
- data/installer/core/app/views/devise/registrations/edit.html.erb +48 -0
- data/installer/core/app/views/devise/registrations/new.html.erb +19 -0
- data/installer/core/app/views/devise/sessions/new.html.haml +30 -0
- data/installer/core/app/views/errors/internal_server_error.html.haml +7 -0
- data/installer/core/app/views/errors/not_authorized.html.haml +7 -0
- data/installer/core/app/views/errors/not_found.html.haml +7 -0
- data/installer/core/app/views/errors/unprocessable.html.haml +7 -0
- data/installer/core/app/views/kaminari/_first_page.html.haml +11 -0
- data/installer/core/app/views/kaminari/_gap.html.haml +8 -0
- data/installer/core/app/views/kaminari/_last_page.html.haml +11 -0
- data/installer/core/app/views/kaminari/_next_page.html.haml +11 -0
- data/installer/core/app/views/kaminari/_page.html.haml +10 -0
- data/installer/core/app/views/kaminari/_paginator.html.haml +18 -0
- data/installer/core/app/views/kaminari/_prev_page.html.haml +11 -0
- data/installer/core/app/views/keppler_ga_dashboard/dashboard/analytics.html.haml +600 -0
- data/installer/core/app/views/layouts/errors/_head.html.haml +3 -0
- data/installer/core/app/views/layouts/errors/application.html.haml +11 -0
- data/installer/core/app/views/layouts/mailers/mailer.html.haml +3 -0
- data/installer/core/app/views/layouts/mailers/mailer.text.haml +1 -0
- data/installer/core/app/views/layouts/templates/application.html.haml +1 -0
- data/installer/core/app/views/public_activity/layout/_create.html.haml +45 -0
- data/installer/core/app/views/public_activity/layout/_destroy.html.haml +15 -0
- data/installer/core/app/views/public_activity/layout/_update.html.haml +45 -0
- data/installer/core/app/views/public_activity/session/_create.html.haml +13 -0
- data/installer/core/app/views/public_activity/session/_destroy.html.haml +13 -0
- data/installer/core/app/views/templates/kaminari/_first_page.html.haml +9 -0
- data/installer/core/app/views/templates/kaminari/_gap.html.haml +8 -0
- data/installer/core/app/views/templates/kaminari/_last_page.html.haml +9 -0
- data/installer/core/app/views/templates/kaminari/_next_page.html.haml +9 -0
- data/installer/core/app/views/templates/kaminari/_page.html.haml +10 -0
- data/installer/core/app/views/templates/kaminari/_paginator.html.haml +18 -0
- data/installer/core/app/views/templates/kaminari/_prev_page.html.haml +9 -0
- data/installer/core/bin/bundle +3 -0
- data/installer/core/bin/rails +4 -0
- data/installer/core/bin/rake +4 -0
- data/installer/core/bin/setup +29 -0
- data/installer/core/bin/spring +15 -0
- data/installer/core/config.ru +4 -0
- data/installer/core/config/application.rb +46 -0
- data/installer/core/config/boot.rb +7 -0
- data/installer/core/config/database.yml +25 -0
- data/installer/core/config/environment.rb +10 -0
- data/installer/core/config/environments/development.rb +57 -0
- data/installer/core/config/environments/production.rb +105 -0
- data/installer/core/config/environments/test.rb +44 -0
- data/installer/core/config/gaAuth/gauth_key.p12 +0 -0
- data/installer/core/config/initializers/assets.rb +14 -0
- data/installer/core/config/initializers/cookies_serializer.rb +3 -0
- data/installer/core/config/initializers/date_formats.rb +2 -0
- data/installer/core/config/initializers/devise.rb +259 -0
- data/installer/core/config/initializers/filter_parameter_logging.rb +5 -0
- data/installer/core/config/initializers/inflections.rb +16 -0
- data/installer/core/config/initializers/keppler_configuration.rb +9 -0
- data/installer/core/config/initializers/mime_types.rb +6 -0
- data/installer/core/config/initializers/paginate_kaminari_configuration.rb +12 -0
- data/installer/core/config/initializers/rolify.rb +10 -0
- data/installer/core/config/initializers/route_traslator.rb +3 -0
- data/installer/core/config/initializers/session_store.rb +5 -0
- data/installer/core/config/initializers/simple_form.rb +170 -0
- data/installer/core/config/initializers/simple_form_bootstrap.rb +155 -0
- data/installer/core/config/initializers/time_formats.rb +2 -0
- data/installer/core/config/initializers/wrap_parameters.rb +15 -0
- data/installer/core/config/locales/devise.en.yml +61 -0
- data/installer/core/config/locales/devise.es.yml +62 -0
- data/installer/core/config/locales/en.yml +380 -0
- data/installer/core/config/locales/es.yml +420 -0
- data/installer/core/config/locales/routes.en.yml +4 -0
- data/installer/core/config/locales/routes.es.yml +5 -0
- data/installer/core/config/locales/simple_form.en.yml +45 -0
- data/installer/core/config/locales/simple_form.es.yml +95 -0
- data/installer/core/config/locales/social_share_button.es.yml +10 -0
- data/installer/core/config/menu.yml +53 -0
- data/installer/core/config/puma.rb +56 -0
- data/installer/core/config/routes.rb +94 -0
- data/installer/core/config/sitemap.rb +27 -0
- data/installer/core/config/spring.rb +6 -0
- data/installer/core/db/migrate/20140812203549_devise_create_users.rb +50 -0
- data/installer/core/db/migrate/20140812210925_rolify_create_roles.rb +19 -0
- data/installer/core/db/migrate/20151221173228_create_activities.rb +23 -0
- data/installer/core/db/migrate/20160122201215_create_settings.rb +15 -0
- data/installer/core/db/migrate/20160126141856_create_smtp_settings.rb +14 -0
- data/installer/core/db/migrate/20160128131802_create_scripts.rb +11 -0
- data/installer/core/db/migrate/20160128151351_create_google_analytics_settings.rb +12 -0
- data/installer/core/db/migrate/20160128193740_create_social_accounts.rb +25 -0
- data/installer/core/db/migrate/20160201134918_create_meta_tags.rb +13 -0
- data/installer/core/db/migrate/20160201210520_create_appearances.rb +11 -0
- data/installer/core/db/migrate/20170603145521_create_customizes.rb +10 -0
- data/installer/core/db/migrate/20171225023933_create_scaffolds.rb +10 -0
- data/installer/core/db/schema.rb +172 -0
- data/installer/core/db/seeds.rb +45 -0
- data/installer/core/lib/generators/keppler_front/keppler_front_generator.rb +139 -0
- data/installer/core/lib/generators/keppler_front/templates/controllers/controller.rb +17 -0
- data/installer/core/lib/generators/keppler_front/templates/views/template.html.haml +180 -0
- data/installer/core/lib/generators/keppler_relation/keppler_relation_generator.rb +219 -0
- data/installer/core/lib/generators/keppler_scaffold/keppler_scaffold_generator.rb +240 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/controllers/controller.rb +143 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/models/model.rb +41 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/policies/policy.rb +9 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/_description.html.haml +13 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/_form.html.haml +60 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/_index_show.html.haml +24 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/_listing.html.haml +64 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/edit.html.haml +1 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/index.html.haml +97 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/new.html.haml +1 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/reload.js.haml +5 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/show.html.haml +65 -0
- data/installer/core/lib/generators/keppler_scaffold/templates/views/show.js.haml +4 -0
- data/installer/core/lib/keppler_configuration.rb +12 -0
- data/installer/core/lib/templates/haml/scaffold/_form.html.haml +10 -0
- data/installer/core/plugins/keppler_ga_dashboard/Gemfile +15 -0
- data/installer/core/plugins/keppler_ga_dashboard/MIT-LICENSE +20 -0
- data/installer/core/plugins/keppler_ga_dashboard/README.md +51 -0
- data/installer/core/plugins/keppler_ga_dashboard/Rakefile +37 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/assets/javascripts/keppler_ga_dashboard/active-users.js +64 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/assets/javascripts/keppler_ga_dashboard/active-users.js.map +1 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/assets/javascripts/keppler_ga_dashboard/dashboard.coffee +13 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/assets/javascripts/keppler_ga_dashboard/date-range-selector.js +2 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/assets/javascripts/keppler_ga_dashboard/date-range-selector.js.map +1 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/assets/javascripts/keppler_ga_dashboard/view-selector2.js +196 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/assets/javascripts/keppler_ga_dashboard/view-selector2.js.map +1 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/assets/stylesheets/dashboard.scss +83 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/controllers/keppler_ga_dashboard/dashboard_controller.rb +48 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/application_helper.rb +4 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/dashboard_helper.rb +14 -0
- data/installer/core/plugins/keppler_ga_dashboard/app/views/keppler_ga_dashboard/dashboard/analytics.html.haml +359 -0
- data/installer/core/plugins/keppler_ga_dashboard/bin/rails +12 -0
- data/installer/core/plugins/keppler_ga_dashboard/config/menu.yml +6 -0
- data/installer/core/plugins/keppler_ga_dashboard/config/routes.rb +3 -0
- data/installer/core/plugins/keppler_ga_dashboard/keppler_ga_dashboard.gemspec +22 -0
- data/installer/core/plugins/keppler_ga_dashboard/lib/keppler_ga_dashboard.rb +10 -0
- data/installer/core/plugins/keppler_ga_dashboard/lib/keppler_ga_dashboard/engine.rb +5 -0
- data/installer/core/plugins/keppler_ga_dashboard/lib/keppler_ga_dashboard/tasks/install.rb +58 -0
- data/installer/core/plugins/keppler_ga_dashboard/lib/keppler_ga_dashboard/version.rb +3 -0
- data/installer/core/plugins/keppler_ga_dashboard/lib/tasks/keppler_ga_dashboard_tasks.rake +13 -0
- data/installer/core/public/favicon.ico +0 -0
- data/installer/core/public/humans.txt +20 -0
- data/installer/core/public/robots.txt +5 -0
- data/installer/core/test/controllers/admin_controller_test.rb +11 -0
- data/installer/core/test/controllers/errors_controller_test.rb +24 -0
- data/installer/core/test/controllers/frontend_controller_test.rb +9 -0
- data/installer/core/test/controllers/fronts_controller_test.rb +49 -0
- data/installer/core/test/controllers/meta_tags_controller_test.rb +49 -0
- data/installer/core/test/controllers/scaffolds_controller_test.rb +49 -0
- data/installer/core/test/controllers/scripts_controller_test.rb +49 -0
- data/installer/core/test/controllers/settings_controller_test.rb +49 -0
- data/installer/core/test/controllers/users_controller_test.rb +18 -0
- data/installer/core/test/fixtures/appearances.yml +11 -0
- data/installer/core/test/fixtures/caches.yml +7 -0
- data/installer/core/test/fixtures/fronts.yml +7 -0
- data/installer/core/test/fixtures/google_adwords.yml +13 -0
- data/installer/core/test/fixtures/google_analytics_settings.yml +13 -0
- data/installer/core/test/fixtures/meta_tags.yml +13 -0
- data/installer/core/test/fixtures/roles.yml +11 -0
- data/installer/core/test/fixtures/scaffolds.yml +9 -0
- data/installer/core/test/fixtures/scripts.yml +11 -0
- data/installer/core/test/fixtures/settings.yml +13 -0
- data/installer/core/test/fixtures/smtp_settings.yml +17 -0
- data/installer/core/test/fixtures/social_accounts.yml +39 -0
- data/installer/core/test/fixtures/users.yml +10 -0
- data/installer/core/test/helpers/admin_helper_test.rb +4 -0
- data/installer/core/test/helpers/frontend_helper_test.rb +4 -0
- data/installer/core/test/mailers/application_mailer_test.rb +7 -0
- data/installer/core/test/mailers/previews/application_mailer_preview.rb +4 -0
- data/installer/core/test/models/apparence_test.rb +7 -0
- data/installer/core/test/models/cache_test.rb +7 -0
- data/installer/core/test/models/front_test.rb +7 -0
- data/installer/core/test/models/google_analytics_setting_test.rb +7 -0
- data/installer/core/test/models/meta_tag_test.rb +7 -0
- data/installer/core/test/models/role_test.rb +7 -0
- data/installer/core/test/models/scaffold_test.rb +7 -0
- data/installer/core/test/models/script_test.rb +7 -0
- data/installer/core/test/models/setting_test.rb +7 -0
- data/installer/core/test/models/smtp_setting_test.rb +7 -0
- data/installer/core/test/models/social_account_test.rb +7 -0
- data/installer/core/test/models/user_test.rb +7 -0
- data/installer/core/test/test_helper.rb +16 -0
- data/installer/core/vendor/assets/javascripts/bounce.min.js +5 -0
- data/installer/db_conf/conf.yml +50 -0
- data/installer/lib/conf.rb +31 -0
- data/installer/lib/scaffold.rb +10 -0
- data/installer/run.sh +19 -0
- data/installer/scripts/bin.sh +61 -0
- data/lib/keppler.rb +7 -0
- data/lib/keppler/cli.rb +12 -0
- data/lib/keppler/cli/generate.rb +19 -0
- data/lib/keppler/version.rb +3 -0
- metadata +497 -0
@@ -0,0 +1,220 @@
|
|
1
|
+
#search {
|
2
|
+
margin: 8px 0;
|
3
|
+
float: left;
|
4
|
+
width: 0;
|
5
|
+
animation: .5s ease-out 1s grow_width_40 forwards;
|
6
|
+
transition: .3s ease-in-out;
|
7
|
+
@include respond-to(xs) {
|
8
|
+
animation: none;
|
9
|
+
}
|
10
|
+
@include respond-to(sm) {
|
11
|
+
animation: none;
|
12
|
+
}
|
13
|
+
.input-group {
|
14
|
+
.search-bar {
|
15
|
+
border-color: #d2d6de;
|
16
|
+
padding: 0;
|
17
|
+
animation: .5s cubic-bezier(0.4, 0, 0.2, 1) 1s change_input forwards;
|
18
|
+
transition: .3s ease-in-out;
|
19
|
+
&:focus {
|
20
|
+
border-color: $keppler-color;
|
21
|
+
transition: .3s ease-in-out;
|
22
|
+
}
|
23
|
+
@include respond-to(xs) {
|
24
|
+
animation: none;
|
25
|
+
}
|
26
|
+
@include respond-to(sm) {
|
27
|
+
animation: none;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
.input-group-btn {
|
31
|
+
.search-button {
|
32
|
+
background-color: transparent;
|
33
|
+
animation: .3s ease-in-out .5s change_button forwards;
|
34
|
+
transition: .3s ease-in-out;
|
35
|
+
&:active {
|
36
|
+
box-shadow: none;
|
37
|
+
outline: none;
|
38
|
+
}
|
39
|
+
@include respond-to(xs) {
|
40
|
+
border-radius: 1px;
|
41
|
+
animation: none;
|
42
|
+
}
|
43
|
+
@include respond-to(sm) {
|
44
|
+
border-radius: 1px;
|
45
|
+
animation: none;
|
46
|
+
}
|
47
|
+
.search-icon {
|
48
|
+
color: $keppler-color;
|
49
|
+
animation: .3s ease-in-out .5s change_color forwards;
|
50
|
+
transition: .3s ease-in-out;
|
51
|
+
@include respond-to(xs) {
|
52
|
+
animation: none;
|
53
|
+
}
|
54
|
+
@include respond-to(sm) {
|
55
|
+
animation: none;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.hide-search {
|
64
|
+
display: inline-table;
|
65
|
+
height: 34px;
|
66
|
+
width: 34px;
|
67
|
+
padding: 5px;
|
68
|
+
margin: 8px;
|
69
|
+
color: #999;
|
70
|
+
opacity: 0;
|
71
|
+
border-radius: 50%;
|
72
|
+
cursor: pointer;
|
73
|
+
transition: .3s 0 ease-in-out;
|
74
|
+
&:hover {
|
75
|
+
background: #eee;
|
76
|
+
border-radius: 1px;
|
77
|
+
transition: .3s 0 ease-in-out;
|
78
|
+
}
|
79
|
+
i {
|
80
|
+
display: table-cell;
|
81
|
+
text-align: center;
|
82
|
+
padding: 0;
|
83
|
+
vertical-align: middle;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
.hide-search.appear {
|
88
|
+
opacity: 1;
|
89
|
+
transition: .3s .5s ease-in-out;
|
90
|
+
}
|
91
|
+
|
92
|
+
.navbar-nav.translate {
|
93
|
+
transform: translateX(100%);
|
94
|
+
transition: .2s .5s ease-in-out;
|
95
|
+
}
|
96
|
+
|
97
|
+
#search.display-search {
|
98
|
+
animation: .5s ease-in-out .5s grow_width_70 forwards;
|
99
|
+
.input-group {
|
100
|
+
.search-bar {
|
101
|
+
animation: .5s cubic-bezier(0.4, 0, 0.2, 1) .5s change_input forwards;
|
102
|
+
}
|
103
|
+
.input-group-btn {
|
104
|
+
.search-button {
|
105
|
+
animation: .3s ease-in-out change_button forwards;
|
106
|
+
.search-icon {
|
107
|
+
animation: .3s ease-in-out change_color forwards;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
#search.hidding-search {
|
115
|
+
animation: .3s ease-out .5s width_down forwards;
|
116
|
+
width: 70%;
|
117
|
+
.input-group {
|
118
|
+
.search-bar {
|
119
|
+
animation: .5s cubic-bezier(0.4, 0, 0.2, 1) .5s hide_input forwards;
|
120
|
+
padding: 6px 12px;
|
121
|
+
}
|
122
|
+
.input-group-btn {
|
123
|
+
.search-button {
|
124
|
+
animation: .3s ease-in-out hide_button forwards;
|
125
|
+
.search-icon {
|
126
|
+
animation: .3s ease-in-out hide_color forwards;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
@keyframes change_input {
|
134
|
+
from {
|
135
|
+
padding: 6px 0;
|
136
|
+
}
|
137
|
+
to {
|
138
|
+
padding: 6px 12px;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
@keyframes grow_width_40 {
|
143
|
+
from {
|
144
|
+
width: 0;
|
145
|
+
}
|
146
|
+
to {
|
147
|
+
width: 40%;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
@keyframes grow_width_70 {
|
152
|
+
from {
|
153
|
+
width: 0;
|
154
|
+
}
|
155
|
+
to {
|
156
|
+
width: 70%;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
@keyframes change_button {
|
161
|
+
from {
|
162
|
+
background-color: transparent;
|
163
|
+
padding: 6px 9px;
|
164
|
+
border-radius: 50%;
|
165
|
+
}
|
166
|
+
to {
|
167
|
+
background-color: $keppler-color;
|
168
|
+
padding: 6px 12px;
|
169
|
+
border-radius: 1px;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
|
173
|
+
@keyframes change_color {
|
174
|
+
from {
|
175
|
+
color: $keppler-color;
|
176
|
+
}
|
177
|
+
to {
|
178
|
+
color: #fff;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
@keyframes hide_input {
|
183
|
+
from {
|
184
|
+
padding: 6px 12px;
|
185
|
+
}
|
186
|
+
to {
|
187
|
+
padding: 6px 0;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
@keyframes width_down {
|
192
|
+
from {
|
193
|
+
width: 70%;
|
194
|
+
}
|
195
|
+
to {
|
196
|
+
width: 0;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
|
200
|
+
@keyframes hide_button {
|
201
|
+
from {
|
202
|
+
background-color: $keppler-color;
|
203
|
+
padding: 6px 12px;
|
204
|
+
border-radius: 1px;
|
205
|
+
}
|
206
|
+
to {
|
207
|
+
background-color: transparent;
|
208
|
+
padding: 6px 9px;
|
209
|
+
border-radius: 50%;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
@keyframes hide_color {
|
214
|
+
from {
|
215
|
+
color: #fff;
|
216
|
+
}
|
217
|
+
to {
|
218
|
+
color: $keppler-color;
|
219
|
+
}
|
220
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
.new-message {
|
2
|
+
position: absolute;
|
3
|
+
right: 15%;
|
4
|
+
z-index: 1;
|
5
|
+
margin-top: -45px;
|
6
|
+
}
|
7
|
+
|
8
|
+
body{
|
9
|
+
.side-img-profile{
|
10
|
+
@extend %circle-img;
|
11
|
+
vertical-align: middle;
|
12
|
+
width: 45px;
|
13
|
+
height: 45px;
|
14
|
+
transition: .2s;
|
15
|
+
}
|
16
|
+
#sidebar-footer{
|
17
|
+
width: 100%;
|
18
|
+
padding: 10px;
|
19
|
+
position: relative;
|
20
|
+
bottom: 0px;
|
21
|
+
opacity: .1;
|
22
|
+
transition: .2s;
|
23
|
+
.brand img {
|
24
|
+
height: 25px;
|
25
|
+
margin: 0 10px;
|
26
|
+
}
|
27
|
+
span{
|
28
|
+
color: #fff !important;
|
29
|
+
font-family: Patua One;
|
30
|
+
top: 10px;
|
31
|
+
position: absolute;
|
32
|
+
right: 0;
|
33
|
+
margin: 0 20px;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
::-webkit-scrollbar{
|
38
|
+
display: none
|
39
|
+
}
|
40
|
+
&.sidebar-collapse{
|
41
|
+
.user-panel{
|
42
|
+
padding: {
|
43
|
+
left: 4px;
|
44
|
+
right: 2px;
|
45
|
+
}
|
46
|
+
transition: .2s;
|
47
|
+
.side-img-profile{
|
48
|
+
width: 40px;
|
49
|
+
height: 40px;
|
50
|
+
transition: .2s;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
.main-sidebar{
|
55
|
+
#sidebar-footer{
|
56
|
+
padding: 4px;
|
57
|
+
transition: .2s;
|
58
|
+
.pull-right{
|
59
|
+
display: none;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
.switch > input[type="checkbox"] {
|
2
|
+
display: none;
|
3
|
+
}
|
4
|
+
|
5
|
+
.switch > label {
|
6
|
+
cursor: pointer;
|
7
|
+
height: 0px;
|
8
|
+
position: relative;
|
9
|
+
width: 40px;
|
10
|
+
}
|
11
|
+
|
12
|
+
.switch > label::before {
|
13
|
+
background: rgb(0, 0, 0);
|
14
|
+
box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
|
15
|
+
border-radius: 8px;
|
16
|
+
content: '';
|
17
|
+
height: 16px;
|
18
|
+
margin-top: -8px;
|
19
|
+
position:absolute;
|
20
|
+
opacity: 0.3;
|
21
|
+
transition: all 0.4s ease-in-out;
|
22
|
+
width: 40px;
|
23
|
+
}
|
24
|
+
|
25
|
+
.switch > label::after {
|
26
|
+
background: rgb(255, 255, 255);
|
27
|
+
border-radius: 16px;
|
28
|
+
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
|
29
|
+
content: '';
|
30
|
+
height: 24px;
|
31
|
+
left: -4px;
|
32
|
+
margin-top: -8px;
|
33
|
+
position: absolute;
|
34
|
+
top: -4px;
|
35
|
+
transition: all 0.3s ease-in-out;
|
36
|
+
width: 24px;
|
37
|
+
}
|
38
|
+
|
39
|
+
.switch > input[type="checkbox"]:checked + label::before {
|
40
|
+
background: inherit;
|
41
|
+
opacity: 0.5;
|
42
|
+
}
|
43
|
+
|
44
|
+
.switch > input[type="checkbox"]:checked + label::after {
|
45
|
+
background: $keppler-color;
|
46
|
+
left: 20px;
|
47
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
$themes: (
|
2
|
+
// [label, primary-color, darken-color, accent-color]
|
3
|
+
("keppler", $keppler-color, $keppler-darken, $keppler-accent),
|
4
|
+
("pink", $pink-color, $pink-darken, $pink-accent),
|
5
|
+
("cyan", $cyan-color, $cyan-darken, $cyan-accent),
|
6
|
+
("grey", $grey-color, $grey-darken, $grey-accent),
|
7
|
+
("amber", $amber-color, $amber-darken, $amber-accent),
|
8
|
+
("brown", $brown-color, $brown-darken, $brown-accent)
|
9
|
+
);
|
10
|
+
|
11
|
+
@each $label, $primary-color, $darken-color, $accent-color in $themes {
|
12
|
+
.#{$label}-theme {
|
13
|
+
.devise-box-header {
|
14
|
+
background: $primary-color !important;
|
15
|
+
}
|
16
|
+
|
17
|
+
.modal-header{
|
18
|
+
background: $primary-color;
|
19
|
+
}
|
20
|
+
|
21
|
+
nav,
|
22
|
+
.header-information {
|
23
|
+
background: $primary-color;
|
24
|
+
}
|
25
|
+
|
26
|
+
.listing-show-header{
|
27
|
+
background: $darken-color;
|
28
|
+
}
|
29
|
+
|
30
|
+
.control-label.active {
|
31
|
+
color: $accent-color !important;
|
32
|
+
}
|
33
|
+
|
34
|
+
.btn-add,
|
35
|
+
.btn {
|
36
|
+
background: $accent-color;
|
37
|
+
}
|
38
|
+
|
39
|
+
.btn-white {
|
40
|
+
margin-right: 1rem;
|
41
|
+
background: #dedede;
|
42
|
+
color: $accent-color;
|
43
|
+
}
|
44
|
+
|
45
|
+
input[type=text]:focus:not([readonly]),
|
46
|
+
input[type=password]:focus:not([readonly]),
|
47
|
+
input[type=email]:focus:not([readonly]),
|
48
|
+
input[type=url]:focus:not([readonly]),
|
49
|
+
input[type=time]:focus:not([readonly]),
|
50
|
+
input[type=date]:focus:not([readonly]),
|
51
|
+
input[type=datetime-local]:focus:not([readonly]),
|
52
|
+
input[type=tel]:focus:not([readonly]),
|
53
|
+
input[type=number]:focus:not([readonly]),
|
54
|
+
input[type=search]:focus:not([readonly]),
|
55
|
+
textarea.materialize-textarea:focus:not([readonly]) {
|
56
|
+
border-bottom: 1px solid $accent-color;
|
57
|
+
box-shadow: 0 1px 0 0 $accent-color;
|
58
|
+
}
|
59
|
+
|
60
|
+
.checkbox_material [type="checkbox"]:checked + label:before {
|
61
|
+
border-bottom: 2px solid $accent-color;
|
62
|
+
border-right: 2px solid $accent-color;
|
63
|
+
}
|
64
|
+
|
65
|
+
[type="checkbox"].filled-in:checked + label:after {
|
66
|
+
background-color: $accent-color;
|
67
|
+
border: 2px solid $accent-color;
|
68
|
+
}
|
69
|
+
|
70
|
+
#nprogress .bar {
|
71
|
+
background: $accent-color;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
html,
|
2
|
+
body {
|
3
|
+
padding: 0;
|
4
|
+
margin: 0;
|
5
|
+
height: 100% !important;
|
6
|
+
}
|
7
|
+
|
8
|
+
html {
|
9
|
+
font-size: 10px;
|
10
|
+
}
|
11
|
+
|
12
|
+
body {
|
13
|
+
font-family: $font-primary;
|
14
|
+
font-size: 1.5rem;
|
15
|
+
}
|
16
|
+
a{
|
17
|
+
color: inherit;
|
18
|
+
&:hover{
|
19
|
+
color: inherit;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
a {
|
24
|
+
color: inherit;
|
25
|
+
&:hover {
|
26
|
+
color: inherit;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.container {
|
31
|
+
width: 100%;
|
32
|
+
}
|
33
|
+
|
34
|
+
.center {
|
35
|
+
display: flex;
|
36
|
+
align-items: center;
|
37
|
+
justify-content: center;
|
38
|
+
height: 100%;
|
39
|
+
}
|
40
|
+
|
41
|
+
.text-overflow {
|
42
|
+
overflow: hidden;
|
43
|
+
white-space: nowrap;
|
44
|
+
text-overflow: ellipsis;
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
.box-tools {
|
49
|
+
i {
|
50
|
+
padding: 0 5px;
|
51
|
+
font-size: 1.7rem;
|
52
|
+
color: #d2d2d2;
|
53
|
+
transition: all ease .3s;
|
54
|
+
cursor: pointer;
|
55
|
+
&:hover {
|
56
|
+
color: #555;
|
57
|
+
transition: all ease .3s;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
ol.breadcrumb{
|
62
|
+
@media screen and (min-width: 0) and (max-width: 991px) {
|
63
|
+
display: none;
|
64
|
+
}
|
65
|
+
|
66
|
+
}
|