kirgudu_base 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/kirgudu_base/{bootstrap-3.0.0.js → bootstrap/bootstrap-3.0.0.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-alert.js → bootstrap/bootstrap-alert-2.1.0.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-button.js → bootstrap/bootstrap-button.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-carousel.js → bootstrap/bootstrap-carousel.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-collapse.js → bootstrap/bootstrap-collapse.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-colorpicker.js → bootstrap/bootstrap-colorpicker.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-datepicker.js → bootstrap/bootstrap-datepicker.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-dropdown.js → bootstrap/bootstrap-dropdown.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-modal.js → bootstrap/bootstrap-modal.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-popover.js → bootstrap/bootstrap-popover.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-scrollspy.js → bootstrap/bootstrap-scrollspy.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-tab.js → bootstrap/bootstrap-tab.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-tooltip.js → bootstrap/bootstrap-tooltip.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-transition.js → bootstrap/bootstrap-transition.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-typeahead.js → bootstrap/bootstrap-typeahead.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap-wysihtml5.js → bootstrap/bootstrap-wysihtml5.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{bootstrap.js → bootstrap/bootstrap.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{intro.js → intro-0.4.0.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.js → jquery-2.0.3.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/jquery-2.1.1.js +9190 -0
- data/app/assets/javascripts/kirgudu_base/jquery-2.1.1.min.js +4 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.blockUI.js → jquery.blockUI-2.45.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.bookblock.js → jquery.bookblock-1.0.2.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/jquery.carouFredSel-6.2.1.js +4255 -0
- data/app/assets/javascripts/kirgudu_base/{chosen.jquery.min.js → jquery.chosen.min-0.9.8.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.colorbox.js → jquery.colorbox-1.4.37.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.container-management.js → jquery.containerManagement-1.0.js} +1 -1
- data/app/assets/javascripts/kirgudu_base/{jquery.cookie.js → jquery.cookie-1.3.1.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{fileinput.jquery.js → jquery.custom-file-input.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.dataTables.js → jquery.dataTables-1.9.3.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.easing.min.js → jquery.easing-1.3.min.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.endless-scroll.js → jquery.endlessScroll-1.8.0.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.fancybox copia.js → jquery.fancybox-2.1.5.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.fancybox-buttons.js → jquery.fancybox-buttons-1.0.5.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.fancybox-media.js → jquery.fancybox-media-1.0.6.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.fancybox-thumbs.js → jquery.fancybox-thumbs-1.0.7.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.flot.js → jquery.flot-0.7.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.flot.min.js → jquery.flot-0.7.min.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{fullcalendar.js → jquery.fullCalendar-1.5.4.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{fullcalendar.min.js → jquery.fullCalendar.min-1.6.4.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/jquery.jcarousel-0.3.js +1411 -0
- data/app/assets/javascripts/kirgudu_base/jquery.jcarousel.min-0.3.1.js +4 -0
- data/app/assets/javascripts/kirgudu_base/jquery.jigowatt.js +1 -1
- data/app/assets/javascripts/kirgudu_base/{jquery.json.min.js → jquery.json-2.0.3.min.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{scripts_nrg.js → jquery.kirguduBase.js} +17 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.maskedinput-1.3.js → jquery.maskedInput-1.3.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.simplemodal-1.4.4.js → jquery.simpleModal-1.4.4.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.smartWizard.js → jquery.smartWizard-3.3.1.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/jquery.snippet-2.0.0.js +814 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.sparkline.min.js → jquery.sparkline-2.1.2.min.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.tagsinput.js → jquery.tagsInput-1.3.3.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{textarea-autogrow.js → jquery.textareaAutogrow.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.tools.min.js → jquery.tools.min-1.2.7.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery-ui.js → jquery.ui-1.10.4.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/jquery.ui-1.10.4.min.js +12 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.uploadify.min.js → jquery.uploadify-3.2.min.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{jquery.validate.min.js → jquery.validate-1.10.0.min.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{justgage.1.0.1.min.js → justgage-1.0.1.min.js} +0 -0
- data/app/assets/javascripts/kirgudu_base/{modernizr.custom.32549.js → modernizr-2.6.2.js} +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/404-fry.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ajax-loader.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/alpha.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/alpha2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/arrow.png +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/chosen-sprite.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/company_pxg.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/back_disabled.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/back_enabled.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/back_enabled_hover.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/forward_disabled.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/forward_enabled.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/forward_enabled_hover.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_asc.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_asc_disabled.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_both.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_desc.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_desc_disabled.png +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/blank.gif +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/fancybox_buttons.png +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/fancybox_loading.gif +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/fancybox_overlay.png +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/fancybox_sprite.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/favicon.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/clock.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/clock2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/coffee.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/coffee2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/flipchart.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/flipchart2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/sun.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/sun2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/glyphicons-halflings-white.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/glyphicons-halflings.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/gradient1.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/hue2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/icons-sa7c41345d9.png +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/error.png +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/loading.gif +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/play-pause.png +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/progressbar.gif +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/video-play.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/login-corner.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/login-corner2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/logo.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/maps/m1.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/maps/m2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/maps/m3.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/calendar.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/dashboard.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/forms.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/gallery.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/grid.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/maps.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/others.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/statistics.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/tables.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/widgets.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_top/profile-avatar.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_top/profile-messages.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar1.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar3.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar4.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar5.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar6.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar7.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/patterns/bg_dark.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/patterns/bg_dark2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/patterns/bg_dark3.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/patterns/whitey.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/sample_avatar_big.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/saturation2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/search.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/toggle.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_fine-grain_10_e7e7e7_60x60.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_flat_0_ef4622_40x100.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_highlight-hard_100_e1e1e1_1x100.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_highlight-hard_75_dddddd_1x100.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-icons_454545_256x240.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-icons_525d66_256x240.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/uploadify-cancel.png +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/chosen.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/fullcalendar.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/info-message.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery-ui-1.8.23.custom.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery.fancybox-buttons.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery.fancybox-thumbs.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery.fancybox.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery.tagsinput.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/original.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/popbox.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/responsive.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/twitter/bootstrap.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/uploadify.css +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/breadcrumb_divider.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/btn_submit.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/btn_submit_2.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/btn_view_site.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/header_bg.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/header_shadow.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_add_user.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_alert_error.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_alert_info.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_alert_success.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_alert_warning.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_audio.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_categories.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_edit.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_edit_article.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_folder.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_jump_back.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_logout.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_new_article.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_photo.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_profile.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_search.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_security.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_settings.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_tags.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_trash.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_user.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_video.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_view_users.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/module_footer_bg.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/post_message.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/secondary_bar.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/secondary_bar_shadow.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/sidebar.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/sidebar_divider.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/sidebar_shadow.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/images/table_sorter_header.png +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/stylesheets/ie.css +43 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/medialoot/stylesheets}/jquery.fancybox-buttons.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/medialoot/stylesheets}/jquery.fancybox-thumbs.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/medialoot/stylesheets}/jquery.fancybox.css +0 -0
- data/app/assets/templates/kirgudu_base/admin/medialoot/stylesheets/layout.css +883 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good/jquery-file-upload → templates/kirgudu_base/admin/zapanel}/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good/jquery-file-upload → templates/kirgudu_base/admin/zapanel}/fonts/glyphicons-halflings-regular.svg +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good/jquery-file-upload → templates/kirgudu_base/admin/zapanel}/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good/jquery-file-upload → templates/kirgudu_base/admin/zapanel}/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/404.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/500x600.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/PhotoShare(1).png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/PhotoShare(2).png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/PhotoShare(3).png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/ajax-loader.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/arrow.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/arrows-active.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/arrows-normal.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/asd.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/avatar-1.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/avatar-2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/avatar-4.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/avatar-8.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/banner.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/bg-texture.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/bg.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/bg1.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/blue-btn.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/body-bg.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/brown-btn.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-10.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-11.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-12.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-13.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-14.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-15.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-16.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-17.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-18.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-19.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-20.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-21.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-22.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-23.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-24.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-25.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-26.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-27.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-28.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-29.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-30.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-31.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-32.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-33.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-34.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-35.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-36.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-37.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-38.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-39.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-40.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-41.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-42.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-43.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-44.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-45.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-46.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-47.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-48.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-49.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-50.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-51.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-52.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-53.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-54.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-55.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-56.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-57.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-58.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-59.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-60.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-61.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-62.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-63.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-8.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-9.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/cal.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/chat-user1.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/chrome-icon.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/clockface.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/clockface.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/crop.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/cyan-btn.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/dark-theme-thumb.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/dark_leather.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/darkdenim3.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/dialogs.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images/elfinder}/logo.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/email-thumb.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/error.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/fb.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/firefox-icon.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/globe.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/gray-btn.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/gray-gradient.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/green-btn.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/group.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/header-bg.jpg +0 -0
- data/app/assets/images/kirgudu_base/admin/good/hosting pic.png b/data/app/assets/templates/kirgudu_base/admin/zapanel/images/hosting → pic.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/hourhand.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/icons-big.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/icons-small.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/ie-icon.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/light-theme-thumb.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/loader.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/logo.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/logo2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/loud.png +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/mCSB_buttons.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/minhand.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/next_mon.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/next_year.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/no_cal.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/opera-icon.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern1.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern1.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern10.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern11.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern12.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern13.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern14.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern15.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern16.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern17.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern18.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern19.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern2.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern20.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern21.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern22.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern23.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern24.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern25.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern26.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern27.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern28.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern29.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern3.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern30.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern31.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern32.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern33.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern34.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern4.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern5.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern6.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern7.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern8.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern9.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern9.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/photo-profile.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/prev_mon.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/prev_year.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/price-gray.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/price-red.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product1.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product2.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product3.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product4.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product5.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/progress.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/purple-btn.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/quicklook-bg.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/quicklook-icons.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/red-btn.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/resize.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/rocket.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/rss.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/safari-icon.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen1.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen3.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen4.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen5.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/search-bg.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/search-icon.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/sechand.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/section-pattern-bg.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/signup1.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/signup2.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/slider-img-1.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/slider-img-2.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/slider-img-3.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/spinner-mini.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/sprite-skin-flat.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/sprite-skin-nice.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/sprite-skin-simple.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/success.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/tag-arrow.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/tag-arrow2.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb1.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb2.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb3.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb4.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/toggle.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/toolbar.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/triangles.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/twitter.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/typing-loading.gif +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/usd.png +0 -0
- data/app/assets/images/kirgudu_base/admin/good/user (2).jpg b/data/app/assets/templates/kirgudu_base/admin/zapanel/images/user → (2).jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user-log-in.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user.png +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user2.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user3.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user4.jpg +0 -0
- data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/world-map.png +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/bootstrap.css +2 -2
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/chosen.css +17 -17
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/elfinder-theme.css +1 -1
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/elfinder.min.css +21 -21
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/font-awesome-ie7.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/font-awesome-ie7.min.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/font-awesome.css +2 -2
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/font-awesome.min.css +1 -1
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/fullcalendar.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/fullcalendar.print.css +0 -0
- data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/google-fonts-opensans.css +34 -0
- data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/google-fonts-raleway.css +62 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/ion.rangeSlider.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/ion.rangeSlider.skinFlat.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/ion.rangeSlider.skinNice.css +1 -1
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/blueimp-gallery.min.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/bootstrap.min.css +2 -2
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/demo-ie8.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/demo.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/jquery.fileupload-noscript.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/jquery.fileupload-ui-noscript.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/jquery.fileupload-ui.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/jquery.fileupload.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/style.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-ui.css +9 -9
- data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/jquery.fancybox-buttons.css +96 -0
- data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/jquery.fancybox-thumbs.css +54 -0
- data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/jquery.fancybox.css +249 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery.mCustomScrollbar.css +0 -0
- data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/jquery.snippet.css +116 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery.switchButton.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/purple.css +0 -0
- data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/range-slider.normalize.min.css +236 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/responsive.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/style.css +29 -29
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCore.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreDefault.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreDjango.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreEclipse.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreEmacs.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreFadeToGrey.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreMDUltra.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreMidnight.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreRDark.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeDefault.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeDjango.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeEclipse.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeEmacs.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeFadeToGrey.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeMDUltra.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeMidnight.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeRDark.css +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/uploadify.css +1 -1
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/common}/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good/fonts/FontAwesome.otf → templates/kirgudu_base/common/fonts/fontawesome-webfont.otf} +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/common}/fonts/fontawesome-webfont.svg +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/common}/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/common}/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/opensans-bold.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/opensans-extrabold.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/opensans-light.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/opensans-semibold.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/opensans.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/raleway-bold.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/raleway-extrabold.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/raleway-extralight.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/raleway-heavy.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/raleway-light.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/raleway-medium.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/raleway-semibold.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/raleway-thin.woff +0 -0
- data/app/assets/templates/kirgudu_base/common/fonts/raleway.woff +0 -0
- data/app/controllers/kirgudu_base/admin_controller.rb +8 -15
- data/app/controllers/kirgudu_base/application_controller.rb +254 -322
- data/app/controllers/kirgudu_base/cabinet_controller.rb +3 -41
- data/app/controllers/kirgudu_base/dynamic_pages_controller.rb +1209 -0
- data/app/controllers/kirgudu_base/facade_controller.rb +3 -3
- data/app/controllers/kirgudu_base/security/authentications_controller.rb +178 -216
- data/app/controllers/kirgudu_base/security/login_providers_controller.rb +9 -0
- data/app/helpers/kirgudu_base/application_helper.rb +37 -75
- data/app/helpers/kirgudu_base/configuration_helper.rb +12 -0
- data/app/helpers/kirgudu_base/controllers/basic_actions.rb +243 -246
- data/app/helpers/kirgudu_base/controllers/container_items_management_actions.rb +12 -12
- data/app/helpers/kirgudu_base/controllers/dynamic_pages.rb +150 -130
- data/app/helpers/kirgudu_base/controllers/dynamic_transactions.rb +1 -1
- data/app/helpers/kirgudu_base/controllers/obligatory_filters.rb +1 -1
- data/app/helpers/kirgudu_base/gui_helper.rb +24 -0
- data/app/helpers/kirgudu_base/models/basic_properties.rb +135 -135
- data/app/helpers/kirgudu_base/models/before_query.rb +16 -0
- data/app/helpers/kirgudu_base/models/data_filter.rb +11 -93
- data/app/helpers/kirgudu_base/models/methods.rb +55 -55
- data/app/helpers/kirgudu_base/models/scopes.rb +70 -109
- data/app/helpers/kirgudu_base/system_prepare.rb +17 -0
- data/app/models/kirgudu_base/base_model.rb +70 -77
- data/app/models/kirgudu_base/common/portal.rb +4 -4
- data/app/models/kirgudu_base/common/portal_user.rb +2 -2
- data/app/models/kirgudu_base/concerns/models/administrated_by.rb +27 -0
- data/app/models/kirgudu_base/concerns/models/created_at.rb +36 -0
- data/app/models/kirgudu_base/concerns/models/created_by.rb +25 -0
- data/app/models/kirgudu_base/concerns/models/deletion_status_id.rb +28 -0
- data/app/models/kirgudu_base/concerns/models/managed_by.rb +25 -0
- data/app/models/kirgudu_base/concerns/models/name.rb +36 -0
- data/app/models/kirgudu_base/concerns/models/owned_by.rb +26 -0
- data/app/models/kirgudu_base/concerns/models/person_age.rb +49 -0
- data/app/models/kirgudu_base/concerns/models/person_full_name.rb +41 -0
- data/app/models/kirgudu_base/concerns/models/portal_id.rb +26 -0
- data/app/models/kirgudu_base/concerns/models/portal_user_id.rb +26 -0
- data/app/models/kirgudu_base/concerns/models/slug.rb +43 -0
- data/app/models/kirgudu_base/concerns/models/status_id.rb +28 -0
- data/app/models/kirgudu_base/concerns/models/title.rb +40 -0
- data/app/models/kirgudu_base/concerns/models/updated_at.rb +41 -0
- data/app/models/kirgudu_base/concerns/models/updated_by.rb +29 -0
- data/app/models/kirgudu_base/concerns/models/user_id.rb +35 -0
- data/app/models/kirgudu_base/dynamic/base_builder.rb +45 -0
- data/app/models/kirgudu_base/dynamic/base_model.rb +18 -0
- data/app/models/kirgudu_base/dynamic/breadcrumbs/item.rb +79 -0
- data/app/models/kirgudu_base/dynamic/data_filters/obligatory_filter.rb +22 -0
- data/app/models/kirgudu_base/dynamic/data_filters/obligatory_filter_builder.rb +46 -0
- data/app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb +21 -0
- data/app/models/kirgudu_base/dynamic/properties/interprete_as.rb +14 -0
- data/app/models/kirgudu_base/dynamic/transactions/enums.rb +11 -0
- data/app/models/kirgudu_base/dynamic/transactions/injection.rb +24 -0
- data/app/models/kirgudu_base/{dynamic_transactions/transaction_injection_builder.rb → dynamic/transactions/injection_builder.rb} +2 -8
- data/app/models/kirgudu_base/dynamic_pages/builder.rb +49 -50
- data/app/models/kirgudu_base/dynamic_pages/data_source.rb +56 -57
- data/app/models/kirgudu_base/dynamic_pages/data_source_builder.rb +63 -59
- data/app/models/kirgudu_base/dynamic_pages/element.rb +3 -6
- data/app/models/kirgudu_base/dynamic_pages/entry.rb +23 -25
- data/app/models/kirgudu_base/dynamic_pages/entry_builder.rb +32 -34
- data/app/models/kirgudu_base/dynamic_pages/entry_properties_block_builder.rb +2 -4
- data/app/models/kirgudu_base/dynamic_pages/entry_property.rb +1 -3
- data/app/models/kirgudu_base/dynamic_pages/entry_property_builder.rb +28 -30
- data/app/models/kirgudu_base/dynamic_pages/enums.rb +56 -59
- data/app/models/kirgudu_base/dynamic_pages/event.rb +19 -21
- data/app/models/kirgudu_base/dynamic_pages/event_action.rb +35 -38
- data/app/models/kirgudu_base/dynamic_pages/event_action_builder.rb +37 -39
- data/app/models/kirgudu_base/dynamic_pages/event_action_constraint.rb +19 -21
- data/app/models/kirgudu_base/dynamic_pages/event_action_constraint_builder.rb +27 -29
- data/app/models/kirgudu_base/dynamic_pages/event_builder.rb +30 -32
- data/app/models/kirgudu_base/dynamic_pages/event_if_block_builder.rb +21 -23
- data/app/models/kirgudu_base/dynamic_pages/filter.rb +19 -21
- data/app/models/kirgudu_base/dynamic_pages/filter_builder.rb +23 -25
- data/app/models/kirgudu_base/dynamic_pages/form.rb +27 -26
- data/app/models/kirgudu_base/dynamic_pages/form_builder.rb +55 -48
- data/app/models/kirgudu_base/dynamic_pages/form_elements_block_builder.rb +21 -23
- data/app/models/kirgudu_base/dynamic_pages/form_properties_block_builder.rb +16 -18
- data/app/models/kirgudu_base/dynamic_pages/form_properties_named_set.rb +11 -12
- data/app/models/kirgudu_base/dynamic_pages/form_properties_named_set_builder.rb +12 -13
- data/app/models/kirgudu_base/dynamic_pages/form_property.rb +31 -32
- data/app/models/kirgudu_base/dynamic_pages/form_property_builder.rb +35 -36
- data/app/models/kirgudu_base/dynamic_pages/form_tab.rb +9 -10
- data/app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb +2 -3
- data/app/models/kirgudu_base/dynamic_pages/group.rb +15 -17
- data/app/models/kirgudu_base/dynamic_pages/group_builder.rb +18 -22
- data/app/models/kirgudu_base/dynamic_pages/html_css.rb +13 -0
- data/app/models/kirgudu_base/dynamic_pages/html_css_builder.rb +24 -0
- data/app/models/kirgudu_base/dynamic_pages/html_header.rb +15 -0
- data/app/models/kirgudu_base/dynamic_pages/html_header_builder.rb +40 -0
- data/app/models/kirgudu_base/dynamic_pages/html_meta.rb +15 -0
- data/app/models/kirgudu_base/dynamic_pages/html_meta_builder.rb +36 -0
- data/app/models/kirgudu_base/dynamic_pages/html_script.rb +21 -0
- data/app/models/kirgudu_base/dynamic_pages/html_script_builder.rb +25 -0
- data/app/models/kirgudu_base/dynamic_pages/http_client.rb +47 -0
- data/app/models/kirgudu_base/dynamic_pages/http_client_builder.rb +80 -0
- data/app/models/kirgudu_base/dynamic_pages/input_type.rb +18 -16
- data/app/models/kirgudu_base/dynamic_pages/link.rb +17 -0
- data/app/models/kirgudu_base/dynamic_pages/link_builder.rb +5 -0
- data/app/models/kirgudu_base/dynamic_pages/list.rb +32 -31
- data/app/models/kirgudu_base/dynamic_pages/list_builder.rb +9 -3
- data/app/models/kirgudu_base/dynamic_pages/list_cell.rb +20 -22
- data/app/models/kirgudu_base/dynamic_pages/list_cell_builder.rb +29 -31
- data/app/models/kirgudu_base/dynamic_pages/list_cells_block_builder.rb +11 -13
- data/app/models/kirgudu_base/dynamic_pages/list_filters_block_builder.rb +12 -13
- data/app/models/kirgudu_base/dynamic_pages/list_properties_block_builder.rb +11 -13
- data/app/models/kirgudu_base/dynamic_pages/list_property.rb +20 -22
- data/app/models/kirgudu_base/dynamic_pages/list_property_builder.rb +27 -29
- data/app/models/kirgudu_base/dynamic_pages/management_settings.rb +20 -21
- data/app/models/kirgudu_base/dynamic_pages/management_settings_builder.rb +30 -32
- data/app/models/kirgudu_base/dynamic_pages/menu.rb +26 -28
- data/app/models/kirgudu_base/dynamic_pages/menu_builder.rb +34 -33
- data/app/models/kirgudu_base/dynamic_pages/menu_item.rb +30 -62
- data/app/models/kirgudu_base/dynamic_pages/menu_item_builder.rb +28 -39
- data/app/models/kirgudu_base/dynamic_pages/menu_items_block_builder.rb +19 -19
- data/app/models/kirgudu_base/dynamic_pages/menu_section.rb +23 -25
- data/app/models/kirgudu_base/dynamic_pages/menu_section_builder.rb +23 -25
- data/app/models/kirgudu_base/dynamic_pages/page.rb +7 -5
- data/app/models/kirgudu_base/dynamic_pages/page_builder.rb +94 -80
- data/app/models/kirgudu_base/dynamic_pages/page_element.rb +42 -42
- data/app/models/kirgudu_base/dynamic_pages/page_element_builder.rb +7 -5
- data/app/models/kirgudu_base/dynamic_pages/page_elements_block_builder.rb +51 -57
- data/app/models/kirgudu_base/dynamic_pages/page_tab.rb +18 -19
- data/app/models/kirgudu_base/dynamic_pages/page_tab_builder.rb +46 -47
- data/app/models/kirgudu_base/dynamic_pages/parent_element.rb +19 -21
- data/app/models/kirgudu_base/dynamic_pages/parent_element_builder.rb +24 -28
- data/app/models/kirgudu_base/dynamic_pages/property.rb +30 -32
- data/app/models/kirgudu_base/dynamic_pages/property_builder.rb +49 -53
- data/app/models/kirgudu_base/dynamic_pages/property_events_block_builder.rb +21 -22
- data/app/models/kirgudu_base/dynamic_pages/relation.rb +13 -14
- data/app/models/kirgudu_base/dynamic_pages/relation_builder.rb +24 -26
- data/app/models/kirgudu_base/dynamic_pages/sorting_settings.rb +19 -20
- data/app/models/kirgudu_base/dynamic_pages/sorting_settings_builder.rb +30 -32
- data/app/models/kirgudu_base/dynamic_pages/url.rb +61 -0
- data/app/models/kirgudu_base/dynamic_pages/{controller_link_builder.rb → url_builder.rb} +8 -8
- data/app/models/kirgudu_base/dynamic_pages/url_parameter.rb +42 -0
- data/app/models/kirgudu_base/dynamic_pages/url_parameter_builder.rb +40 -0
- data/app/models/kirgudu_base/dynamic_pages/widget.rb +4 -6
- data/app/models/kirgudu_base/dynamic_pages/widget_builder.rb +10 -12
- data/app/models/kirgudu_base/security/authentication.rb +4 -4
- data/app/models/kirgudu_base/security/email_confirmation.rb +1 -1
- data/app/models/kirgudu_base/security/login_provider.rb +64 -0
- data/app/models/kirgudu_base/security/restore_password_code.rb +1 -1
- data/app/models/kirgudu_base/security/user.rb +34 -15
- data/app/models/kirgudu_base/settings/group.rb +3 -3
- data/app/models/kirgudu_base/settings/option.rb +3 -3
- data/app/models/kirgudu_base/settings/value.rb +3 -3
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/dashboard/index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/dashboard/modules.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/dashboard/stats.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/layouts/application.html.erb +25 -23
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/_attach_file_uploader.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_images/managing_items_index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_images/managing_items_manage.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_images/managing_items_sort_index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_images/managing_upload_images.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_items/managing_items_index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_items/managing_items_manage.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_items/managing_items_sort_index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/groups/edit.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/groups/index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/groups/new.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/groups/show.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/options/edit.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/options/index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/options/new.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/options/show.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/values/edit.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/values/index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/values/new.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/values/show.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/layouts/application.html.erb +1 -1
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_body_javascripts_files.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_body_javascripts_scripts.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_breadcrumbs.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_head_javascripts.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_head_stylesheets.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_index_page_filter.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_left_menu_standard_actions.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_services_top_line.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_top_nav_bar.html.erb +3 -3
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_edit_form_renderer.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_index_renderer.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_new_form_renderer.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_not_found_renderer.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_show_renderer.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_images/managing_items_index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_images/managing_items_manage.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_images/managing_items_sort_index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_items/managing_items_index.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_items/managing_items_manage.html.erb +0 -0
- data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_items/managing_items_sort_index.html.erb +0 -0
- data/app/views/{admin_templates/good/admin/shared/_left_menu_item.html.erb → kirgudu_base/admin/medialoot/common/dashboard.html.erb} +0 -0
- data/app/views/kirgudu_base/admin/medialoot/common/edit.html.erb +68 -0
- data/app/views/kirgudu_base/admin/medialoot/common/index.html.erb +121 -0
- data/app/views/kirgudu_base/admin/medialoot/common/new.html.erb +62 -0
- data/app/views/kirgudu_base/admin/medialoot/common/show.html.erb +146 -0
- data/app/views/kirgudu_base/admin/medialoot/layouts/application.html.erb +143 -0
- data/app/views/{admin_templates/good/admin → kirgudu_base/admin/medialoot}/shared/_breadcrumbs.html.erb +8 -6
- data/app/views/kirgudu_base/admin/medialoot/shared/_left_menu.html.erb +13 -0
- data/app/views/kirgudu_base/admin/medialoot/shared/entry_not_found.html.erb +3 -0
- data/app/views/{admin_templates/good/admin/shared/renderer_delete.html.erb → kirgudu_base/admin/medialoot/sso/dashboard/index.html.erb} +0 -0
- data/app/views/{admin_templates/good/admin/dashboard/index.html.erb → kirgudu_base/admin/zapanel/common/dashboard.html.erb} +246 -245
- data/app/views/{admin_templates/good/kirgudu_base/old/restore.html.erb → kirgudu_base/admin/zapanel/common/delete.html.erb} +0 -0
- data/app/views/{admin_templates/good/admin/shared/renderer_edit.html.erb → kirgudu_base/admin/zapanel/common/edit.html.erb} +45 -25
- data/app/views/{admin_templates/good_flexy/admin/common/files/upload.html.erb → kirgudu_base/admin/zapanel/common/file_upload.html.erb} +6 -6
- data/app/views/{admin_templates/good/admin/common/images/mass_upload.html.erb → kirgudu_base/admin/zapanel/common/image_upload.html.erb} +0 -0
- data/app/views/kirgudu_base/admin/zapanel/common/index.html.erb +174 -0
- data/app/views/kirgudu_base/admin/zapanel/common/index_temp.html.erb +192 -0
- data/app/views/{admin_templates/good/admin/shared/renderer_management.html.erb → kirgudu_base/admin/zapanel/common/management.html.erb} +0 -0
- data/app/views/{admin_templates/good/admin/shared/renderer_new.html.erb → kirgudu_base/admin/zapanel/common/new.html.erb} +10 -8
- data/app/views/kirgudu_base/admin/zapanel/common/show.html.erb +270 -0
- data/app/views/{admin_templates/good/admin/shared/renderer_show.html.erb → kirgudu_base/admin/zapanel/common/show_temp.html.erb} +98 -86
- data/app/views/{admin_templates/good/admin/shared/renderer_sorting.html.erb → kirgudu_base/admin/zapanel/common/sorting.html.erb} +0 -0
- data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/layouts/application.html.erb +97 -82
- data/app/views/{admin_templates/good_flexy/admin → kirgudu_base/admin/zapanel}/shared/_breadcrumbs.html.erb +1 -1
- data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_chat.html.erb +1 -1
- data/app/views/kirgudu_base/admin/zapanel/shared/_left_menu.html.erb +46 -0
- data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_left_menu_emails.html.erb +1 -1
- data/app/views/{admin_templates/good_flexy/admin/shared/renderer_delete.html.erb → kirgudu_base/admin/zapanel/shared/_left_menu_item.html.erb} +0 -0
- data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_left_menu_section.html.erb +1 -1
- data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_left_menu_social_stats.html.erb +3 -3
- data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_left_menu_tags.html.erb +0 -0
- data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_sticky_notification.html.erb +0 -0
- data/app/views/kirgudu_base/admin/zapanel/shared/_top_menu_complex.html.erb +7 -0
- data/app/views/kirgudu_base/admin/zapanel/shared/_top_menu_simple.html.erb +5 -0
- data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/entry_not_found.html.erb +0 -0
- data/app/views/{admin_templates/good/admin/shared/404.html.erb → kirgudu_base/admin/zapanel/shared/page_404.html.erb} +0 -0
- data/app/views/{admin_templates/good/kirgudu_base/authentications → kirgudu_base/authentications/zapanel}/login.html.erb +0 -0
- data/app/views/{admin_templates/good/kirgudu_base/authentications → kirgudu_base/authentications/zapanel}/register.html.erb +0 -0
- data/config/locales/kirgudu_base.en.yml +138 -1
- data/config/locales/kirgudu_base.es.yml +138 -1
- data/config/locales/kirgudu_base.ru.yml +70 -1
- data/db/migrate/20130913084129_create_kirgudu_base_security_users.rb +10 -3
- data/db/migrate/20140413134252_create_kirgudu_base_security_authentications.rb +2 -2
- data/db/migrate/20140413201121_add_confirmations_kirgudu_base_security_users.rb +2 -2
- data/db/migrate/20140517202608_create_kirgudu_base_security_login_providers.rb +24 -0
- data/db/migrate/20140712073938_change_deletion_statsus_in_security_user.rb +5 -0
- data/db/migrate/20140712074215_change_deletion_statsus_in_common_portal.rb +5 -0
- data/db/migrate/20140712074220_change_deletion_statsus_in_common_portal_user.rb +5 -0
- data/lib/kirgudu_base/engine.rb +1 -0
- data/test/fixtures/kirgudu_base/security/login_providers.yml +13 -0
- data/test/fixtures/kirgudu_base/sso/login_providers.yml +13 -0
- data/test/models/kirgudu_base/security/login_provider_test.rb +9 -0
- data/test/models/kirgudu_base/sso/login_provider_test.rb +9 -0
- metadata +638 -642
- data/app/assets/images/kirgudu_base/web/banner.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/black.png +0 -0
- data/app/assets/images/kirgudu_base/web/body.png +0 -0
- data/app/assets/images/kirgudu_base/web/col_img1.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/col_img2.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/coll_campaign.png +0 -0
- data/app/assets/images/kirgudu_base/web/coll_list_head.png +0 -0
- data/app/assets/images/kirgudu_base/web/coll_new.png +0 -0
- data/app/assets/images/kirgudu_base/web/coll_no_img.png +0 -0
- data/app/assets/images/kirgudu_base/web/coll_podr.png +0 -0
- data/app/assets/images/kirgudu_base/web/factory.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/fancybox/blank.gif +0 -0
- data/app/assets/images/kirgudu_base/web/fancybox/fancybox_buttons.png +0 -0
- data/app/assets/images/kirgudu_base/web/fancybox/fancybox_loading.gif +0 -0
- data/app/assets/images/kirgudu_base/web/fancybox/fancybox_overlay.png +0 -0
- data/app/assets/images/kirgudu_base/web/fancybox/fancybox_sprite.png +0 -0
- data/app/assets/images/kirgudu_base/web/fancybox/fancybox_sprite1.png +0 -0
- data/app/assets/images/kirgudu_base/web/flag1.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/flag2.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.css +0 -8
- data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.eot +0 -0
- data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.svg +0 -7555
- data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.ttf +0 -0
- data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.woff +0 -0
- data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadprocond.eot +0 -0
- data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.css +0 -8
- data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.eot +0 -0
- data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.svg +0 -7887
- data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.ttf +0 -0
- data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.woff +0 -0
- data/app/assets/images/kirgudu_base/web/green.png +0 -0
- data/app/assets/images/kirgudu_base/web/grey.png +0 -0
- data/app/assets/images/kirgudu_base/web/header_black.png +0 -0
- data/app/assets/images/kirgudu_base/web/kolonna.png +0 -0
- data/app/assets/images/kirgudu_base/web/li_1.png +0 -0
- data/app/assets/images/kirgudu_base/web/li_2.png +0 -0
- data/app/assets/images/kirgudu_base/web/li_3.png +0 -0
- data/app/assets/images/kirgudu_base/web/li_4.png +0 -0
- data/app/assets/images/kirgudu_base/web/li_5.png +0 -0
- data/app/assets/images/kirgudu_base/web/logo.png +0 -0
- data/app/assets/images/kirgudu_base/web/map.png +0 -0
- data/app/assets/images/kirgudu_base/web/map_2.png +0 -0
- data/app/assets/images/kirgudu_base/web/nav_active.png +0 -0
- data/app/assets/images/kirgudu_base/web/nognicy.png +0 -0
- data/app/assets/images/kirgudu_base/web/orange.png +0 -0
- data/app/assets/images/kirgudu_base/web/pagination.png +0 -0
- data/app/assets/images/kirgudu_base/web/pdf.png +0 -0
- data/app/assets/images/kirgudu_base/web/plit_1.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/plit_2.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/plit_3.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/plit_4.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/post_img.jpg +0 -0
- data/app/assets/images/kirgudu_base/web/red_line.png +0 -0
- data/app/assets/images/kirgudu_base/web/shadow_bottom.png +0 -0
- data/app/assets/images/kirgudu_base/web/shadow_top.png +0 -0
- data/app/assets/images/kirgudu_base/web/show-room.php +0 -71
- data/app/assets/images/kirgudu_base/web/slider.png +0 -0
- data/app/assets/images/kirgudu_base/web/slider_bg.png +0 -0
- data/app/assets/images/kirgudu_base/web/slider_but.png +0 -0
- data/app/assets/images/kirgudu_base/web/sprite_index.png +0 -0
- data/app/assets/images/kirgudu_base/web/sprite_vert.png +0 -0
- data/app/assets/images/kirgudu_base/web/top_nav.png +0 -0
- data/app/assets/images/kirgudu_base/web/transperent_bg.png +0 -0
- data/app/assets/images/kirgudu_base/web/transperent_bg1.png +0 -0
- data/app/assets/images/kirgudu_base/web/up_down.png +0 -0
- data/app/assets/images/kirgudu_base/web/yellow.png +0 -0
- data/app/assets/javascripts/kirgudu_base/application.js +0 -15
- data/app/assets/javascripts/kirgudu_base/delete.js +0 -67
- data/app/assets/javascripts/kirgudu_base/jquery-ui-1.8.23.custom.min.js +0 -125
- data/app/assets/javascripts/kirgudu_base/jquery-ui-1.8.23.custom.min_d9931121.js +0 -125
- data/app/assets/javascripts/kirgudu_base/jquery.fancybox.js +0 -2020
- data/app/assets/javascripts/kirgudu_base/jquery.jcarousel.min.js +0 -16
- data/app/assets/javascripts/kirgudu_base/jquery.json-2.3.min.js +0 -23
- data/app/assets/javascripts/kirgudu_base/jquery.uploadify.js +0 -986
- data/app/assets/javascripts/kirgudu_base/movie_data.js +0 -2347
- data/app/assets/javascripts/kirgudu_base/scripts_OLD.js +0 -204
- data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.svg +0 -255
- data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont_2d2816fe.eot +0 -0
- data/app/assets/stylesheets/kirgudu_base/admin/good/range-slider.normalize.min.css +0 -50
- data/app/helpers/kirgudu_base/controllers/OLD_basic_actions.rb +0 -449
- data/app/helpers/kirgudu_base/controllers/basic_actions_with_subordinates.rb +0 -67
- data/app/models/kirgudu_base/dynamic_filters/obligatory_filter.rb +0 -24
- data/app/models/kirgudu_base/dynamic_filters/obligatory_filter_builder.rb +0 -47
- data/app/models/kirgudu_base/dynamic_pages/controller_link.rb +0 -40
- data/app/models/kirgudu_base/dynamic_pages/controller_link_id.rb +0 -35
- data/app/models/kirgudu_base/dynamic_pages/controller_link_id_builder.rb +0 -38
- data/app/models/kirgudu_base/dynamic_transactions/enums.rb +0 -13
- data/app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb +0 -25
- data/app/models/kirgudu_base/security/autheintication.rb +0 -4
- data/app/views/admin_templates/good/admin/common/files/upload.html.erb +0 -203
- data/app/views/admin_templates/good/admin/layouts/OLD_application.html.erb +0 -518
- data/app/views/admin_templates/good/admin/shared/_left_menu.html.erb +0 -148
- data/app/views/admin_templates/good/admin/shared/render_new_OLD.html.erb +0 -90
- data/app/views/admin_templates/good/admin/shared/renderer_edit_OLD.html.erb +0 -106
- data/app/views/admin_templates/good/admin/shared/renderer_entries_list.html.erb +0 -178
- data/app/views/admin_templates/good/admin/shared/renderer_entries_list_with_parent.html.erb +0 -149
- data/app/views/admin_templates/good/admin/shared/renderer_show_OLD.html.erb +0 -159
- data/app/views/admin_templates/good/kirgudu_base/old/login_page.html.erb +0 -253
- data/app/views/admin_templates/good/kirgudu_base/old/show.html.erb +0 -39
- data/app/views/admin_templates/good_flexy/admin/common/images/mass_upload.html.erb +0 -9
- data/app/views/admin_templates/good_flexy/admin/dashboard/index.html.erb +0 -568
- data/app/views/admin_templates/good_flexy/admin/layouts/OLD_application.html.erb +0 -518
- data/app/views/admin_templates/good_flexy/admin/layouts/application.html.erb +0 -1297
- data/app/views/admin_templates/good_flexy/admin/shared/404.html.erb +0 -29
- data/app/views/admin_templates/good_flexy/admin/shared/_chat.html.erb +0 -49
- data/app/views/admin_templates/good_flexy/admin/shared/_left_menu.html.erb +0 -144
- data/app/views/admin_templates/good_flexy/admin/shared/_left_menu_emails.html.erb +0 -20
- data/app/views/admin_templates/good_flexy/admin/shared/_left_menu_social_stats.html.erb +0 -20
- data/app/views/admin_templates/good_flexy/admin/shared/_left_menu_tags.html.erb +0 -3
- data/app/views/admin_templates/good_flexy/admin/shared/_sticky_notification.html.erb +0 -11
- data/app/views/admin_templates/good_flexy/admin/shared/entry_not_found.html.erb +0 -1
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_entries_list.html.erb +0 -165
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_entries_list_with_parent.html.erb +0 -149
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_form_edit.html.erb +0 -119
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_form_new.html.erb +0 -90
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_page_elements.html.erb +0 -11
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_show.html.erb +0 -149
- data/app/views/security/authentications/login_page.html.erb +0 -253
- data/app/views/security/authentications/restore.html.erb +0 -0
- data/app/views/security/authentications/show.html.erb +0 -35
- data/app/views/shared/kirgudu_base/manage_images/managing_items_index.html.erb +0 -34
- data/app/views/shared/kirgudu_base/manage_images/managing_items_manage.html.erb +0 -72
- data/app/views/shared/kirgudu_base/manage_images/managing_items_sort_index.html.erb +0 -33
- data/app/views/shared/kirgudu_base/manage_items/managing_items_index.html.erb +0 -42
- data/app/views/shared/kirgudu_base/manage_items/managing_items_manage.html.erb +0 -66
- data/app/views/shared/kirgudu_base/manage_items/managing_items_sort_index.html.erb +0 -33
@@ -94,7 +94,6 @@ module KirguduBase
|
|
94
94
|
|
95
95
|
|
96
96
|
def print_property item, method, options = {}
|
97
|
-
|
98
97
|
if item == false || item.nil?
|
99
98
|
"{{#{method.to_s}}}" if method #prints name for MUSTACHE
|
100
99
|
else
|
@@ -108,10 +107,10 @@ module KirguduBase
|
|
108
107
|
|
109
108
|
|
110
109
|
def render_json(data, options={})
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
110
|
+
hash = {
|
111
|
+
status: ::ChupakabraTools::ApiStatus.id_by_tag('ok'),
|
112
|
+
message: "ok"
|
113
|
+
}.merge(options || {})
|
115
114
|
|
116
115
|
if data
|
117
116
|
if data.is_a?(Array)
|
@@ -134,102 +133,65 @@ module KirguduBase
|
|
134
133
|
end
|
135
134
|
end
|
136
135
|
|
137
|
-
def render_json_nav(items, options={})
|
138
|
-
hash = {}.merge(options)
|
139
|
-
|
140
|
-
hash.merge!({
|
141
|
-
status: ::ChupakabraTools::JsonStatus.id_by_tag('ok')
|
142
|
-
#total_pages: (items.total_pages if items.respond_to? :total_pages)
|
143
|
-
})
|
144
|
-
|
145
|
-
|
146
|
-
hash[:page] ||= items.current_page if items.respond_to? :current_page
|
147
|
-
hash[:nav_url] ||= items.klass.nav_url(scope) if items.respond_to?(:klass) && items.klass.respond_to?(:nav_url_template)
|
148
|
-
|
149
|
-
hash[:message] ||= ''
|
150
|
-
|
151
|
-
render_json(items, hash)
|
152
|
-
end
|
153
|
-
|
154
|
-
|
155
136
|
def render_json_error(options={})
|
156
137
|
|
157
|
-
hash = {
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
hash[:message] ||= 'unexpected error'
|
162
|
-
|
138
|
+
hash = {
|
139
|
+
message: "unexpected error"
|
140
|
+
}.merge(options || {})
|
141
|
+
.megre({status: ::ChupakabraTools::ApiStatus.id_by_tag('error')})
|
163
142
|
render_json(nil, hash)
|
164
143
|
end
|
165
144
|
|
166
145
|
def render_json_ok(items, options={})
|
167
146
|
|
168
|
-
hash = {
|
169
|
-
|
170
|
-
|
171
|
-
})
|
172
|
-
hash[:message] ||= ''
|
147
|
+
hash = {
|
148
|
+
message: ""
|
149
|
+
}.merge(options || {}).merge({status: ::ChupakabraTools::ApiStatus.id_by_tag('ok')})
|
173
150
|
|
174
151
|
render_json(items, hash)
|
175
152
|
end
|
176
153
|
|
177
154
|
|
178
|
-
def
|
179
|
-
hash = {
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
status: ::ChupakabraTools::JsonStatus.id_by_tag('ok')
|
186
|
-
})
|
187
|
-
|
188
|
-
hash[:message] ||= ''
|
189
|
-
|
190
|
-
render_json(items, hash)
|
191
|
-
end
|
192
|
-
|
193
|
-
|
194
|
-
def render_json_noauth(options={})
|
195
|
-
hash = {}.merge(options)
|
196
|
-
hash.merge!({
|
197
|
-
status: ::ChupakabraTools::JsonStatus.id_by_tag('need_authentication')
|
198
|
-
})
|
199
|
-
hash[:message] ||= I18n.t('common.messages.not_authenticated')
|
200
|
-
|
155
|
+
def render_json_need_authentication(options={})
|
156
|
+
hash = {
|
157
|
+
message: I18n.t('common.messages.not_authenticated')
|
158
|
+
}.merge(options || {})
|
159
|
+
.merge({
|
160
|
+
status: ::ChupakabraTools::ApiStatus.id_by_tag('need_authentication')
|
161
|
+
})
|
201
162
|
render_json(nil, hash)
|
202
163
|
end
|
203
164
|
|
204
165
|
def render_json_access_denied(options={})
|
205
|
-
hash = {
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
166
|
+
hash = {
|
167
|
+
message: I18n.t('core.messages.access_denied')
|
168
|
+
}.merge(options || {})
|
169
|
+
.merge({
|
170
|
+
status: ::ChupakabraTools::ApiStatus.id_by_tag('access_denied')
|
171
|
+
})
|
172
|
+
|
210
173
|
|
211
174
|
render_json(nil, hash)
|
212
175
|
end
|
213
176
|
|
214
177
|
|
215
178
|
def render_json_not_found(options={})
|
216
|
-
hash = {
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
179
|
+
hash = {
|
180
|
+
message: I18n.t('core.messages.record_not_found')
|
181
|
+
}.merge(options || {})
|
182
|
+
.merge({
|
183
|
+
status: ::ChupakabraTools::ApiStatus.id_by_tag('record_not_found')
|
184
|
+
})
|
222
185
|
render_json(nil, hash)
|
223
186
|
end
|
224
187
|
|
225
|
-
|
226
188
|
def render_json_page_404(options = {})
|
227
|
-
hash = {
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
189
|
+
hash = {
|
190
|
+
message: I18n.t('core.messages.page_404')
|
191
|
+
}.merge(options || {})
|
192
|
+
.merge({
|
193
|
+
status: ::ChupakabraTools::ApiStatus.id_by_tag('page_404')
|
194
|
+
})
|
233
195
|
render_json(nil, hash)
|
234
196
|
end
|
235
197
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module KirguduBase
|
2
|
+
module ConfigurationHelper
|
3
|
+
def self.load_environment_variables(config, file_name)
|
4
|
+
config.before_configuration do
|
5
|
+
env_file = Rails.root.join("config", file_name).to_s
|
6
|
+
YAML.load_file(env_file)[Rails.env].each do |key, value|
|
7
|
+
ENV[key.to_s] = value
|
8
|
+
end if File.exists?(env_file)
|
9
|
+
end # end config.before_configuration
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -10,14 +10,13 @@ module KirguduBase
|
|
10
10
|
module Base
|
11
11
|
module IndexActions
|
12
12
|
|
13
|
+
|
13
14
|
def index
|
14
15
|
#raise self.entry_class
|
15
16
|
raise "No defined \"entry_class\" method for controller #{self.class}" if !self.respond_to?(:entry_class) && self.entry_class.nil?
|
16
17
|
#raise "Current User NULL" if @current_user.nil?
|
17
18
|
|
18
|
-
unless self.class.respond_to?(:get_kb_page)
|
19
|
-
raise "Method :get_kb_page must be implemented for controller '#{self.class}'"
|
20
|
-
end
|
19
|
+
raise "Method :get_kb_page must be implemented for controller '#{self.class}'" unless self.class.respond_to?(:get_kb_page)
|
21
20
|
|
22
21
|
options = {
|
23
22
|
logger: string_logger
|
@@ -26,25 +25,20 @@ module KirguduBase
|
|
26
25
|
local_data = {
|
27
26
|
errors: [],
|
28
27
|
messages: [],
|
29
|
-
|
28
|
+
page: self.class.get_kb_page(:index)
|
30
29
|
}
|
31
30
|
|
32
|
-
|
33
|
-
|
34
|
-
format.html { render_html1 "#{self.class.get_method_latest_result(:get_kb_template)}/#{self.class.get_method_latest_result(:get_kb_view_path, :page_404)}" }
|
35
|
-
format.json { render_json_page_404 }
|
36
|
-
end
|
37
|
-
return
|
38
|
-
end
|
31
|
+
# Rendering 'Page not Found' and completing Request
|
32
|
+
self.def render_page_404 and return unless local_data[:page]
|
39
33
|
|
40
34
|
# fill parent for data
|
41
35
|
filters_for_parents = {}
|
42
|
-
self.
|
36
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
43
37
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
44
38
|
|
45
39
|
|
46
40
|
filters = self.get_filters_for_list(local_data[:page].lists[:entries_list], params)
|
47
|
-
self.
|
41
|
+
self.fill_obligatory_db_query_params(filters)
|
48
42
|
filters.merge!(local_data[:parent_ids])
|
49
43
|
|
50
44
|
filters[:per_page] = 30 unless filters[:per_page]
|
@@ -61,15 +55,8 @@ module KirguduBase
|
|
61
55
|
local_data[:current_url] = self.to_url_for(:index, filters_for_current_url)
|
62
56
|
|
63
57
|
# building breadcrumbs
|
64
|
-
|
65
|
-
|
66
|
-
if home_controller
|
67
|
-
if self.class == home_controller
|
68
|
-
add_new_breadcrumb(I18n.t("#{home_controller.to_i18n}.index.title"))
|
69
|
-
else
|
70
|
-
add_new_breadcrumb(I18n.t("#{home_controller.to_i18n}.index.title"), home_controller.to_url_for(:index))
|
71
|
-
end
|
72
|
-
end
|
58
|
+
self.kb_dp_breadcrumbs_build_for_index(local_data, true) #index page
|
59
|
+
|
73
60
|
parent_ids = {}
|
74
61
|
local_data[:parents].each do |parent|
|
75
62
|
# breadcrumbs: adding parent index
|
@@ -86,7 +73,6 @@ module KirguduBase
|
|
86
73
|
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
87
74
|
|
88
75
|
|
89
|
-
|
90
76
|
# logger.info "TEMPLATE PATH: #{self.class.get_method_latest_result(:get_kb_template)}"
|
91
77
|
# logger.info "VIEW PATH: #{self.class.get_method_latest_result(:get_kb_view_path, :index)}"
|
92
78
|
|
@@ -99,6 +85,78 @@ module KirguduBase
|
|
99
85
|
end
|
100
86
|
|
101
87
|
|
88
|
+
module DashboardActions
|
89
|
+
|
90
|
+
def dashboard
|
91
|
+
#raise self.entry_class
|
92
|
+
raise "No defined \"entry_class\" method for controller #{self.class}" if !self.respond_to?(:entry_class) && self.entry_class.nil?
|
93
|
+
#raise "Current User NULL" if @current_user.nil?
|
94
|
+
|
95
|
+
unless self.class.respond_to?(:get_kb_page)
|
96
|
+
raise "Method :get_kb_page must be implemented for controller '#{self.class}'"
|
97
|
+
end
|
98
|
+
|
99
|
+
options = {
|
100
|
+
logger: string_logger
|
101
|
+
}
|
102
|
+
|
103
|
+
local_data = {
|
104
|
+
errors: [],
|
105
|
+
messages: [],
|
106
|
+
page: self.class.get_kb_page(:dashboard)
|
107
|
+
}
|
108
|
+
|
109
|
+
unless local_data[:page]
|
110
|
+
respond_to do |format|
|
111
|
+
format.html { render_html1 "#{self.class.get_method_latest_result(:get_kb_template)}/#{self.class.get_method_latest_result(:get_kb_view_path, :page_404)}" }
|
112
|
+
format.json { render_json_page_404 }
|
113
|
+
end
|
114
|
+
return
|
115
|
+
end
|
116
|
+
|
117
|
+
# fill parent for data
|
118
|
+
filters_for_parents = {}
|
119
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
120
|
+
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
121
|
+
|
122
|
+
|
123
|
+
# filling filters for current url
|
124
|
+
filters_for_current_url = self.get_filters_for_list(local_data[:page].lists[:entries_list], params)
|
125
|
+
filters_for_current_url.merge!(local_data[:parent_ids])
|
126
|
+
local_data[:current_url] = self.to_url_for(:index, filters_for_current_url)
|
127
|
+
|
128
|
+
|
129
|
+
# building breadcrumbs
|
130
|
+
self.kb_dp_breadcrumbs_build_for_index(local_data, true) #index page
|
131
|
+
|
132
|
+
|
133
|
+
parent_ids = {}
|
134
|
+
local_data[:parents].each do |parent|
|
135
|
+
# breadcrumbs: adding parent index
|
136
|
+
add_new_breadcrumb(I18n.t("#{parent[:controller].to_i18n}.index.title"), parent[:controller].to_url_for(:index, parent_ids))
|
137
|
+
# breadcrumbs: getting parent entry name
|
138
|
+
parent_entry_name = nil
|
139
|
+
parent_entry_name = parent[:entry].name_for_breadcrumbs if parent[:entry].respond_to?(:name_for_breadcrumbs)
|
140
|
+
parent_entry_name = parent[:entry].id unless parent_entry_name
|
141
|
+
# breadcrumbs: adding parent entry
|
142
|
+
add_new_breadcrumb(parent_entry_name, parent[:controller].to_url_for(:show, parent_ids.merge(id: parent[:entry].id)))
|
143
|
+
parent_ids[parent[:id_param]] = parent[:id_value]
|
144
|
+
end if local_data[:parents]
|
145
|
+
# breadcrumbs: adding current index
|
146
|
+
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
147
|
+
|
148
|
+
|
149
|
+
# logger.info "TEMPLATE PATH: #{self.class.get_method_latest_result(:get_kb_template)}"
|
150
|
+
# logger.info "VIEW PATH: #{self.class.get_method_latest_result(:get_kb_view_path, :index)}"
|
151
|
+
|
152
|
+
# rendering page
|
153
|
+
respond_to do |format|
|
154
|
+
format.html { render_html1 "#{self.class.get_method_latest_result(:get_kb_template)}/#{self.class.get_method_latest_result(:get_kb_view_path, :dashboard)}", locals: {data: local_data} }
|
155
|
+
format.json { render_json_ok(nil) }
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
102
160
|
|
103
161
|
module ShowActions
|
104
162
|
def show
|
@@ -127,11 +185,11 @@ module KirguduBase
|
|
127
185
|
|
128
186
|
# fill parent for data
|
129
187
|
filters_for_parents = {}
|
130
|
-
self.
|
188
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
131
189
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
132
190
|
# fill filters for search
|
133
191
|
filters = {}
|
134
|
-
self.
|
192
|
+
self.fill_obligatory_db_query_params(filters)
|
135
193
|
filters.merge!(local_data[:parent_ids])
|
136
194
|
# getting local entry
|
137
195
|
local_data[:entry] = self.entry_class.get_entry_by_id(params[:id], filters, options)
|
@@ -148,7 +206,7 @@ module KirguduBase
|
|
148
206
|
local_data[:page].lists.each_pair do |key, list|
|
149
207
|
if list.relation
|
150
208
|
filters_for_list = {}
|
151
|
-
self.
|
209
|
+
self.fill_obligatory_db_query_params(filters_for_list)
|
152
210
|
reflection = self.entry_class.reflections[list.relation.name]
|
153
211
|
list_per_page = list.relation.per_page_param
|
154
212
|
list_page = list.relation.page_param
|
@@ -176,35 +234,12 @@ module KirguduBase
|
|
176
234
|
|
177
235
|
# fill parent for data
|
178
236
|
filters_for_parents = {}
|
179
|
-
self.
|
237
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
180
238
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
239
|
+
|
181
240
|
# building breadcrumbs
|
182
|
-
|
183
|
-
|
184
|
-
add_new_breadcrumb(I18n.t("#{home_controller.to_i18n}.index.title"), home_controller.to_url_for(:index)) if home_controller
|
185
|
-
parent_ids = {}
|
186
|
-
local_data[:parents].each do |parent|
|
187
|
-
# breadcrumbs: adding parent index
|
188
|
-
add_new_breadcrumb(I18n.t("#{parent[:controller].to_i18n}.index.title"), parent[:controller].to_url_for(:index, parent_ids))
|
189
|
-
# breadcrumbs: getting parent entry name
|
190
|
-
parent_entry_name = nil
|
191
|
-
parent_entry_name = parent[:entry].name_for_breadcrumbs if parent[:entry].respond_to?(:name_for_breadcrumbs)
|
192
|
-
parent_entry_name = parent[:entry].id unless parent_entry_name
|
193
|
-
# breadcrumbs: adding parent entry
|
194
|
-
add_new_breadcrumb(parent_entry_name, parent[:controller].to_url_for(:show, parent_ids.merge(id: parent[:entry].id)))
|
195
|
-
parent_ids[parent[:id_param]] = parent[:id_value]
|
196
|
-
end if local_data[:parents]
|
197
|
-
# breadcrumbs: adding current index
|
198
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
199
|
-
# breadcrumbs: getting current entry name
|
200
|
-
current_entry_name = nil
|
201
|
-
if local_data[:entry].respond_to?(:name_for_breadcrumbs)
|
202
|
-
current_entry_name = local_data[:entry].name_for_breadcrumbs
|
203
|
-
#current_entry_name.trim(20) if current_entry_name
|
204
|
-
end
|
205
|
-
current_entry_name = local_data[:entry].id unless current_entry_name
|
206
|
-
# breadcrumbs: adding current entry
|
207
|
-
add_new_breadcrumb(current_entry_name)
|
241
|
+
self.kb_dp_breadcrumbs_build_for_index(local_data, false) #not index page
|
242
|
+
|
208
243
|
# rendering page
|
209
244
|
respond_to do |format|
|
210
245
|
format.html { render_html1 "#{self.class.get_method_latest_result(:get_kb_template)}/#{self.class.get_method_latest_result(:get_kb_view_path, :show)}", locals: {data: local_data} }
|
@@ -236,7 +271,7 @@ module KirguduBase
|
|
236
271
|
end
|
237
272
|
|
238
273
|
filters = {}
|
239
|
-
self.
|
274
|
+
self.fill_obligatory_db_query_params(filters)
|
240
275
|
|
241
276
|
# getting entry
|
242
277
|
local_data[:entry] = entry_class.new
|
@@ -245,28 +280,11 @@ module KirguduBase
|
|
245
280
|
|
246
281
|
# fill parent for data
|
247
282
|
filters_for_parents = {}
|
248
|
-
self.
|
283
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
249
284
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
250
285
|
|
251
286
|
# building breadcrumbs
|
252
|
-
|
253
|
-
home_controller = eval(home_controller) if home_controller and home_controller.is_a?(String)
|
254
|
-
add_new_breadcrumb(I18n.t("#{home_controller.to_i18n}.index.title"), home_controller.to_url_for(:index)) if home_controller
|
255
|
-
parent_ids = {}
|
256
|
-
local_data[:parents].each do |parent|
|
257
|
-
# breadcrumbs: adding parent index
|
258
|
-
add_new_breadcrumb(I18n.t("#{parent[:controller].to_i18n}.index.title"), parent[:controller].to_url_for(:index, parent_ids))
|
259
|
-
# breadcrumbs: getting parent entry name
|
260
|
-
parent_entry_name = nil
|
261
|
-
parent_entry_name = parent[:entry].name_for_breadcrumbs if parent[:entry].respond_to?(:name_for_breadcrumbs)
|
262
|
-
parent_entry_name = parent[:entry].id unless parent_entry_name
|
263
|
-
# breadcrumbs: adding parent entry
|
264
|
-
add_new_breadcrumb(parent_entry_name, parent[:controller].to_url_for(:show, parent_ids.merge(id: parent[:entry].id)))
|
265
|
-
parent_ids[parent[:id_param]] = parent[:id_value]
|
266
|
-
end if local_data[:parents]
|
267
|
-
# breadcrumbs: adding current index
|
268
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
269
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.new.title"))
|
287
|
+
self.kb_dp_breadcrumbs_build_for_index(local_data, false) #not index page
|
270
288
|
|
271
289
|
# rendering page
|
272
290
|
respond_to do |format|
|
@@ -298,12 +316,12 @@ module KirguduBase
|
|
298
316
|
|
299
317
|
# fill parent for data
|
300
318
|
filters_for_parents = {}
|
301
|
-
self.
|
319
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
302
320
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
303
321
|
|
304
322
|
|
305
323
|
strong_params = {}.merge(self.class_strong_params(local_data[:page].forms[:changes]))
|
306
|
-
self.
|
324
|
+
self.fill_obligatory_db_query_params(strong_params)
|
307
325
|
strong_params.merge!(local_data[:parent_ids])
|
308
326
|
|
309
327
|
# getting entry
|
@@ -345,24 +363,7 @@ module KirguduBase
|
|
345
363
|
|
346
364
|
|
347
365
|
# building breadcrumbs
|
348
|
-
|
349
|
-
home_controller = eval(home_controller) if home_controller and home_controller.is_a?(String)
|
350
|
-
add_new_breadcrumb(I18n.t("#{home_controller.to_i18n}.index.title"), home_controller.to_url_for(:index)) if home_controller
|
351
|
-
parent_ids = {}
|
352
|
-
local_data[:parents].each do |parent|
|
353
|
-
# breadcrumbs: adding parent index
|
354
|
-
add_new_breadcrumb(I18n.t("#{parent[:controller].to_i18n}.index.title"), parent[:controller].to_url_for(:index, parent_ids))
|
355
|
-
# breadcrumbs: getting parent entry name
|
356
|
-
parent_entry_name = nil
|
357
|
-
parent_entry_name = parent[:entry].name_for_breadcrumbs if parent[:entry].respond_to?(:name_for_breadcrumbs)
|
358
|
-
parent_entry_name = parent[:entry].id unless parent_entry_name
|
359
|
-
# breadcrumbs: adding parent entry
|
360
|
-
add_new_breadcrumb(parent_entry_name, parent[:controller].to_url_for(:show, parent_ids.merge(id: parent[:entry].id)))
|
361
|
-
parent_ids[parent[:id_param]] = parent[:id_value]
|
362
|
-
end if local_data[:parents]
|
363
|
-
# breadcrumbs: adding current index
|
364
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
365
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.new.title"))
|
366
|
+
self.kb_dp_breadcrumbs_build_for_index(local_data, false) #not index page
|
366
367
|
|
367
368
|
# rendering page
|
368
369
|
format.html { render_html1 "#{self.class.get_method_latest_result(:get_kb_template)}/#{self.class.get_method_latest_result(:get_kb_view_path, :new)}", locals: {data: local_data} }
|
@@ -397,11 +398,11 @@ module KirguduBase
|
|
397
398
|
|
398
399
|
# fill parent for data
|
399
400
|
filters_for_parents = {}
|
400
|
-
self.
|
401
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
401
402
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
402
403
|
# filling filters for search
|
403
404
|
filters = {}
|
404
|
-
self.
|
405
|
+
self.fill_obligatory_db_query_params(filters)
|
405
406
|
filters.merge!(local_data[:parent_ids])
|
406
407
|
# retrieving entry from database
|
407
408
|
local_data[:entry] = self.entry_class.get_entry_by_id(params[:id], filters, {logger: string_logger})
|
@@ -419,28 +420,11 @@ module KirguduBase
|
|
419
420
|
|
420
421
|
# fill parent for data
|
421
422
|
filters_for_parents = {}
|
422
|
-
self.
|
423
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
423
424
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
424
425
|
# building breadcrumbs
|
425
|
-
|
426
|
-
|
427
|
-
add_new_breadcrumb(I18n.t("#{home_controller.to_i18n}.index.title"), home_controller.to_url_for(:index)) if home_controller
|
428
|
-
parent_ids = {}
|
429
|
-
local_data[:parents].each do |parent|
|
430
|
-
# breadcrumbs: adding parent index
|
431
|
-
add_new_breadcrumb(I18n.t("#{parent[:controller].to_i18n}.index.title"), parent[:controller].to_url_for(:index, parent_ids))
|
432
|
-
# breadcrumbs: getting parent entry name
|
433
|
-
parent_entry_name = nil
|
434
|
-
parent_entry_name = parent[:entry].name_for_breadcrumbs if parent[:entry].respond_to?(:name_for_breadcrumbs)
|
435
|
-
parent_entry_name = parent[:entry].id unless parent_entry_name
|
436
|
-
# breadcrumbs: adding parent entry
|
437
|
-
add_new_breadcrumb(parent_entry_name, parent[:controller].to_url_for(:show, parent_ids.merge(id: parent[:entry].id)))
|
438
|
-
parent_ids[parent[:id_param]] = parent[:id_value]
|
439
|
-
end if local_data[:parents]
|
440
|
-
# breadcrumbs: adding current index
|
441
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
442
|
-
# breadcrumbs: adding current entry
|
443
|
-
add_new_breadcrumb(local_data[:entry].id)
|
426
|
+
|
427
|
+
self.kb_dp_breadcrumbs_build_for_index(local_data, false) #not index page
|
444
428
|
|
445
429
|
# rendering page
|
446
430
|
respond_to do |format|
|
@@ -473,11 +457,11 @@ module KirguduBase
|
|
473
457
|
|
474
458
|
# fill parent for data
|
475
459
|
filters_for_parents = {}
|
476
|
-
self.
|
460
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
477
461
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
478
462
|
# filling filters for search
|
479
463
|
filters = {}
|
480
|
-
self.
|
464
|
+
self.fill_obligatory_db_query_params(filters)
|
481
465
|
filters.merge!(local_data[:parent_ids]) # merging search filters with parent ids
|
482
466
|
# retrieving data from database
|
483
467
|
local_data[:entry] = self.entry_class.get_entry_by_id(params[:id], filters, {logger: string_logger})
|
@@ -492,7 +476,7 @@ module KirguduBase
|
|
492
476
|
end
|
493
477
|
# getting string params from params
|
494
478
|
strong_params = {}.merge(self.class_strong_params(local_data[:page].forms[:changes]))
|
495
|
-
self.
|
479
|
+
self.fill_obligatory_db_query_params(strong_params)
|
496
480
|
|
497
481
|
self.process_transaction_injections(local_data[:entry], :update, :before_transaction, strong_params)
|
498
482
|
transaction_is_ok = true
|
@@ -528,25 +512,7 @@ module KirguduBase
|
|
528
512
|
|
529
513
|
|
530
514
|
# building breadcrumbs
|
531
|
-
|
532
|
-
home_controller = eval(home_controller) if home_controller and home_controller.is_a?(String)
|
533
|
-
add_new_breadcrumb(I18n.t("#{home_controller.to_i18n}.index.title"), home_controller.to_url_for(:index)) if home_controller
|
534
|
-
parent_ids = {}
|
535
|
-
local_data[:parents].each do |parent|
|
536
|
-
# breadcrumbs: adding parent index
|
537
|
-
add_new_breadcrumb(I18n.t("#{parent[:controller].to_i18n}.index.title"), parent[:controller].to_url_for(:index, parent_ids))
|
538
|
-
# breadcrumbs: getting parent entry name
|
539
|
-
parent_entry_name = nil
|
540
|
-
parent_entry_name = parent[:entry].name_for_breadcrumbs if parent[:entry].respond_to?(:name_for_breadcrumbs)
|
541
|
-
parent_entry_name = parent[:entry].id unless parent_entry_name
|
542
|
-
# breadcrumbs: adding parent entry
|
543
|
-
add_new_breadcrumb(parent_entry_name, parent[:controller].to_url_for(:show, parent_ids.merge(id: parent[:entry].id)))
|
544
|
-
parent_ids[parent[:id_param]] = parent[:id_value]
|
545
|
-
end if local_data[:parents]
|
546
|
-
# breadcrumbs: adding current index
|
547
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
548
|
-
# breadcrumbs: adding current entry
|
549
|
-
add_new_breadcrumb(local_data[:entry].id)
|
515
|
+
self.kb_dp_breadcrumbs_build_for_index(local_data, false) #not index page
|
550
516
|
|
551
517
|
|
552
518
|
format.html { render_html1 "#{self.class.get_method_latest_result(:get_kb_template)}/#{self.class.get_method_latest_result(:get_kb_view_path, :edit)}", locals: {data: local_data} }
|
@@ -579,11 +545,11 @@ module KirguduBase
|
|
579
545
|
|
580
546
|
# fill parent for data
|
581
547
|
filters_for_parents = {}
|
582
|
-
self.
|
548
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
583
549
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
584
550
|
# filling filters for search
|
585
551
|
filters = {}
|
586
|
-
self.
|
552
|
+
self.fill_obligatory_db_query_params(filters)
|
587
553
|
filters.merge!(local_data[:parent_ids])
|
588
554
|
# retrieving entry from database
|
589
555
|
local_data[:entry] = self.entry_class.get_entry_by_id(params[:id], filters, {logger: string_logger})
|
@@ -631,11 +597,11 @@ module KirguduBase
|
|
631
597
|
|
632
598
|
# fill parent for data
|
633
599
|
filters_for_parents = {}
|
634
|
-
self.
|
600
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
635
601
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
636
602
|
# filling filters for search
|
637
603
|
filters = {}
|
638
|
-
self.
|
604
|
+
self.fill_obligatory_db_query_params(filters)
|
639
605
|
filters.merge!(local_data[:parent_ids])
|
640
606
|
# retrieving entries from database
|
641
607
|
local_data[:entries] = self.entry_class.get_entries(nil, filters, options)
|
@@ -728,19 +694,19 @@ module KirguduBase
|
|
728
694
|
|
729
695
|
# fill parent for data
|
730
696
|
filters_for_parents = {}
|
731
|
-
self.
|
697
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
732
698
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
733
699
|
|
734
700
|
|
735
701
|
#loading container data
|
736
702
|
filters_4_container = {}
|
737
|
-
self.
|
703
|
+
self.fill_obligatory_db_query_params(filters_4_container)
|
738
704
|
filters_4_container.merge!(local_data[:parent_ids])
|
739
705
|
# retrieving container from database
|
740
706
|
local_data[:container] = local_container_class.get_entry_by_id(params[local_container_id_property], filters_4_container, options)
|
741
707
|
# filling filters for items
|
742
708
|
filters_4_items = {}
|
743
|
-
self.
|
709
|
+
self.fill_obligatory_db_query_params(filters_4_items)
|
744
710
|
filters_4_items.merge!(local_data[:parent_ids])
|
745
711
|
filters_4_items[local_container_id_property] = params[local_container_id_property]
|
746
712
|
# retrieving items from database
|
@@ -751,14 +717,14 @@ module KirguduBase
|
|
751
717
|
|
752
718
|
# filling filters for entries
|
753
719
|
filters_4_entries = {}
|
754
|
-
self.
|
720
|
+
self.fill_obligatory_db_query_params(filters_4_entries)
|
755
721
|
filters_4_entries[local_entry_id_property] = params[local_entry_id_property]
|
756
722
|
# retrieving entries from database
|
757
723
|
local_entries_initial_query = local_entry_class.where { -(id.in local_item_class.get_entries(nil, filters_4_items, options).select(local_entry_id_property)) }
|
758
724
|
|
759
725
|
#fill parent elements
|
760
726
|
filters_for_parents = {}
|
761
|
-
self.
|
727
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
762
728
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
763
729
|
|
764
730
|
local_entries = local_entry_class.get_entries(local_entries_initial_query, filters_4_entries, options)
|
@@ -766,24 +732,7 @@ module KirguduBase
|
|
766
732
|
|
767
733
|
|
768
734
|
# building breadcrumbs
|
769
|
-
|
770
|
-
home_controller = eval(home_controller) if home_controller and home_controller.is_a?(String)
|
771
|
-
add_new_breadcrumb(I18n.t("#{home_controller.to_i18n}.index.title"), home_controller.to_url_for(:index)) if home_controller
|
772
|
-
parent_ids = {}
|
773
|
-
local_data[:parents].each do |parent|
|
774
|
-
# breadcrumbs: adding parent index
|
775
|
-
add_new_breadcrumb(I18n.t("#{parent[:controller].to_i18n}.index.title"), parent[:controller].to_url_for(:index, parent_ids))
|
776
|
-
# breadcrumbs: getting parent entry name
|
777
|
-
parent_entry_name = nil
|
778
|
-
parent_entry_name = parent[:entry].name_for_breadcrumbs if parent[:entry].respond_to?(:name_for_breadcrumbs)
|
779
|
-
parent_entry_name = parent[:entry].id unless parent_entry_name
|
780
|
-
# breadcrumbs: adding parent entry
|
781
|
-
add_new_breadcrumb(parent_entry_name, parent[:controller].to_url_for(:show, parent_ids.merge(id: parent[:entry].id)))
|
782
|
-
parent_ids[parent[:id_param]] = parent[:id_value]
|
783
|
-
end if local_data[:parents]
|
784
|
-
# breadcrumbs: adding current index
|
785
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
786
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.management.title"))
|
735
|
+
self.kb_dp_breadcrumbs_build_for_index(local_data, false) #not index page
|
787
736
|
|
788
737
|
|
789
738
|
respond_to do |format|
|
@@ -837,30 +786,30 @@ module KirguduBase
|
|
837
786
|
|
838
787
|
# fill parent for data
|
839
788
|
filters_for_parents = {}
|
840
|
-
self.
|
789
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
841
790
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
842
791
|
|
843
792
|
|
844
793
|
#loading container from database
|
845
794
|
filters_4_container = {}
|
846
|
-
self.
|
795
|
+
self.fill_obligatory_db_query_params(filters_4_container)
|
847
796
|
local_data[:container] = local_container_class.get_entry_by_id(params[local_container_id_property], filters_4_container, options)
|
848
797
|
#checking if container not found
|
849
798
|
unless local_data[:container]
|
850
|
-
render json: {status: ::ChupakabraTools::
|
799
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('set_not_found'), message: I18n.t("#{self.to_i18n}.management.messages.set_not_found", id: params[local_container_id_property])}
|
851
800
|
return
|
852
801
|
end
|
853
802
|
|
854
803
|
|
855
804
|
#loading entry from database
|
856
805
|
filters_4_entries = {}
|
857
|
-
self.
|
806
|
+
self.fill_obligatory_db_query_params(filters_4_entries)
|
858
807
|
#local_data[:entry] = local_entry_class.get_entry_by_id(params[local_entry_id_property], filters_4_entries, options )
|
859
808
|
local_data[:entry] = local_entry_class.get_entry_by_id(params[:entry_id], filters_4_entries, options)
|
860
809
|
|
861
810
|
#checking if entry not found
|
862
811
|
unless local_data[:entry]
|
863
|
-
render json: {status: ::ChupakabraTools::
|
812
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('entry_not_found'), message: I18n.t("#{self.to_i18n}.management.messages.entry_not_found", entry_id: params[:entry_id])}
|
864
813
|
return
|
865
814
|
end
|
866
815
|
|
@@ -868,7 +817,7 @@ module KirguduBase
|
|
868
817
|
|
869
818
|
# loading item from database
|
870
819
|
filters_4_item = {}
|
871
|
-
self.
|
820
|
+
self.fill_obligatory_db_query_params(filters_4_item)
|
872
821
|
filters_4_item[local_container_id_property] = params[local_container_id_property]
|
873
822
|
#filters_4_item[local_entry_id_property] = params[local_entry_id_property]
|
874
823
|
filters_4_item[local_entry_id_property] = params[:entry_id]
|
@@ -884,7 +833,7 @@ module KirguduBase
|
|
884
833
|
|
885
834
|
if local_data[:item].respond_to?(:sort_position)
|
886
835
|
filters_4_items_max = {}
|
887
|
-
self.
|
836
|
+
self.fill_obligatory_db_query_params(filters_4_items_max)
|
888
837
|
filters_4_items_max[local_container_id_property] = params[local_container_id_property]
|
889
838
|
|
890
839
|
max_sort_position = local_item_class.get_entries(nil, filters_4_items_max, options).maximum(:sort_position)
|
@@ -915,12 +864,12 @@ module KirguduBase
|
|
915
864
|
|
916
865
|
# rendering page
|
917
866
|
if transaction_is_ok
|
918
|
-
render json: {status: ::ChupakabraTools::
|
867
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('ok'), message: I18n.t("#{self.to_i18n}.management.messages.add_management_ok")}
|
919
868
|
else
|
920
|
-
render json: {status: ::ChupakabraTools::
|
869
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('error'), message: I18n.t("#{self.to_i18n}.management.messages.add_management_error")}
|
921
870
|
end
|
922
871
|
else
|
923
|
-
render json: {status: ::ChupakabraTools::
|
872
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('entry_already_in_set'), message: I18n.t("#{self.to_i18n}.management.messages.entry_already_in_set")}
|
924
873
|
end
|
925
874
|
end
|
926
875
|
|
@@ -969,23 +918,23 @@ module KirguduBase
|
|
969
918
|
|
970
919
|
# fill parent for data
|
971
920
|
filters_for_parents = {}
|
972
|
-
self.
|
921
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
973
922
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
974
923
|
|
975
924
|
#loading container from database
|
976
925
|
filters_4_container = {}
|
977
|
-
self.
|
926
|
+
self.fill_obligatory_db_query_params(filters_4_container)
|
978
927
|
local_data[:container] = local_container_class.get_entry_by_id(params[local_container_id_property], filters_4_container, options)
|
979
928
|
#checking if container not found
|
980
929
|
unless local_data[:container]
|
981
|
-
render json: {status: ::ChupakabraTools::
|
930
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('set_not_found'), message: I18n.t("#{self.to_i18n}.management.messages.set_not_found", id: params[local_container_id_property])}
|
982
931
|
return
|
983
932
|
end
|
984
933
|
|
985
934
|
|
986
935
|
# loading item from database
|
987
936
|
filters_4_item = {}
|
988
|
-
self.
|
937
|
+
self.fill_obligatory_db_query_params(filters_4_item)
|
989
938
|
filters_4_item[local_container_id_property] = params[local_container_id_property]
|
990
939
|
filters_4_item[local_entry_id_property] = params[:entry_id]
|
991
940
|
|
@@ -993,14 +942,14 @@ module KirguduBase
|
|
993
942
|
|
994
943
|
|
995
944
|
unless local_data[:item]
|
996
|
-
render json: {status: ::ChupakabraTools::
|
945
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('item_not_found'), message: I18n.t("#{self.to_i18n}.management.messages.item_not_found", entry_id: params[:entry_id])}
|
997
946
|
return
|
998
947
|
end
|
999
948
|
|
1000
949
|
if local_data[:item].destroy
|
1001
|
-
render json: {status: ::ChupakabraTools::
|
950
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('ok'), message: I18n.t("#{self.to_i18n}.management.messages.remove_management_ok")}
|
1002
951
|
else
|
1003
|
-
render json: {status: ::ChupakabraTools::
|
952
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('error'), message: I18n.t("#{self.to_i18n}.management.messages.remove_management_error")}
|
1004
953
|
end
|
1005
954
|
end
|
1006
955
|
|
@@ -1051,19 +1000,19 @@ module KirguduBase
|
|
1051
1000
|
|
1052
1001
|
# fill parent for data
|
1053
1002
|
filters_for_parents = {}
|
1054
|
-
self.
|
1003
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
1055
1004
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
1056
1005
|
|
1057
1006
|
|
1058
1007
|
#loading container data
|
1059
1008
|
filters_4_container = {}
|
1060
|
-
self.
|
1009
|
+
self.fill_obligatory_db_query_params(filters_4_container)
|
1061
1010
|
filters_4_container.merge!(local_data[:parent_ids])
|
1062
1011
|
# retrieving container from database
|
1063
1012
|
local_data[:container] = local_container_class.get_entry_by_id(params[local_container_id_property], filters_4_container, options)
|
1064
1013
|
# filling filters for items
|
1065
1014
|
filters_4_items = {}
|
1066
|
-
self.
|
1015
|
+
self.fill_obligatory_db_query_params(filters_4_items)
|
1067
1016
|
filters_4_items.merge!(local_data[:parent_ids])
|
1068
1017
|
filters_4_items[local_container_id_property] = params[local_container_id_property]
|
1069
1018
|
filters_4_items[:order] = ::Core::Store::CollectionProduct.for_sql_order_by(:sort_position, :asc)
|
@@ -1072,25 +1021,7 @@ module KirguduBase
|
|
1072
1021
|
|
1073
1022
|
|
1074
1023
|
# building breadcrumbs
|
1075
|
-
|
1076
|
-
home_controller = eval(home_controller) if home_controller and home_controller.is_a?(String)
|
1077
|
-
add_new_breadcrumb(I18n.t("#{home_controller.to_i18n}.index.title"), home_controller.to_url_for(:index)) if home_controller
|
1078
|
-
parent_ids = {}
|
1079
|
-
local_data[:parents].each do |parent|
|
1080
|
-
# breadcrumbs: adding parent index
|
1081
|
-
add_new_breadcrumb(I18n.t("#{parent[:controller].to_i18n}.index.title"), parent[:controller].to_url_for(:index, parent_ids))
|
1082
|
-
# breadcrumbs: getting parent entry name
|
1083
|
-
parent_entry_name = nil
|
1084
|
-
parent_entry_name = parent[:entry].name_for_breadcrumbs if parent[:entry].respond_to?(:name_for_breadcrumbs)
|
1085
|
-
parent_entry_name = parent[:entry].id unless parent_entry_name
|
1086
|
-
# breadcrumbs: adding parent entry
|
1087
|
-
add_new_breadcrumb(parent_entry_name, parent[:controller].to_url_for(:show, parent_ids.merge(id: parent[:entry].id)))
|
1088
|
-
parent_ids[parent[:id_param]] = parent[:id_value]
|
1089
|
-
end if local_data[:parents]
|
1090
|
-
# breadcrumbs: adding current index
|
1091
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
1092
|
-
add_new_breadcrumb(I18n.t("#{self.to_i18n}.sorting.title"))
|
1093
|
-
|
1024
|
+
self.kb_dp_breadcrumbs_build_for_index(local_data, false) #not index page
|
1094
1025
|
|
1095
1026
|
respond_to do |format|
|
1096
1027
|
format.html { render_html1 "#{self.class.get_method_latest_result(:get_kb_template)}/#{self.class.get_method_latest_result(:get_kb_view_path, :sorting)}", locals: {data: local_data} }
|
@@ -1146,28 +1077,28 @@ module KirguduBase
|
|
1146
1077
|
|
1147
1078
|
# fill parent for data
|
1148
1079
|
filters_for_parents = {}
|
1149
|
-
self.
|
1080
|
+
self.fill_obligatory_db_query_params(filters_for_parents)
|
1150
1081
|
self.fill_parents_for_local_data(local_data, filters_for_parents)
|
1151
1082
|
|
1152
1083
|
#loading container from database
|
1153
1084
|
filters_4_container = {}
|
1154
|
-
self.
|
1085
|
+
self.fill_obligatory_db_query_params(filters_4_container)
|
1155
1086
|
local_data[:container] = local_container_class.get_entry_by_id(params[local_container_id_property], filters_4_container, options)
|
1156
1087
|
#checking if container not found
|
1157
1088
|
unless local_data[:container]
|
1158
|
-
render json: {status: ::ChupakabraTools::
|
1089
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('set_not_found'), message: I18n.t("#{self.to_i18n}.sorting.messages.set_not_found", id: params[local_container_id_property])}
|
1159
1090
|
return
|
1160
1091
|
end
|
1161
1092
|
|
1162
1093
|
|
1163
1094
|
# loading items from database one by one and processing them
|
1164
1095
|
# filters_4_item = {}
|
1165
|
-
# self.
|
1096
|
+
# self.fill_obligatory_db_query_params(filters_4_item)
|
1166
1097
|
# filters_4_item[local_container_id_property] = params[local_container_id_property]
|
1167
1098
|
|
1168
1099
|
|
1169
1100
|
filters_4_item = {}
|
1170
|
-
self.
|
1101
|
+
self.fill_obligatory_db_query_params(filters_4_item)
|
1171
1102
|
filters_4_item[local_container_id_property] = params[local_container_id_property]
|
1172
1103
|
#filters_4_item[local_entry_id_property] = id
|
1173
1104
|
|
@@ -1191,9 +1122,9 @@ module KirguduBase
|
|
1191
1122
|
end
|
1192
1123
|
end
|
1193
1124
|
if result_is_ok == true
|
1194
|
-
render json: {status: ::ChupakabraTools::
|
1125
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('ok'), message: I18n.t("#{self.to_i18n}.sorting.messages.sorting_ok")}
|
1195
1126
|
else
|
1196
|
-
render json: {status: ::ChupakabraTools::
|
1127
|
+
render json: {status: ::ChupakabraTools::ApiStatus.id_by_tag('error'), message: I18n.t("#{self.to_i18n}.sorting.messages.sorting_error")}
|
1197
1128
|
end
|
1198
1129
|
end
|
1199
1130
|
|
@@ -1201,58 +1132,124 @@ module KirguduBase
|
|
1201
1132
|
end
|
1202
1133
|
|
1203
1134
|
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1135
|
+
module Common
|
1136
|
+
def kb_dp_render_page_404
|
1137
|
+
respond_to do |format|
|
1138
|
+
#format.html { render_html1 "#{self.class.get_method_latest_result(:get_kb_template)}/#{self.class.get_method_latest_result(:get_kb_view_path, :page_404)}" }
|
1139
|
+
format.html { render_html1 self.get_view_path(:page_404), layout: self.get_view_path(:layout) }
|
1140
|
+
format.json { render_json_page_404 }
|
1141
|
+
end
|
1142
|
+
end
|
1207
1143
|
|
1208
|
-
module Ajax
|
1209
|
-
module InplaceEditActions
|
1210
|
-
def edit_inplace
|
1211
1144
|
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1145
|
+
def kb_dp_breadcrumbs_build_for_index(local_data, is_index_page)
|
1146
|
+
# getting home controller
|
1147
|
+
local_home_path = self.class.get_method_latest_result(:get_kb_home_path)
|
1148
|
+
|
1149
|
+
if is_index_page
|
1150
|
+
if local_home_path
|
1151
|
+
if self.class == local_home_path
|
1152
|
+
add_new_breadcrumb(I18n.t("#{local_home_path.to_i18n}.index.title"))
|
1153
|
+
else
|
1154
|
+
add_new_breadcrumb(I18n.t("#{local_home_path.to_i18n}.index.title"), local_home_path.to_url_for(:index))
|
1155
|
+
end
|
1156
|
+
end
|
1157
|
+
else
|
1158
|
+
add_new_breadcrumb(I18n.t("#{local_home_path.to_i18n}.index.title"), local_home_path.to_url_for(:index))
|
1159
|
+
end if local_home_path
|
1160
|
+
|
1161
|
+
# building breadcrumbs for parents
|
1162
|
+
parent_ids = {}
|
1163
|
+
local_data[:parents].each do |parent|
|
1164
|
+
# breadcrumbs: adding parent index
|
1165
|
+
add_new_breadcrumb(I18n.t("#{parent[:controller].to_i18n}.index.title"), parent[:controller].to_url_for(:index, parent_ids))
|
1166
|
+
# breadcrumbs: getting parent entry name
|
1167
|
+
parent_entry_name = nil
|
1168
|
+
parent_entry_name = parent[:entry].name_for_breadcrumbs if parent[:entry].respond_to?(:name_for_breadcrumbs)
|
1169
|
+
parent_entry_name = parent[:entry].id unless parent_entry_name
|
1170
|
+
# breadcrumbs: adding parent entry
|
1171
|
+
add_new_breadcrumb(parent_entry_name, parent[:controller].to_url_for(:show, parent_ids.merge(id: parent[:entry].id)))
|
1172
|
+
parent_ids[parent[:id_param]] = parent[:id_value]
|
1173
|
+
end if local_data[:parents]
|
1174
|
+
|
1175
|
+
# breadcrumbs: adding current index
|
1176
|
+
add_new_breadcrumb(I18n.t("#{self.to_i18n}.index.title"), self.to_url_for(:index, local_data[:parent_ids]))
|
1177
|
+
|
1178
|
+
unless is_index_page
|
1179
|
+
# breadcrumbs: getting entry name
|
1180
|
+
entry_name = nil
|
1181
|
+
entry_name = local_data[:entry].name_for_breadcrumbs if local_data[:entry].respond_to?(:name_for_breadcrumbs)
|
1182
|
+
#entry_name.trim(20) if entry_name && entry_name.length > 20
|
1183
|
+
# breadcrumbs: adding current entry
|
1184
|
+
page_name = local_data[:page].name
|
1185
|
+
if page_name == :edit
|
1186
|
+
add_new_breadcrumb(local_data[:entry].id)
|
1187
|
+
elsif page_name == :show || page_name == :delete
|
1188
|
+
add_new_breadcrumb(entry_name || local_data[:entry].id)
|
1189
|
+
elsif page_name == :new
|
1190
|
+
add_new_breadcrumb(I18n.t("#{self.to_i18n}.new.title"))
|
1191
|
+
elsif page_name == :management
|
1192
|
+
add_new_breadcrumb(I18n.t("#{self.to_i18n}.management.title"))
|
1193
|
+
elsif page_name == :sorting
|
1194
|
+
add_new_breadcrumb(I18n.t("#{self.to_i18n}.sorting.title"))
|
1215
1195
|
end
|
1196
|
+
end
|
1197
|
+
end
|
1216
1198
|
|
1217
|
-
local_data = {}
|
1218
|
-
local_data[:page] = self.class.get_kb_page(:update)
|
1219
1199
|
|
1200
|
+
################################################################################################################
|
1201
|
+
######################################### Ajax Modules ###############################################
|
1202
|
+
################################################################################################################
|
1220
1203
|
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
end
|
1204
|
+
module Ajax
|
1205
|
+
module InplaceEditActions
|
1206
|
+
def edit_inplace
|
1225
1207
|
|
1208
|
+
unless self.class.respond_to?(:get_kb_page)
|
1209
|
+
render text: '<span style = "color: red;"><b>ERROR OCCURRED!!!</b></span>'
|
1210
|
+
return
|
1211
|
+
end
|
1226
1212
|
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
local_data[:entry].updater = @current_user
|
1235
|
-
unless local_data[:entry].save
|
1236
|
-
result_string = '<span style = "color: red;"><b>FAILED TO SAVE!!!</b></span>'
|
1237
|
-
end
|
1238
|
-
end
|
1239
|
-
rescue
|
1240
|
-
result_string = '<span style = "color: red;"><b>ERROR OCCURRED!!!</b></span>'
|
1213
|
+
local_data = {}
|
1214
|
+
local_data[:page] = self.class.get_kb_page(:update)
|
1215
|
+
|
1216
|
+
|
1217
|
+
unless local_data[:page]
|
1218
|
+
render text: '<span style = "color: red;"><b>ERROR OCCURRED!!!</b></span>'
|
1219
|
+
return
|
1241
1220
|
end
|
1242
|
-
|
1221
|
+
|
1222
|
+
|
1223
|
+
local_data[:entry] = self.entry_class.get_entry_by_id(params[:id], nil, {logger: string_logger})
|
1224
|
+
if local_data[:entry]
|
1225
|
+
result_string = ''
|
1243
1226
|
begin
|
1244
|
-
|
1227
|
+
unless local_data[:entry][params[:field_name]] == params[:value]
|
1228
|
+
local_data[:entry][params[:field_name]] = params[:value]
|
1229
|
+
local_data[:entry].updated_at = Time.now
|
1230
|
+
local_data[:entry].updater = @current_user
|
1231
|
+
unless local_data[:entry].save
|
1232
|
+
result_string = '<span style = "color: red;"><b>FAILED TO SAVE!!!</b></span>'
|
1233
|
+
end
|
1234
|
+
end
|
1245
1235
|
rescue
|
1246
1236
|
result_string = '<span style = "color: red;"><b>ERROR OCCURRED!!!</b></span>'
|
1247
1237
|
end
|
1248
|
-
|
1238
|
+
if result_string.blank?
|
1239
|
+
begin
|
1240
|
+
result_string = local_data[:entry].send(params[:field_name])
|
1241
|
+
rescue
|
1242
|
+
result_string = '<span style = "color: red;"><b>ERROR OCCURRED!!!</b></span>'
|
1243
|
+
end
|
1244
|
+
end
|
1249
1245
|
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1246
|
+
render text: result_string
|
1247
|
+
else
|
1248
|
+
render text: '<span style = "color: red;"><b>NOT FOUND!!!</b></span>'
|
1249
|
+
end
|
1253
1250
|
end
|
1254
|
-
end
|
1255
1251
|
|
1252
|
+
end
|
1256
1253
|
end
|
1257
1254
|
end
|
1258
1255
|
end
|