keppler 2.1.17 → 2.1.18
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/Gemfile.lock +2 -2
- data/installer/core/.gitignore +88 -0
- data/installer/core/app/views/admin/layouts/_sidebar.html.haml +2 -2
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/app/frontend_controller.rb +0 -1
- data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/view.rb +1 -1
- data/installer/core/rockets/keppler_frontend/config/data/views.yml +1 -1
- data/lib/keppler/version.rb +1 -1
- data/testing-with-2.1.18/.gitignore +88 -0
- data/testing-with-2.1.18/.ruby-version +1 -0
- data/testing-with-2.1.18/Gemfile +149 -0
- data/testing-with-2.1.18/Gemfile.lock +645 -0
- data/testing-with-2.1.18/Guardfile +18 -0
- data/testing-with-2.1.18/LICENSE +674 -0
- data/testing-with-2.1.18/README.md +134 -0
- data/testing-with-2.1.18/Rakefile +6 -0
- data/testing-with-2.1.18/_config.yml +1 -0
- data/testing-with-2.1.18/app/assets/images/.keep +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/astronauta_keppler.svg +123 -0
- data/testing-with-2.1.18/app/assets/images/admin/avatar_keppler.svg +100 -0
- data/testing-with-2.1.18/app/assets/images/admin/en.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/es.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/favicon.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/image_default.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/logo.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/logo2.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/profile-menu.jpg +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/search.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/slice-icon-orange.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/slice-icon.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/slice.png +0 -0
- data/testing-with-2.1.18/app/assets/images/admin/slice_white.png +0 -0
- data/testing-with-2.1.18/app/assets/images/app/Cohete_nubes_new.png +0 -0
- data/testing-with-2.1.18/app/assets/images/app/Home_Keppler.png +0 -0
- data/testing-with-2.1.18/app/assets/images/app/Home_Keppler2.png +0 -0
- data/testing-with-2.1.18/app/assets/images/app/fondo.svg +19 -0
- data/testing-with-2.1.18/app/assets/images/app/keppler-front.png +0 -0
- data/testing-with-2.1.18/app/assets/images/app/slice-front.png +0 -0
- data/testing-with-2.1.18/app/assets/images/app/slice.png +0 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/application.coffee +25 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-colorpicker.js +1322 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/fileinput.js +4463 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/locales/LANG.js +100 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/locales/es.js +100 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/piexif.js +2471 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/piexif.min.js +1 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/purify.js +812 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/purify.min.js +1 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/sortable.js +1590 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/sortable.min.js +1 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/code_editor.js +94 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/comment/comment.js +209 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/comment/continuecomment.js +78 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/dialog/dialog.css +32 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/dialog/dialog.js +161 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/autorefresh.js +47 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/fullscreen.css +6 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/fullscreen.js +41 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/panel.js +123 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/placeholder.js +63 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/rulers.js +51 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/closebrackets.js +194 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/closetag.js +175 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/continuelist.js +89 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/matchbrackets.js +145 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/matchtags.js +66 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/trailingspace.js +27 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/brace-fold.js +105 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/comment-fold.js +59 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/foldcode.js +152 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/foldgutter.css +20 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/foldgutter.js +146 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/indent-fold.js +48 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/markdown-fold.js +49 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/xml-fold.js +184 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/anyword-hint.js +41 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/css-hint.js +60 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/html-hint.js +348 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/javascript-hint.js +157 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/show-hint.css +36 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/show-hint.js +433 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/sql-hint.js +299 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/xml-hint.js +110 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/mode/loadmode.js +64 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/mode/multiplex.js +131 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/mode/overlay.js +90 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/mode/simple.js +216 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/scroll/annotatescrollbar.js +122 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/scroll/scrollpastend.js +48 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/scroll/simplescrollbars.css +66 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/scroll/simplescrollbars.js +152 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/jump-to-line.js +49 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/match-highlighter.js +165 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/matchesonscrollbar.css +8 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/matchesonscrollbar.js +97 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/search.js +252 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/searchcursor.js +293 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/codemirror.js +9683 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/keymap/sublime.js +691 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/css.js +832 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/gss.html +103 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/index.html +75 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/less.html +152 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/scss.html +157 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/haml/haml.js +161 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/haml/index.html +79 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/htmlembedded/htmlembedded.js +37 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/htmlembedded/index.html +60 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/htmlmixed/htmlmixed.js +152 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/htmlmixed/index.html +100 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/javascript/index.html +114 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/javascript/javascript.js +896 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/javascript/json-ld.html +72 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/javascript/typescript.html +61 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/ruby/index.html +183 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/ruby/ruby.js +296 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/vue/index.html +69 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/vue/vue.js +77 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/xml/index.html +61 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/xml/xml.js +402 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/yaml-frontmatter/index.html +121 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/yaml-frontmatter/yaml-frontmatter.js +68 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/yaml/index.html +80 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/yaml/yaml.js +119 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/file_uploader.coffee +152 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/img_preview.js +32 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/jscolor.js +1855 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/main.coffee +58 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/notification.js +14 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/ruby_console.js +14 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/sidebar.js +24 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/sort.coffee +8 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/swal.js +39 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/sweetalert2/delete-confirm.js +118 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/sweetalert2/sweetalert2.all.min.js +2 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/switch.js +6 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/tooltips.coffee +4 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/upload_records.coffee +8 -0
- data/testing-with-2.1.18/app/assets/javascripts/app/application.js.coffee +9 -0
- data/testing-with-2.1.18/app/assets/javascripts/app/google_analytics.js.coffee +5 -0
- data/testing-with-2.1.18/app/assets/javascripts/ckeditor/config.js +130 -0
- data/testing-with-2.1.18/app/assets/javascripts/errors/application.js.coffee +1 -0
- data/testing-with-2.1.18/app/assets/javascripts/errors/errors.js +113 -0
- data/testing-with-2.1.18/app/assets/javascripts/vue_admin/index.js +111 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/application.scss +48 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/fileinput-rtl.scss +133 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/fileinput.scss +760 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/themes/explorer-fa/theme.scss +213 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/themes/explorer-fas/theme.scss +213 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/themes/explorer/theme.scss +213 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/comment/comment.js +209 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/comment/continuecomment.js +78 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/dialog/dialog.css +32 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/dialog/dialog.js +161 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/autorefresh.js +47 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/fullscreen.css +6 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/fullscreen.js +41 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/panel.js +123 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/placeholder.js +63 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/rulers.js +51 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/closebrackets.js +194 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/closetag.js +175 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/continuelist.js +89 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/matchbrackets.js +145 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/matchtags.js +66 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/trailingspace.js +27 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/brace-fold.js +105 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/comment-fold.js +59 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/foldcode.js +152 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/foldgutter.css +20 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/foldgutter.js +146 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/indent-fold.js +48 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/markdown-fold.js +49 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/xml-fold.js +184 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/anyword-hint.js +41 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/css-hint.js +60 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/html-hint.js +348 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/javascript-hint.js +157 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/show-hint.css +36 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/show-hint.js +433 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/sql-hint.js +299 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/xml-hint.js +110 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/scroll/annotatescrollbar.js +122 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/scroll/scrollpastend.js +48 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/scroll/simplescrollbars.css +66 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/scroll/simplescrollbars.js +152 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/jump-to-line.js +49 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/match-highlighter.js +165 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/matchesonscrollbar.css +8 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/matchesonscrollbar.js +97 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/search.js +252 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/searchcursor.js +293 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/codemirror.css +366 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/theme/monokai.css +41 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/layouts/_footer.scss +5 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/layouts/_settings.scss +51 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/navigation/_navbar.scss +187 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/navigation/_sidebar.scss +207 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/navigation/_turbolinks.scss +4 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/paginator/_paginator.scss +53 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/ZXuke1cDvLCKLDcimxB44_lu.woff2 +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/boxicons.css +2918 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts.css +8 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/Simple-Line-Icons.eot +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/Simple-Line-Icons.ttf +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/Simple-Line-Icons.woff +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/Simple-Line-Icons.woff2 +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.eot +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.svg +808 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.ttf +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.woff +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.woff2 +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/icons.css +778 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_appearance.scss +5 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_bootstrap-colorpicker.scss +269 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_customize.scss +22 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_datepicker.scss +1086 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_devise.scss +189 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_files.scss +229 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_form.scss +190 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_index.scss +466 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_listing.scss +40 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_preloader.scss +224 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_rockets.scss +13 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_roles.scss +3 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_search.scss +244 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_show.scss +23 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_switchs.scss +143 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_themes.scss +45 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_timepicker.scss +14 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_user.scss +6 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/utils/_base.scss +65 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/utils/_mixins.scss +26 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/utils/_theme.scss +124 -0
- data/testing-with-2.1.18/app/assets/stylesheets/admin/utils/_variables.scss +109 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/application.scss +30 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/base/_base_project.scss +17 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/base/_typography.scss +1 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/components/_buttons.scss +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/components/_inputs.scss +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/components/_navbar.scss +21 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/layout/_container.scss +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/layout/_footer.scss +15 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/layout/_header.scss +39 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/pages/_front.sass +83 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/plugins/_bootstrap_override.scss +37 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/plugins/_font_awesome.scss +2 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/plugins/_keppler.scss +161 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/plugins/_npogress.scss +2 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/utils/_mixins.scss +18 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/utils/_variables.scss +28 -0
- data/testing-with-2.1.18/app/assets/stylesheets/errors/application.scss +3 -0
- data/testing-with-2.1.18/app/assets/stylesheets/errors/errors.scss +161 -0
- data/testing-with-2.1.18/app/assets/stylesheets/vendor/admin-lte/_skin-blue.scss +141 -0
- data/testing-with-2.1.18/app/assets/stylesheets/vendor/sweetalert2/sweetalert2.scss +11 -0
- data/testing-with-2.1.18/app/controllers/admin/admin_controller.rb +95 -0
- data/testing-with-2.1.18/app/controllers/admin/meta_tags_controller.rb +118 -0
- data/testing-with-2.1.18/app/controllers/admin/permissions_controller.rb +55 -0
- data/testing-with-2.1.18/app/controllers/admin/rockets_controller.rb +95 -0
- data/testing-with-2.1.18/app/controllers/admin/roles_controller.rb +124 -0
- data/testing-with-2.1.18/app/controllers/admin/scripts_controller.rb +104 -0
- data/testing-with-2.1.18/app/controllers/admin/seos_controller.rb +31 -0
- data/testing-with-2.1.18/app/controllers/admin/settings_controller.rb +131 -0
- data/testing-with-2.1.18/app/controllers/admin/users_controller.rb +122 -0
- data/testing-with-2.1.18/app/controllers/app/app_controller.rb +38 -0
- data/testing-with-2.1.18/app/controllers/app/front_controller.rb +8 -0
- data/testing-with-2.1.18/app/controllers/application_controller.rb +151 -0
- data/testing-with-2.1.18/app/controllers/concerns/.keep +0 -0
- data/testing-with-2.1.18/app/controllers/concerns/devise_params.rb +33 -0
- data/testing-with-2.1.18/app/controllers/concerns/mailer_config.rb +37 -0
- data/testing-with-2.1.18/app/controllers/concerns/object_query.rb +50 -0
- data/testing-with-2.1.18/app/controllers/concerns/settings.rb +105 -0
- data/testing-with-2.1.18/app/controllers/devise/sessions_controller.rb +108 -0
- data/testing-with-2.1.18/app/controllers/errors_controller.rb +30 -0
- data/testing-with-2.1.18/app/helpers/admin_helper.rb +138 -0
- data/testing-with-2.1.18/app/helpers/application_helper.rb +33 -0
- data/testing-with-2.1.18/app/helpers/fronts_helper.rb +38 -0
- data/testing-with-2.1.18/app/helpers/rockets_helper.rb +8 -0
- data/testing-with-2.1.18/app/helpers/roles_helper.rb +5 -0
- data/testing-with-2.1.18/app/helpers/scaffolds_helper.rb +5 -0
- data/testing-with-2.1.18/app/inputs/keppler_boolean_input.rb +52 -0
- data/testing-with-2.1.18/app/inputs/keppler_file_input.rb +124 -0
- data/testing-with-2.1.18/app/mailers/.keep +0 -0
- data/testing-with-2.1.18/app/mailers/application_mailer.rb +42 -0
- data/testing-with-2.1.18/app/models/.keep +0 -0
- data/testing-with-2.1.18/app/models/appearance.rb +7 -0
- data/testing-with-2.1.18/app/models/application_record.rb +6 -0
- data/testing-with-2.1.18/app/models/concerns/.keep +0 -0
- data/testing-with-2.1.18/app/models/concerns/activity_history.rb +11 -0
- data/testing-with-2.1.18/app/models/concerns/clone_record.rb +14 -0
- data/testing-with-2.1.18/app/models/concerns/downloadable.rb +16 -0
- data/testing-with-2.1.18/app/models/concerns/searchable.rb +27 -0
- data/testing-with-2.1.18/app/models/concerns/sortable.rb +13 -0
- data/testing-with-2.1.18/app/models/concerns/uploadable.rb +13 -0
- data/testing-with-2.1.18/app/models/front.rb +5 -0
- data/testing-with-2.1.18/app/models/google_analytics_setting.rb +6 -0
- data/testing-with-2.1.18/app/models/meta_tag.rb +54 -0
- data/testing-with-2.1.18/app/models/permission.rb +6 -0
- data/testing-with-2.1.18/app/models/rocket.rb +105 -0
- data/testing-with-2.1.18/app/models/role.rb +134 -0
- data/testing-with-2.1.18/app/models/script.rb +21 -0
- data/testing-with-2.1.18/app/models/seo.rb +49 -0
- data/testing-with-2.1.18/app/models/setting.rb +19 -0
- data/testing-with-2.1.18/app/models/smtp_setting.rb +7 -0
- data/testing-with-2.1.18/app/models/social_account.rb +6 -0
- data/testing-with-2.1.18/app/models/user.rb +75 -0
- data/testing-with-2.1.18/app/policies/application_policy.rb +18 -0
- data/testing-with-2.1.18/app/policies/controller_policy.rb +59 -0
- data/testing-with-2.1.18/app/policies/meta_tag_policy.rb +11 -0
- data/testing-with-2.1.18/app/policies/permission_policy.rb +23 -0
- data/testing-with-2.1.18/app/policies/rocket_policy.rb +11 -0
- data/testing-with-2.1.18/app/policies/role_policy.rb +31 -0
- data/testing-with-2.1.18/app/policies/script_policy.rb +11 -0
- data/testing-with-2.1.18/app/policies/seo_policy.rb +23 -0
- data/testing-with-2.1.18/app/policies/setting_policy.rb +15 -0
- data/testing-with-2.1.18/app/policies/user_policy.rb +19 -0
- data/testing-with-2.1.18/app/services/admin/appearance_service.rb +49 -0
- data/testing-with-2.1.18/app/services/admin/git_handler.rb +28 -0
- data/testing-with-2.1.18/app/uploaders/attachment_uploader.rb +61 -0
- data/testing-with-2.1.18/app/uploaders/ckeditor_attachment_file_uploader.rb +38 -0
- data/testing-with-2.1.18/app/uploaders/ckeditor_picture_uploader.rb +49 -0
- data/testing-with-2.1.18/app/uploaders/template_uploader.rb +44 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_footer.html.haml +0 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_git_info.html.haml +13 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_head.html.haml +7 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_keppler_boolean_script.haml +12 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_listing_preloader.haml +4 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_messages.html.haml +4 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_navigation.html.haml +59 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_preloader.html.haml +14 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_sidebar.html.haml +83 -0
- data/testing-with-2.1.18/app/views/admin/layouts/application.html.haml +23 -0
- data/testing-with-2.1.18/app/views/admin/layouts/index/remote_messages.js.haml +9 -0
- data/testing-with-2.1.18/app/views/admin/meta_tags/_description.html.haml +13 -0
- data/testing-with-2.1.18/app/views/admin/meta_tags/_form.html.haml +35 -0
- data/testing-with-2.1.18/app/views/admin/meta_tags/_listing.html.haml +40 -0
- data/testing-with-2.1.18/app/views/admin/meta_tags/edit.html.haml +2 -0
- data/testing-with-2.1.18/app/views/admin/meta_tags/index.html.haml +69 -0
- data/testing-with-2.1.18/app/views/admin/meta_tags/new.html.haml +2 -0
- data/testing-with-2.1.18/app/views/admin/meta_tags/reload.js.haml +5 -0
- data/testing-with-2.1.18/app/views/admin/meta_tags/show.html.haml +28 -0
- data/testing-with-2.1.18/app/views/admin/permissions/_switch.html.haml +13 -0
- data/testing-with-2.1.18/app/views/admin/permissions/add.html.haml +95 -0
- data/testing-with-2.1.18/app/views/admin/permissions/create.html.haml +0 -0
- data/testing-with-2.1.18/app/views/admin/permissions/create.js.erb +2 -0
- data/testing-with-2.1.18/app/views/admin/permissions/show.js.erb +2 -0
- data/testing-with-2.1.18/app/views/admin/permissions/toggle_permissions.js.erb +6 -0
- data/testing-with-2.1.18/app/views/admin/rockets/_create_rocket.haml +61 -0
- data/testing-with-2.1.18/app/views/admin/rockets/_install_rocket.haml +28 -0
- data/testing-with-2.1.18/app/views/admin/rockets/rockets.haml +54 -0
- data/testing-with-2.1.18/app/views/admin/roles/_description.html.haml +13 -0
- data/testing-with-2.1.18/app/views/admin/roles/_form.html.haml +27 -0
- data/testing-with-2.1.18/app/views/admin/roles/_listing.html.haml +42 -0
- data/testing-with-2.1.18/app/views/admin/roles/_switch.html.haml +24 -0
- data/testing-with-2.1.18/app/views/admin/roles/edit.html.haml +1 -0
- data/testing-with-2.1.18/app/views/admin/roles/index.html.haml +64 -0
- data/testing-with-2.1.18/app/views/admin/roles/new.html.haml +1 -0
- data/testing-with-2.1.18/app/views/admin/roles/reload.js.haml +5 -0
- data/testing-with-2.1.18/app/views/admin/roles/show.html.haml +29 -0
- data/testing-with-2.1.18/app/views/admin/scripts/_description.html.haml +13 -0
- data/testing-with-2.1.18/app/views/admin/scripts/_form.html.haml +30 -0
- data/testing-with-2.1.18/app/views/admin/scripts/_listing.html.haml +40 -0
- data/testing-with-2.1.18/app/views/admin/scripts/edit.html.haml +1 -0
- data/testing-with-2.1.18/app/views/admin/scripts/index.html.haml +70 -0
- data/testing-with-2.1.18/app/views/admin/scripts/new.html.haml +1 -0
- data/testing-with-2.1.18/app/views/admin/scripts/reload.js.haml +5 -0
- data/testing-with-2.1.18/app/views/admin/scripts/show.html.haml +28 -0
- data/testing-with-2.1.18/app/views/admin/seos/robots.html.haml +35 -0
- data/testing-with-2.1.18/app/views/admin/seos/sitemap.html.haml +36 -0
- data/testing-with-2.1.18/app/views/admin/settings/_form.html.haml +10 -0
- data/testing-with-2.1.18/app/views/admin/settings/components/_preview.html.haml +30 -0
- data/testing-with-2.1.18/app/views/admin/settings/edit.html.haml +4 -0
- data/testing-with-2.1.18/app/views/admin/settings/fields/_appearance.html.haml +64 -0
- data/testing-with-2.1.18/app/views/admin/settings/fields/_basic_information.html.haml +40 -0
- data/testing-with-2.1.18/app/views/admin/settings/fields/_email_setting.html.haml +18 -0
- data/testing-with-2.1.18/app/views/admin/settings/fields/_google_analytics_setting.html.haml +21 -0
- data/testing-with-2.1.18/app/views/admin/settings/fields/_social_accounts.html.haml +43 -0
- data/testing-with-2.1.18/app/views/admin/users/_description.html.haml +13 -0
- data/testing-with-2.1.18/app/views/admin/users/_form.html.haml +45 -0
- data/testing-with-2.1.18/app/views/admin/users/_listing.html.haml +47 -0
- data/testing-with-2.1.18/app/views/admin/users/delete_avatar.js.haml +3 -0
- data/testing-with-2.1.18/app/views/admin/users/edit.html.haml +1 -0
- data/testing-with-2.1.18/app/views/admin/users/filter_by_role.js.erb +9 -0
- data/testing-with-2.1.18/app/views/admin/users/index.html.haml +69 -0
- data/testing-with-2.1.18/app/views/admin/users/new.html.haml +1 -0
- data/testing-with-2.1.18/app/views/admin/users/reload.js.haml +5 -0
- data/testing-with-2.1.18/app/views/admin/users/show.html.haml +34 -0
- data/testing-with-2.1.18/app/views/app/front/index.html.haml +223 -0
- data/testing-with-2.1.18/app/views/app/front/message.haml +1 -0
- data/testing-with-2.1.18/app/views/app/layouts/_footer.html.haml +3 -0
- data/testing-with-2.1.18/app/views/app/layouts/_google_analytics.html.haml +13 -0
- data/testing-with-2.1.18/app/views/app/layouts/_head.html.haml +15 -0
- data/testing-with-2.1.18/app/views/app/layouts/_messages.html.haml +6 -0
- data/testing-with-2.1.18/app/views/app/layouts/_meta_tags.html.haml +40 -0
- data/testing-with-2.1.18/app/views/app/layouts/_navigation.html.haml +13 -0
- data/testing-with-2.1.18/app/views/app/layouts/_navigation_links.html.haml +6 -0
- data/testing-with-2.1.18/app/views/app/layouts/application.html.haml +10 -0
- data/testing-with-2.1.18/app/views/application_mailer/testing.html.haml +1 -0
- data/testing-with-2.1.18/app/views/devise/confirmations/new.html.erb +16 -0
- data/testing-with-2.1.18/app/views/devise/mailer/reset_password_instructions.html.haml +6 -0
- data/testing-with-2.1.18/app/views/devise/passwords/edit.html.haml +31 -0
- data/testing-with-2.1.18/app/views/devise/passwords/new.html.haml +27 -0
- data/testing-with-2.1.18/app/views/devise/registrations/edit.html.erb +48 -0
- data/testing-with-2.1.18/app/views/devise/registrations/new.html.erb +19 -0
- data/testing-with-2.1.18/app/views/devise/sessions/new.html.haml +35 -0
- data/testing-with-2.1.18/app/views/devise/shared/_links.html.erb +21 -0
- data/testing-with-2.1.18/app/views/errors/internal_server_error.html.haml +50 -0
- data/testing-with-2.1.18/app/views/errors/not_authorized.html.haml +76 -0
- data/testing-with-2.1.18/app/views/errors/not_found.html.haml +101 -0
- data/testing-with-2.1.18/app/views/errors/unprocessable.html.haml +50 -0
- data/testing-with-2.1.18/app/views/kaminari/_first_page.html.haml +11 -0
- data/testing-with-2.1.18/app/views/kaminari/_gap.html.haml +8 -0
- data/testing-with-2.1.18/app/views/kaminari/_last_page.html.haml +11 -0
- data/testing-with-2.1.18/app/views/kaminari/_next_page.html.haml +11 -0
- data/testing-with-2.1.18/app/views/kaminari/_page.html.haml +10 -0
- data/testing-with-2.1.18/app/views/kaminari/_paginator.html.haml +18 -0
- data/testing-with-2.1.18/app/views/kaminari/_prev_page.html.haml +11 -0
- data/testing-with-2.1.18/app/views/layouts/errors/_head.html.haml +3 -0
- data/testing-with-2.1.18/app/views/layouts/errors/application.html.haml +11 -0
- data/testing-with-2.1.18/app/views/layouts/mailers/mailer.html.haml +3 -0
- data/testing-with-2.1.18/app/views/layouts/mailers/mailer.text.haml +1 -0
- data/testing-with-2.1.18/app/views/layouts/templates/application.html.haml +1 -0
- data/testing-with-2.1.18/app/views/public_activity/layout/_create.html.haml +44 -0
- data/testing-with-2.1.18/app/views/public_activity/layout/_destroy.html.haml +15 -0
- data/testing-with-2.1.18/app/views/public_activity/layout/_update.html.haml +44 -0
- data/testing-with-2.1.18/app/views/public_activity/session/_create.html.haml +13 -0
- data/testing-with-2.1.18/app/views/public_activity/session/_destroy.html.haml +13 -0
- data/testing-with-2.1.18/app/views/templates/kaminari/_first_page.html.haml +9 -0
- data/testing-with-2.1.18/app/views/templates/kaminari/_gap.html.haml +8 -0
- data/testing-with-2.1.18/app/views/templates/kaminari/_last_page.html.haml +9 -0
- data/testing-with-2.1.18/app/views/templates/kaminari/_next_page.html.haml +9 -0
- data/testing-with-2.1.18/app/views/templates/kaminari/_page.html.haml +10 -0
- data/testing-with-2.1.18/app/views/templates/kaminari/_paginator.html.haml +18 -0
- data/testing-with-2.1.18/app/views/templates/kaminari/_prev_page.html.haml +9 -0
- data/testing-with-2.1.18/bin/bundle +3 -0
- data/testing-with-2.1.18/bin/rails +4 -0
- data/testing-with-2.1.18/bin/rake +4 -0
- data/testing-with-2.1.18/bin/setup +29 -0
- data/testing-with-2.1.18/bin/spring +15 -0
- data/testing-with-2.1.18/bin/update +31 -0
- data/testing-with-2.1.18/bin/yarn +11 -0
- data/testing-with-2.1.18/config.ru +4 -0
- data/testing-with-2.1.18/config/application.rb +46 -0
- data/testing-with-2.1.18/config/attachments.yml +24 -0
- data/testing-with-2.1.18/config/boot.rb +7 -0
- data/testing-with-2.1.18/config/circleci/db_config.yml +51 -0
- data/testing-with-2.1.18/config/database.yml +25 -0
- data/testing-with-2.1.18/config/environment.rb +10 -0
- data/testing-with-2.1.18/config/environments/development.rb +61 -0
- data/testing-with-2.1.18/config/environments/production.rb +109 -0
- data/testing-with-2.1.18/config/environments/test.rb +45 -0
- data/testing-with-2.1.18/config/gaAuth/gauth_key.p12 +0 -0
- data/testing-with-2.1.18/config/initializers/assets.rb +14 -0
- data/testing-with-2.1.18/config/initializers/carrierwave.rb +12 -0
- data/testing-with-2.1.18/config/initializers/compression.rb +47 -0
- data/testing-with-2.1.18/config/initializers/cookies_serializer.rb +3 -0
- data/testing-with-2.1.18/config/initializers/date_formats.rb +2 -0
- data/testing-with-2.1.18/config/initializers/devise.rb +259 -0
- data/testing-with-2.1.18/config/initializers/filter_parameter_logging.rb +5 -0
- data/testing-with-2.1.18/config/initializers/inflections.rb +16 -0
- data/testing-with-2.1.18/config/initializers/keppler_configuration.rb +9 -0
- data/testing-with-2.1.18/config/initializers/mime_types.rb +6 -0
- data/testing-with-2.1.18/config/initializers/paginate_kaminari_configuration.rb +12 -0
- data/testing-with-2.1.18/config/initializers/ransack.rb +7 -0
- data/testing-with-2.1.18/config/initializers/rolify.rb +10 -0
- data/testing-with-2.1.18/config/initializers/route_traslator.rb +3 -0
- data/testing-with-2.1.18/config/initializers/session_store.rb +5 -0
- data/testing-with-2.1.18/config/initializers/simple_form.rb +170 -0
- data/testing-with-2.1.18/config/initializers/simple_form_bootstrap.rb +174 -0
- data/testing-with-2.1.18/config/initializers/simple_form_components.rb +61 -0
- data/testing-with-2.1.18/config/initializers/time_formats.rb +2 -0
- data/testing-with-2.1.18/config/initializers/wrap_parameters.rb +15 -0
- data/testing-with-2.1.18/config/jshint.yml +21 -0
- data/testing-with-2.1.18/config/locales/devise.en.yml +61 -0
- data/testing-with-2.1.18/config/locales/devise.es.yml +62 -0
- data/testing-with-2.1.18/config/locales/en.yml +477 -0
- data/testing-with-2.1.18/config/locales/es.yml +510 -0
- data/testing-with-2.1.18/config/locales/routes.en.yml +4 -0
- data/testing-with-2.1.18/config/locales/routes.es.yml +5 -0
- data/testing-with-2.1.18/config/locales/simple_form.en.yml +46 -0
- data/testing-with-2.1.18/config/locales/simple_form.es.yml +96 -0
- data/testing-with-2.1.18/config/locales/social_share_button.es.yml +10 -0
- data/testing-with-2.1.18/config/menu.yml +58 -0
- data/testing-with-2.1.18/config/permissions.yml +39 -0
- data/testing-with-2.1.18/config/puma.rb +56 -0
- data/testing-with-2.1.18/config/roles.yml +2 -0
- data/testing-with-2.1.18/config/routes.rb +191 -0
- data/testing-with-2.1.18/config/settings.yml +30 -0
- data/testing-with-2.1.18/config/sitemap.rb +30 -0
- data/testing-with-2.1.18/config/spring.rb +6 -0
- data/testing-with-2.1.18/db/migrate/20140812203549_devise_create_users.rb +50 -0
- data/testing-with-2.1.18/db/migrate/20140812210925_rolify_create_roles.rb +21 -0
- data/testing-with-2.1.18/db/migrate/20151221173228_create_activities.rb +23 -0
- data/testing-with-2.1.18/db/migrate/20160122201215_create_settings.rb +15 -0
- data/testing-with-2.1.18/db/migrate/20160126141856_create_smtp_settings.rb +15 -0
- data/testing-with-2.1.18/db/migrate/20160128131802_create_scripts.rb +12 -0
- data/testing-with-2.1.18/db/migrate/20160128151351_create_google_analytics_settings.rb +13 -0
- data/testing-with-2.1.18/db/migrate/20160128193740_create_social_accounts.rb +26 -0
- data/testing-with-2.1.18/db/migrate/20160201134918_create_meta_tags.rb +13 -0
- data/testing-with-2.1.18/db/migrate/20160201210520_create_appearances.rb +14 -0
- data/testing-with-2.1.18/db/migrate/20171225023933_create_scaffolds.rb +10 -0
- data/testing-with-2.1.18/db/migrate/20180503174351_create_permissions.rb +11 -0
- data/testing-with-2.1.18/db/migrate/20180717160308_create_keppler_frontend_views.keppler_frontend.rb +17 -0
- data/testing-with-2.1.18/db/migrate/20180730194655_create_keppler_frontend_themes.rb +13 -0
- data/testing-with-2.1.18/db/migrate/20180802184429_create_keppler_capsules_capsules.keppler_capsules.rb +13 -0
- data/testing-with-2.1.18/db/migrate/20180802184430_create_keppler_capsules_capsule_fields.keppler_capsules.rb +12 -0
- data/testing-with-2.1.18/db/migrate/20180806192023_create_keppler_capsules_capsule_validations.keppler_capsules.rb +13 -0
- data/testing-with-2.1.18/db/migrate/20180806203410_create_keppler_frontend_partials.keppler_frontend.rb +13 -0
- data/testing-with-2.1.18/db/migrate/20180807204310_create_keppler_capsules_capsule_associations.keppler_capsules.rb +13 -0
- data/testing-with-2.1.18/db/migrate/20180813160624_create_keppler_languages_languages.keppler_languages.rb +14 -0
- data/testing-with-2.1.18/db/migrate/20180813160625_create_keppler_languages_fields.keppler_languages.rb +14 -0
- data/testing-with-2.1.18/db/migrate/20180818073305_create_active_storage_tables.active_storage.rb +26 -0
- data/testing-with-2.1.18/db/migrate/20180827120841_create_keppler_frontend_callback_functions.keppler_frontend.rb +14 -0
- data/testing-with-2.1.18/db/migrate/20180827154329_create_keppler_frontend_view_callbacks.keppler_frontend.rb +12 -0
- data/testing-with-2.1.18/db/migrate/20180827154647_add_position_to_users_table.rb +5 -0
- data/testing-with-2.1.18/db/migrate/20180830153221_create_keppler_frontend_functions.keppler_frontend.rb +14 -0
- data/testing-with-2.1.18/db/migrate/20180830153222_create_keppler_frontend_parameters.keppler_frontend.rb +13 -0
- data/testing-with-2.1.18/db/migrate/20180904144238_create_seos.rb +11 -0
- data/testing-with-2.1.18/db/seeds.rb +162 -0
- data/testing-with-2.1.18/docs/diagrams/keppler_core/config +0 -0
- data/testing-with-2.1.18/docs/diagrams/keppler_frontend/editor/resources_editor.dia +0 -0
- data/testing-with-2.1.18/docs/diagrams/keppler_frontend/views/create_view.dia +0 -0
- data/testing-with-2.1.18/docs/diagrams/keppler_frontend/views/delete_view.dia +0 -0
- data/testing-with-2.1.18/docs/diagrams/keppler_frontend/views/delete_view.dia.autosave +0 -0
- data/testing-with-2.1.18/lib/generators/install_rocket/USAGE +44 -0
- data/testing-with-2.1.18/lib/generators/install_rocket/install_rocket_generator.rb +107 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/USAGE +5 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/keppler_add_module_generator.rb +324 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/controllers/controller.rb +106 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/models/model.rb +29 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/policies/policy.rb +11 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/_description.haml +13 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/_form.haml +49 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/_listing.haml +58 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/edit.haml +1 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/index.haml +70 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/new.haml +1 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/reload.js.haml +5 -0
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/show.haml +35 -0
- data/testing-with-2.1.18/lib/generators/keppler_delete_module/USAGE +5 -0
- data/testing-with-2.1.18/lib/generators/keppler_delete_module/keppler_delete_module_generator.rb +305 -0
- data/testing-with-2.1.18/lib/generators/keppler_front/keppler_front_generator.rb +139 -0
- data/testing-with-2.1.18/lib/generators/keppler_front/templates/controllers/controller.rb +17 -0
- data/testing-with-2.1.18/lib/generators/keppler_front/templates/views/template.html.haml +225 -0
- data/testing-with-2.1.18/lib/generators/keppler_relation/keppler_relation_generator.rb +219 -0
- data/testing-with-2.1.18/lib/generators/new_rocket/USAGE +44 -0
- data/testing-with-2.1.18/lib/generators/new_rocket/new_rocket_generator.rb +258 -0
- data/testing-with-2.1.18/lib/generators/uninstall_rocket/USAGE +32 -0
- data/testing-with-2.1.18/lib/generators/uninstall_rocket/uninstall_rocket_generator.rb +140 -0
- data/testing-with-2.1.18/lib/keppler_configuration.rb +12 -0
- data/testing-with-2.1.18/lib/plugins/config/locales/en.yml +16 -0
- data/testing-with-2.1.18/lib/plugins/config/locales/es.yml +16 -0
- data/testing-with-2.1.18/lib/plugins/config/menu.yml +16 -0
- data/testing-with-2.1.18/lib/plugins/config/permissions.yml +1 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/keppler_scaffold_generator.rb +223 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/controllers/controller.rb +107 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/models/model.rb +29 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/policies/policy.rb +14 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/_description.haml +13 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/_form.haml +49 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/_listing.haml +58 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/edit.haml +1 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/index.haml +69 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/new.haml +1 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/reload.js.haml +5 -0
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/show.haml +35 -0
- data/testing-with-2.1.18/lib/plugins/install.rb +151 -0
- data/testing-with-2.1.18/lib/plugins/layouts/application.html.haml +23 -0
- data/testing-with-2.1.18/lib/templates/haml/scaffold/_form.html.haml +10 -0
- metadata +564 -3
- data/installer/core/.sass-cache/c3e12133096533fa0f5c2d91446553934f6099d2/(__TEMPLATE__)c +0 -0
@@ -0,0 +1,5 @@
|
|
1
|
+
$('.objects-container').html("#{j render 'listing', objects: @objects}");
|
2
|
+
$('.objects-container').css('opacity', '0');
|
3
|
+
$('.spinner2').css('display', 'block');
|
4
|
+
var request = $.ajax({url: '/admin/meta_tags', method: 'get', dataType: 'html'});
|
5
|
+
request.done(function(msg){$('.spinner2').css('display', 'none');$('.objects-container').css('opacity', '1');});
|
@@ -0,0 +1,28 @@
|
|
1
|
+
.container
|
2
|
+
.row
|
3
|
+
.col-lg-2
|
4
|
+
= link_to admin_meta_tags_path, 'data-position' => 'bottom', 'data-tooltip' => t('keppler.actions.back') do
|
5
|
+
.arrow-back.btn.btn-default
|
6
|
+
%i.icon-arrow-left
|
7
|
+
= t('keppler.actions.back')
|
8
|
+
.clearfix
|
9
|
+
.show-section
|
10
|
+
.row
|
11
|
+
.col-lg-12
|
12
|
+
.box.slice-box.p-15
|
13
|
+
.box-header.with-border
|
14
|
+
%h3.box-title= t 'keppler.sidebar-menu.seo-submenu.title-metas'
|
15
|
+
.box-tools.pull-right
|
16
|
+
- if can?(MetaTag).update?
|
17
|
+
= link_to edit_admin_meta_tag_path(@meta_tag), class: 'btn btn-box-tool', title: t('keppler.actions.edit') do
|
18
|
+
%i.icon-pencil
|
19
|
+
- if can?(MetaTag).destroy?
|
20
|
+
= link_to admin_meta_tag_path(@meta_tag), class: 'btn btn-box-tool', title: t('keppler.actions.delete'), method: :delete, data: { confirm: t('keppler.messages.data_confirm') } do
|
21
|
+
%i.icon-trash
|
22
|
+
.box-body.box-body-no-padding
|
23
|
+
%table.table
|
24
|
+
%tbody
|
25
|
+
- @meta_tag.as_json(only: %w[id title description meta_tags url created_at]).each do |attribute, value|
|
26
|
+
%tr.list-row
|
27
|
+
%th.display-label= t("activerecord.attributes.#{attribute}")
|
28
|
+
%td.display-value.fs-body-1.tc-black-2= value
|
@@ -0,0 +1,13 @@
|
|
1
|
+
= simple_form_for role, url: admin_role_toggle_permissions_path(role), method: :post, remote: true do
|
2
|
+
%label.switch-box{ style: 'padding-top: 5px; padding-right: 0px' }
|
3
|
+
%label.switch
|
4
|
+
%input{ name: 'role[module]', type: 'hidden', value: module_name }
|
5
|
+
- actions.each do |action|
|
6
|
+
%input{ name: 'role[actions][]', type: 'hidden', value: action }
|
7
|
+
%input{ id: "all-#{module_name.split('::').join('')}", type: 'checkbox', class: ('active' if role.all_actions?(module_name, actions)) }
|
8
|
+
%span.slider.round{ onclick: "send('#{module_name}', '#{actions}')" }
|
9
|
+
|
10
|
+
:javascript
|
11
|
+
function send(module_name, actions) {
|
12
|
+
$('#all-'+module_name.split('::').join('')).parent().parent().parent().submit()
|
13
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
.container
|
2
|
+
.row
|
3
|
+
.col-lg-2
|
4
|
+
= link_to admin_roles_path, 'data-position' => 'bottom', 'data-tooltip' => t('keppler.actions.back') do
|
5
|
+
.arrow-back.btn.btn-default
|
6
|
+
%i.icon-arrow-left
|
7
|
+
= t('keppler.actions.back')
|
8
|
+
.row
|
9
|
+
.col-lg-12
|
10
|
+
%section.content-header.index-header
|
11
|
+
%h1{ style: 'display: inline-block; margin-left: 15px' }
|
12
|
+
Role:
|
13
|
+
= @role.name
|
14
|
+
.col-lg-6
|
15
|
+
- @modules&.each do |module_name|
|
16
|
+
- module_name&.each do |key|
|
17
|
+
- unless module_name[key.first]['name'].eql?('dashboard')
|
18
|
+
.col-lg-12
|
19
|
+
.box.slice-box.collapsed-box
|
20
|
+
.box-header.with-border
|
21
|
+
.pull-left
|
22
|
+
%h4.box-title= t("keppler.sidebar-menu.#{module_name[key.first]['name'].downcase}")
|
23
|
+
.box-tools
|
24
|
+
.pull-left
|
25
|
+
.switch-div{ id: "switch-container-#{module_name[key.first]['model']}" }
|
26
|
+
= render 'admin/permissions/switch', role: @role, module_name: module_name[key.first]['model'], actions: module_name[key.first]['actions']
|
27
|
+
.pull-right
|
28
|
+
%a.btn.btn-box-tool{ 'data-widget' => 'collapse', type: 'button' }
|
29
|
+
%i.fa.fa-plus
|
30
|
+
.box-body{ style: 'padding: 0 !important' }
|
31
|
+
%table.table
|
32
|
+
%tbody
|
33
|
+
- module_name[key.first]['actions'].each do |action|
|
34
|
+
%tr
|
35
|
+
%td.row-selectable.table-data
|
36
|
+
= link_to admin_role_show_description_path(@role, module_name[key.first]['name'].split('::').join(''), action), method: :post, remote: true do
|
37
|
+
.pull-left
|
38
|
+
%span= t("keppler.permissions.#{action}")
|
39
|
+
.pull-right.switch-div
|
40
|
+
= render 'admin/roles/switch', role: @role, module_name: module_name[key.first]['model'], action: action, actions: module_name[key.first]['actions']
|
41
|
+
|
42
|
+
|
43
|
+
- module_name&.dig(key.first, 'childrens')&.each do |children|
|
44
|
+
- children.each do |ky|
|
45
|
+
.box.slice-box.collapsed-box{ style: 'padding-right: 0 !important' }
|
46
|
+
.box-header.with-border
|
47
|
+
%h4.box-title= t("keppler.sidebar-menu.#{children[ky.first]['name'].parameterize.pluralize}")
|
48
|
+
.box-tools
|
49
|
+
.pull-left
|
50
|
+
.switch-div{ id: "switch-container-#{children[ky.first]['model']}" }
|
51
|
+
= render 'admin/permissions/switch', role: @role, module_name: children[ky.first]['model'], actions: children[ky.first]['actions']
|
52
|
+
.pull-right
|
53
|
+
%a.btn.btn-box-tool{ 'data-widget' => 'collapse', type: 'button' }
|
54
|
+
%i.fa.fa-plus
|
55
|
+
.box-body{ style: 'padding: 0 !important' }
|
56
|
+
%table.table.table-bordered
|
57
|
+
%tbody
|
58
|
+
- children[ky.first]['actions'].each do |action|
|
59
|
+
%tr
|
60
|
+
%td.row-selectable.table-data{ style: 'padding-left: 20px' }
|
61
|
+
= link_to admin_role_show_description_path(@role, children[ky.first]['model'].split('::').join(''), action), method: :post, remote: true do
|
62
|
+
.pull-left
|
63
|
+
%h4= t("keppler.permissions.#{action}")
|
64
|
+
.pull-right.switch-div
|
65
|
+
= render 'admin/roles/switch', role: @role, module_name: children[ky.first]['model'], action: action, actions: children[ky.first]['actions']
|
66
|
+
|
67
|
+
.col-lg-6.hidden-xs
|
68
|
+
%div{ style: 'width: 43%; height: 100%; position: fixed; right: 0px' }
|
69
|
+
.col-lg-12
|
70
|
+
.box.slice-box
|
71
|
+
.box-header.with-border
|
72
|
+
%h4.box-title= t('activerecord.attributes.description')
|
73
|
+
|
74
|
+
.box-body
|
75
|
+
%table.table.table-bordered
|
76
|
+
%tbody
|
77
|
+
#description-list
|
78
|
+
- @modules.each do |module_name|
|
79
|
+
- module_name.each do |key|
|
80
|
+
- unless module_name[key.first]['name'].eql?('dashboard')
|
81
|
+
- module_name[key.first]['actions'].each do |action|
|
82
|
+
.no-visible{ id: "description-#{module_name[key.first]['name'].split('::').join('')}-#{action}" }
|
83
|
+
%h5
|
84
|
+
%strong Modulo:
|
85
|
+
= module_name[key.first]['name'].pluralize
|
86
|
+
%h5
|
87
|
+
%strong Acción:
|
88
|
+
= t("keppler.permissions.#{action}").camelize
|
89
|
+
%hr
|
90
|
+
%h5= t("keppler.permissions.descriptions.#{action}")
|
91
|
+
|
92
|
+
:scss
|
93
|
+
.no-visible {
|
94
|
+
display: none !important;
|
95
|
+
}
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
$("#all-<%= @module.split('::').join('') %>").toggleClass('active');
|
2
|
+
// $("#switch-container-<%= @module.split('::').join('') %>").html("<%= j render 'admin/permissions/switch', role: @role, module_name: @module.split('::').join(''), actions: @actions %>");
|
3
|
+
|
4
|
+
<%- @actions.each do |action| %>
|
5
|
+
$("#switch-<%= @module.split('::').join('') %>-<%= action %>").toggleClass('active');
|
6
|
+
<%- end %>
|
@@ -0,0 +1,61 @@
|
|
1
|
+
:javascript
|
2
|
+
$('.create-rocket').click(function () {
|
3
|
+
swal({
|
4
|
+
input: 'text',
|
5
|
+
title: "#{t('keppler.rockets.choose_a_name')}",
|
6
|
+
text: "#{t('keppler.rockets.rocket_name')}",
|
7
|
+
confirmButtonText: "#{t('keppler.rockets.create_rocket')}",
|
8
|
+
cancelButtonText: "#{t('keppler.rockets.cancel')}",
|
9
|
+
showCancelButton: true,
|
10
|
+
}).then((result) => {
|
11
|
+
if (parseRocketName(result.value) && parseRocketName(result.value) != '') {
|
12
|
+
var rocket_name = parseRocketName(result.value);
|
13
|
+
swal({
|
14
|
+
title: "#{t('keppler.rockets.you_sure')}",
|
15
|
+
html: `#{t('keppler.rockets.will_be_named')}:<pre><code>keppler_${parseRocketName(result.value)}</code></pre>`,
|
16
|
+
confirmButtonText: "#{t('keppler.rockets.great')}",
|
17
|
+
showCancelButton: true,
|
18
|
+
}).then((result) => {
|
19
|
+
if (result.value) {
|
20
|
+
swal({
|
21
|
+
title: "#{t('keppler.rockets.great')}",
|
22
|
+
html: "#{t('keppler.rockets.wait_generator')}",
|
23
|
+
timer: 3000,
|
24
|
+
onOpen: () => {
|
25
|
+
swal.showLoading()
|
26
|
+
},
|
27
|
+
}).then((result) => {
|
28
|
+
$('.spinner').fadeIn()
|
29
|
+
$('.create_rocket_form')
|
30
|
+
.attr('action', `/admin/rockets/create/${rocket_name}`)
|
31
|
+
.submit()
|
32
|
+
// if (result.dismiss === swal.DismissReason.timer) {
|
33
|
+
// }
|
34
|
+
})
|
35
|
+
}
|
36
|
+
})
|
37
|
+
} else {
|
38
|
+
swal({
|
39
|
+
title: 'Oops!',
|
40
|
+
html: "#{t('keppler.rockets.unpermitted_name')}",
|
41
|
+
timer: 3000
|
42
|
+
})
|
43
|
+
}
|
44
|
+
})
|
45
|
+
})
|
46
|
+
|
47
|
+
function parseRocketName(rocket_name) {
|
48
|
+
var rn = rocket_name
|
49
|
+
.toLowerCase()
|
50
|
+
.split('keppler').join('')
|
51
|
+
|
52
|
+
var valid_chars = [];
|
53
|
+
for (var i = 0; i < rn.split('').length; i++){
|
54
|
+
var char = rn.split('')[i]
|
55
|
+
if ([' ', '_'].includes(char)) valid_chars.push('_')
|
56
|
+
else if (/[a-zA-Z]/.test(char)) valid_chars.push(char);
|
57
|
+
}
|
58
|
+
rn = valid_chars.join('')
|
59
|
+
while (rn[0]=='_') rn = rn.substring(1, rn.length);
|
60
|
+
return rn
|
61
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
:coffee
|
3
|
+
|
4
|
+
showSpinner = ->
|
5
|
+
$ '.spinner'
|
6
|
+
.css 'display', 'block'
|
7
|
+
|
8
|
+
#Only for rockets
|
9
|
+
installRocket = (evt) ->
|
10
|
+
evt.preventDefault()
|
11
|
+
rocket_file = $('.file-uploader input:file').val()
|
12
|
+
can_install = true
|
13
|
+
if rocket_file isnt ''
|
14
|
+
if rocket_file.includes('.rocket')
|
15
|
+
$('.rocket-name').each ->
|
16
|
+
if rocket_file.includes $(this).text()
|
17
|
+
swal "#{I18n.t('keppler.rockets.already_installed')}"
|
18
|
+
can_install = false
|
19
|
+
if can_install
|
20
|
+
showSpinner()
|
21
|
+
$ '.upload_rocket_form'
|
22
|
+
.submit()
|
23
|
+
else
|
24
|
+
swal "#{I18n.t('keppler.rockets.isnt_a_rocket')}"
|
25
|
+
else
|
26
|
+
swal "#{I18n.t('keppler.rockets.first_upload')}"
|
27
|
+
|
28
|
+
$('#installRocket').on 'click', installRocket
|
@@ -0,0 +1,54 @@
|
|
1
|
+
.row.customize-index#index-container
|
2
|
+
.col-md-6.col-lg-6
|
3
|
+
.box.slice-box
|
4
|
+
.box-header.with-border
|
5
|
+
%h3.box-title= t('keppler.rockets.upload')
|
6
|
+
.box-body.box-body-no-padding
|
7
|
+
= simple_form_for 'upload_rocket_form', url: admin_rockets_install_path, html: { multipart: true } do
|
8
|
+
.file-uploader
|
9
|
+
.file-container
|
10
|
+
= file_field_tag :rocket # , multiple: true
|
11
|
+
%i.file-icon.bx.bx-rocket
|
12
|
+
%h5.file-text= t 'keppler.rockets.drop'
|
13
|
+
%a.spinnerTrigger#installRocket
|
14
|
+
%i.bx.bx-rocket
|
15
|
+
= t 'keppler.rockets.install'
|
16
|
+
|
17
|
+
.col-md-6.col-lg-6
|
18
|
+
.box.slice-box
|
19
|
+
.box-header.with-border
|
20
|
+
%h3.box-title= t('keppler.rockets.list')
|
21
|
+
.pull-right
|
22
|
+
= simple_form_for 'create_rocket_form', url: admin_rockets_create_path('rocket') do
|
23
|
+
%a.create-rocket
|
24
|
+
%i.icon-plus
|
25
|
+
= t 'keppler.rockets.create_a_rocket'
|
26
|
+
.box-body.no-padding
|
27
|
+
%table.table
|
28
|
+
%tbody
|
29
|
+
- if @rockets.blank?
|
30
|
+
%tr
|
31
|
+
%td{ colspan: 4 }
|
32
|
+
%center
|
33
|
+
= t 'keppler.rockets.empty'
|
34
|
+
- else
|
35
|
+
- @rockets.each do |rocket|
|
36
|
+
%tr
|
37
|
+
%td
|
38
|
+
%i.bx.bx-rocket
|
39
|
+
%span.rocket-name= rocket.split('keppler_').last.humanize
|
40
|
+
.pull-right
|
41
|
+
- rocket_name = rocket.split(' ')[0..-3].join(' ')
|
42
|
+
- if rocket_is_built?(rocket_name)
|
43
|
+
= link_to admin_rockets_build_path(rocket_name), method: :post, 'data-toggle': 'tooltip', 'data-original-title': t('keppler.rockets.update') do
|
44
|
+
%i.icon-wrench
|
45
|
+
= link_to "/rockets/#{rocket_name}.rocket", dowload: "#{rocket_name}.rocket", 'data-toggle': 'tooltip', 'data-original-title': t('keppler.rockets.download') do
|
46
|
+
%i.icon-cloud-download
|
47
|
+
- else
|
48
|
+
= link_to admin_rockets_build_path(rocket_name), method: :post, 'data-toggle': 'tooltip', 'data-original-title': t('keppler.rockets.build') do
|
49
|
+
%i.icon-wrench
|
50
|
+
- unless rocket.eql? 'keppler_ga_dashboard'
|
51
|
+
= link_to admin_rockets_uninstall_path(rocket_name), class: 'uninstallRocket', 'data-toggle': 'tooltip', 'data-original-title': t('keppler.rockets.uninstall'), method: :delete, data: { confirm: t('keppler.messages.data_confirm') } do
|
52
|
+
%i.icon-trash.text-red
|
53
|
+
= render 'install_rocket'
|
54
|
+
= render 'create_rocket'
|
@@ -0,0 +1,13 @@
|
|
1
|
+
%aside.control-sidebar.control-sidebar-light
|
2
|
+
.tab-content
|
3
|
+
%p.control-sidebar-heading
|
4
|
+
= activities.empty? ? t('keppler.messages.no_events') : t('keppler.titles.history')
|
5
|
+
%ul.timeline
|
6
|
+
- activities.each do |activity|
|
7
|
+
- if activity.trackable_type.eql? 'Session'
|
8
|
+
%li
|
9
|
+
= render partial: "public_activity/session/#{activity.key.split('.').second}", locals: { activity: activity, method: 'id' }
|
10
|
+
- else
|
11
|
+
%li
|
12
|
+
= render partial: "public_activity/layout/#{activity.key.split('.').second}", locals: { activity: activity, method: 'id' }
|
13
|
+
.control-sidebar-bg
|
@@ -0,0 +1,27 @@
|
|
1
|
+
= simple_form_for [:admin, @role] do |f|
|
2
|
+
.container
|
3
|
+
.row
|
4
|
+
.col-lg-2
|
5
|
+
= link_to admin_roles_path, 'data-position' => 'bottom', 'data-tooltip' => t('keppler.actions.back') do
|
6
|
+
.arrow-back.btn.btn-default
|
7
|
+
%i.icon-arrow-left
|
8
|
+
= t('keppler.actions.back')
|
9
|
+
|
10
|
+
.row
|
11
|
+
.col-lg-12
|
12
|
+
.box.slice-box.p-15
|
13
|
+
.box-header.with-border
|
14
|
+
%h3.box-title= t("keppler.modules.#{action_name.underscore}")
|
15
|
+
.box-tools.pull-right
|
16
|
+
%a.btn.btn-box-tool{ 'data-widget' => 'collapse', type: 'button' }
|
17
|
+
%i.icon-minus
|
18
|
+
.box-body
|
19
|
+
%table.table.table-bordered
|
20
|
+
%tbody
|
21
|
+
.form-padding
|
22
|
+
.row
|
23
|
+
.col-xs-12
|
24
|
+
= f.input :name
|
25
|
+
.col-xs-12
|
26
|
+
.pull-right
|
27
|
+
= f.button :submit, t('keppler.actions.save'), name: '_save', class: 'btn-primary'
|
@@ -0,0 +1,42 @@
|
|
1
|
+
- objects.each do |role|
|
2
|
+
-# - unless role.name.eql?('keppler_admin')
|
3
|
+
%tr{ id: "row-#{role.id}" }
|
4
|
+
%td.item-check
|
5
|
+
- if can?(Role).destroy_multiple?
|
6
|
+
.checkbox
|
7
|
+
%label{ for: "checkbox-#{role.id}" }
|
8
|
+
%input{ type: 'checkbox', id: "checkbox-#{role.id}", 'checklist-model' => 'check', 'checklist-value' => role.id, '@click' => "listDelete(#{role.id})" }
|
9
|
+
%span.cr
|
10
|
+
%i.cr-icon.glyphicon.glyphicon-ok
|
11
|
+
%td
|
12
|
+
= link_to admin_role_path(role), title: t('keppler.actions.show') do
|
13
|
+
%span
|
14
|
+
= role.name
|
15
|
+
%td{ style: 'width: 15px; padding-right: 15px;' }
|
16
|
+
- unless role.id.eql?(1)
|
17
|
+
= link_to admin_role_add_permissions_path(role.id), class: 'action-btn.pull-right' do
|
18
|
+
%i.icon-settings
|
19
|
+
%td{ style: 'width: 15px; padding-right: 15px;' }
|
20
|
+
%a.action-btn.pull-right{ id: "menu-#{role.id}", 'aria-expanded' => 'false', 'aria-haspopup' => 'true', 'data-toggle' => 'dropdown' }
|
21
|
+
%i.icon-options-vertical
|
22
|
+
%ul.actions.dropdown-menu{ 'aria-labelledby' => "menu-#{role.id}" }
|
23
|
+
- if can?(Role).show?
|
24
|
+
%li
|
25
|
+
= link_to admin_role_path(role), title: t('keppler.actions.show') do
|
26
|
+
%i.icon-eye
|
27
|
+
= t('keppler.actions.show')
|
28
|
+
- if can?(Role).update?
|
29
|
+
%li
|
30
|
+
= link_to edit_admin_role_path(role), title: t('keppler.actions.edit') do
|
31
|
+
%i.icon-pencil
|
32
|
+
= t('keppler.actions.edit')
|
33
|
+
- if can?(Role).clone?
|
34
|
+
%li
|
35
|
+
= link_to admin_role_clone_path(role), title: t('keppler.actions.clone') do
|
36
|
+
%i.icon-docs
|
37
|
+
= t('keppler.actions.clone')
|
38
|
+
- if can?(Role).destroy?
|
39
|
+
%li
|
40
|
+
= link_to admin_role_path(role), title: t('keppler.actions.delete'), method: :delete, data: { confirm: t('keppler.messages.data_confirm') } do
|
41
|
+
%i.icon-trash
|
42
|
+
= t('keppler.actions.delete')
|
@@ -0,0 +1,24 @@
|
|
1
|
+
= simple_form_for @role, url: admin_role_create_permissions_path(role), method: :post, remote: true do
|
2
|
+
%label.switch-box{ style: 'padding-top: 5px; padding-right: 40px;' }
|
3
|
+
- if !role.action?(module_name, action)
|
4
|
+
%label.switch
|
5
|
+
%input{ name: 'role[module]', type: 'hidden', value: module_name }
|
6
|
+
%input{ name: 'role[action]', type: 'hidden', value: action }
|
7
|
+
- actions.each do |act|
|
8
|
+
%input{ name: 'role[actions][]', type: 'hidden', value: act }
|
9
|
+
%input{ id: "switch-#{module_name.split('::').join('')}-#{action}", type: 'checkbox' }
|
10
|
+
%span.slider.round{ onclick: "sendPermission('#{module_name}', '#{action}')" }
|
11
|
+
|
12
|
+
- else
|
13
|
+
%label.switch
|
14
|
+
%input{ name: 'role[module]', type: 'hidden', value: module_name }
|
15
|
+
%input{ name: 'role[action]', type: 'hidden', value: action }
|
16
|
+
- actions.each do |act|
|
17
|
+
%input{ name: 'role[actions][]', type: 'hidden', value: act }
|
18
|
+
%input.active{ id: "switch-#{module_name.split('::').join('')}-#{action}", type: 'checkbox', checked: 'checked' }
|
19
|
+
%span.slider.round{ onclick: "sendPermission('#{module_name}', '#{action}')" }
|
20
|
+
|
21
|
+
:javascript
|
22
|
+
function sendPermission(module_name, action) {
|
23
|
+
$('#switch-'+module_name.split('::').join('')+'-'+action).parent().parent().parent().submit()
|
24
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
= render 'form'
|
@@ -0,0 +1,64 @@
|
|
1
|
+
#index-container{ controller: 'roles' }
|
2
|
+
.container
|
3
|
+
.row
|
4
|
+
.listing.col-lg-12.col-xs-12
|
5
|
+
%section.content-header.index-header
|
6
|
+
%h1
|
7
|
+
= t("keppler.modules.#{controller_path.underscore}")
|
8
|
+
= entries(@total, @objects)
|
9
|
+
%section.content-actions
|
10
|
+
.toolbar
|
11
|
+
.toolbar-item
|
12
|
+
= link_to reload_admin_roles_path, class: 'tool-btn', remote: true do
|
13
|
+
%i.icon-reload
|
14
|
+
- if can?(Role).download?
|
15
|
+
.toolbar-item
|
16
|
+
= link_to admin_role_download_path(Role, format: :xls), class: 'tool-btn', title: t('keppler.actions.download_records') do
|
17
|
+
%i.icon-cloud-download
|
18
|
+
- if can?(Role).upload?
|
19
|
+
.toolbar-item
|
20
|
+
= link_to '', class: 'tool-btn', title: t('keppler.actions.upload_records'), id: 'upload' do
|
21
|
+
%i.icon-cloud-upload
|
22
|
+
.toolbar-item
|
23
|
+
%a.tool-btn{ 'data-confirm' => t('keppler.messages.data_confirm'), 'data-method' => 'delete', 'v-bind:href' => 'link', :rel => 'nofollow', ':class' => '{disabled: !checks}' }
|
24
|
+
%i.icon-trash
|
25
|
+
.hide
|
26
|
+
= form_tag admin_role_upload_path(@objects), id: 'upload-form', multipart: true, method: :post do
|
27
|
+
= file_field_tag :file, id: 'upload-file'
|
28
|
+
- if can?(Role).create?
|
29
|
+
.add
|
30
|
+
= link_to new_admin_role_path, class: 'btn-add' do
|
31
|
+
+
|
32
|
+
= t('keppler.actions.add')
|
33
|
+
.box.slice-box
|
34
|
+
.box-body.no-padding
|
35
|
+
|
36
|
+
%table.table
|
37
|
+
%thead
|
38
|
+
- if @objects.size.zero?
|
39
|
+
%tr
|
40
|
+
%th.not-records.center
|
41
|
+
%h6= t('keppler.messages.not_found_records', model: t('keppler.models.pluralize.roles'))
|
42
|
+
- else
|
43
|
+
%tr
|
44
|
+
%th
|
45
|
+
- if can?(Role).destroy_multiple?
|
46
|
+
.item-check
|
47
|
+
.checkbox
|
48
|
+
%label{ for: 'checkbox-all' }
|
49
|
+
%input{ type: 'checkbox', id: 'checkbox-all', '@click' => 'selectAll()' }
|
50
|
+
%span.cr
|
51
|
+
%i.cr-icon.glyphicon.glyphicon-ok
|
52
|
+
|
53
|
+
%th.hidden-xs
|
54
|
+
= sort_link(@q, :name) do
|
55
|
+
= t('activerecord.attributes.name')
|
56
|
+
%th
|
57
|
+
%th
|
58
|
+
%tbody.objects-container{ 'data-update-url' => sort_admin_roles_path.to_s }
|
59
|
+
= render 'admin/layouts/listing_preloader'
|
60
|
+
= render 'listing', objects: @roles
|
61
|
+
%center.paginator-module
|
62
|
+
= paginate @objects, window: 1
|
63
|
+
%aside.control-sidebar
|
64
|
+
= render 'description', activities: @activities
|