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
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -71,7 +71,7 @@ Released under the MIT License <http://www.opensource.org/licenses/mit-license.p
|
|
71
71
|
background-color: #FDE5DD !important;
|
72
72
|
}
|
73
73
|
.uploadify-queue-item .cancel a {
|
74
|
-
background: url('
|
74
|
+
background: url('/assets/kirgudu_base/admin/zapanel/images/uploadify/uploadify-cancel.png') 0 0 no-repeat;
|
75
75
|
float: right;
|
76
76
|
height: 16px;
|
77
77
|
text-indent: -9999px;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -2,17 +2,9 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
module KirguduBase
|
5
|
-
|
6
|
-
class AdminController < ::KirguduBase::ApplicationController
|
7
|
-
|
5
|
+
class AdminController < ::KirguduBase::DynamicPagesController
|
8
6
|
before_action :authenticate_user
|
9
7
|
|
10
|
-
layout "/layouts/application"
|
11
|
-
|
12
|
-
|
13
|
-
def left_menu_path
|
14
|
-
"/admin/kirgudu_base/left_menu"
|
15
|
-
end
|
16
8
|
|
17
9
|
def current_entry
|
18
10
|
@entry
|
@@ -21,13 +13,12 @@ module KirguduBase
|
|
21
13
|
|
22
14
|
include KirguduBase::GuiHelper
|
23
15
|
|
24
|
-
|
25
16
|
protected
|
26
17
|
|
27
18
|
rescue_from ActiveRecord::RecordNotFound do
|
28
|
-
|
19
|
+
@local_data = I18n.t("#{self.to_i18n}.errors.entry_not_found", entry_id: params[:id])
|
29
20
|
respond_to do |format|
|
30
|
-
format.html { render_redirect
|
21
|
+
format.html { render_redirect self.to_url_for(:index) }
|
31
22
|
format.json { render_json_not_found(message: flash[:error]) }
|
32
23
|
end
|
33
24
|
end
|
@@ -35,12 +26,14 @@ module KirguduBase
|
|
35
26
|
protected
|
36
27
|
|
37
28
|
def before_entry_create(entry, filter_params, options)
|
38
|
-
entry
|
39
|
-
entry.
|
29
|
+
super(entry, filter_params, options)
|
30
|
+
entry.creator = self.current_user if entry.respond_to?(:creator)
|
31
|
+
entry.updater = self.current_user if entry.respond_to?(:updater)
|
40
32
|
end
|
41
33
|
|
42
34
|
def before_entry_update(entry, filter_params, options)
|
43
|
-
entry
|
35
|
+
super(entry, filter_params, options)
|
36
|
+
entry.updater = self.current_user if entry.respond_to?(:updater)
|
44
37
|
end
|
45
38
|
end
|
46
39
|
end
|
@@ -3,73 +3,63 @@ module KirguduBase
|
|
3
3
|
class ApplicationController < ActionController::Base
|
4
4
|
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
########################################################################################
|
7
|
+
############################## Extending Controller ####################################
|
8
|
+
########################################################################################
|
9
|
+
|
10
|
+
# DynamicPages Helper
|
11
|
+
extend ::KirguduBase::Controllers::DynamicPages::Class
|
12
|
+
include ::KirguduBase::Controllers::DynamicPages::Instance
|
9
13
|
|
10
|
-
|
14
|
+
# DynamicTransactions Helper
|
11
15
|
extend ::KirguduBase::Controllers::DynamicTransactions
|
16
|
+
|
17
|
+
# ObligatoryFilters Helper
|
12
18
|
extend ::KirguduBase::Controllers::ObligatoryFilters
|
13
19
|
|
14
20
|
|
15
|
-
before_action :initialize_global_variables
|
16
21
|
|
17
|
-
|
18
|
-
|
22
|
+
include ::KirguduBase::UrlHelper
|
23
|
+
include ::KirguduBase::BreadcrumbsHelper
|
24
|
+
include ::KirguduBase::ApplicationHelper
|
19
25
|
|
20
26
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
flow_position :before_save
|
25
|
-
end
|
27
|
+
########################################################################################
|
28
|
+
######################### Before&After Actions ###############################
|
29
|
+
########################################################################################
|
26
30
|
|
27
|
-
kb_transaction_injection do
|
28
|
-
method :before_entry_update
|
29
|
-
action :update
|
30
|
-
flow_position :before_save
|
31
|
-
end
|
32
31
|
|
32
|
+
before_action :request_started # first filter of request
|
33
|
+
before_action :initialize_global_variables
|
33
34
|
|
34
|
-
def entry_class
|
35
|
-
self.class.get_kb_entry_class
|
36
|
-
end
|
37
35
|
|
38
|
-
|
36
|
+
after_action :request_finished # last filter of request
|
39
37
|
|
40
|
-
|
38
|
+
########################################################################################
|
39
|
+
############################## Views Paths ###################################
|
40
|
+
########################################################################################
|
41
41
|
|
42
|
-
|
42
|
+
# template path
|
43
|
+
kb_template_path "kirgudu_base/admin/zapanel"
|
44
|
+
# layout view pathes
|
45
|
+
kb_views_paths_layout "layouts/application"
|
46
|
+
# action views pathes
|
47
|
+
kb_views_paths_dashboard "common/dashboard"
|
48
|
+
kb_views_paths_index "common/index"
|
49
|
+
kb_views_paths_new "common/new"
|
50
|
+
kb_views_paths_edit "common/edit"
|
51
|
+
kb_views_paths_delete "common/delete"
|
52
|
+
kb_views_paths_show "common/show"
|
53
|
+
kb_views_paths_management "/common/management"
|
54
|
+
kb_views_paths_sorting "/common/sorting"
|
55
|
+
# common views pathes
|
56
|
+
kb_views_paths_entry_not_found "shared/entry_not_found"
|
57
|
+
kb_views_paths_404_page "shared/page_404"
|
43
58
|
|
44
|
-
default_host_to_set = request.host
|
45
|
-
default_host_to_set += ":#{request.port}" if request.port && request.port != 80
|
46
59
|
|
47
|
-
Rails.application.routes.default_url_options[:host] = default_host_to_set
|
48
60
|
|
49
61
|
|
50
|
-
I18n.locale = :ru
|
51
|
-
#@string_logger.info("\tHOST: #{request.host}") if @string_logger
|
52
|
-
#@string_logger.info("\tLOCALE: #{I18n.locale}") if @string_logger
|
53
|
-
#@current_user = get_current_user
|
54
|
-
#@string_logger.info("\tUSER#{@current_user}") if @string_logger
|
55
62
|
|
56
|
-
WillPaginate.per_page = 20
|
57
|
-
#will_paginate_count = @settings_manager.get('will_paginate')
|
58
|
-
#WillPaginate.per_page = will_paginate_count if will_paginate_count
|
59
|
-
end
|
60
|
-
|
61
|
-
|
62
|
-
def authenticate_user
|
63
|
-
unless @current_user
|
64
|
-
session[:user_id] = nil
|
65
|
-
session[:back_url] = request.url
|
66
|
-
#params[:back_url] = request.path
|
67
|
-
respond_to do |format|
|
68
|
-
#format.js { render partial: "sessions/login", layout: false}
|
69
|
-
format.html { redirect_to ::KirguduBase.authentications_controller.to_url_for(:login) }
|
70
|
-
end
|
71
|
-
end
|
72
|
-
end
|
73
63
|
|
74
64
|
|
75
65
|
def page_for_default_redirection_after_login
|
@@ -84,17 +74,26 @@ module KirguduBase
|
|
84
74
|
when "xml"
|
85
75
|
"text/xml"
|
86
76
|
end
|
87
|
-
headers["Content-Type"] = content_type
|
77
|
+
self.headers["Content-Type"] = content_type if content_type
|
88
78
|
end
|
89
79
|
|
90
80
|
|
81
|
+
|
82
|
+
def entry_class
|
83
|
+
self.class.get_kb_entry_class
|
84
|
+
end
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
91
90
|
#########################################################################################################################
|
92
91
|
###################################### Breadcrumbs ###############################################
|
93
92
|
#########################################################################################################################
|
94
93
|
|
95
94
|
|
96
95
|
def render *args
|
97
|
-
self.
|
96
|
+
self.render_breadcrumbs
|
98
97
|
|
99
98
|
#raise "BreadCrumbs: #{self.create_breadcrumbs}"
|
100
99
|
|
@@ -102,7 +101,7 @@ module KirguduBase
|
|
102
101
|
end
|
103
102
|
|
104
103
|
|
105
|
-
def
|
104
|
+
def render_breadcrumbs
|
106
105
|
#if self.class.respond_to?(:dashboard_controller_class_name)
|
107
106
|
# if self.class.to_s == self.class.dashboard_controller_class_name.to_s
|
108
107
|
# add_new_breadcrumb(I18n.t("#{self.class.dashboard_controller_class_name.to_i18n}.index.title"))
|
@@ -113,7 +112,7 @@ module KirguduBase
|
|
113
112
|
end
|
114
113
|
|
115
114
|
def add_new_breadcrumb(label, path = nil)
|
116
|
-
self.
|
115
|
+
self.kb_breadcrumbs << {label: label, url: path}
|
117
116
|
end
|
118
117
|
|
119
118
|
|
@@ -121,12 +120,12 @@ module KirguduBase
|
|
121
120
|
#string_logger.info("BREADCRUMBS: #{breadcrumbs}")
|
122
121
|
end
|
123
122
|
|
124
|
-
def
|
125
|
-
@
|
123
|
+
def kb_breadcrumbs
|
124
|
+
@kb_breadcrumbs ||= []
|
126
125
|
end
|
127
126
|
|
128
127
|
def breadcrumbs_length
|
129
|
-
self.
|
128
|
+
self.kb_breadcrumbs.length
|
130
129
|
end
|
131
130
|
|
132
131
|
|
@@ -158,10 +157,6 @@ module KirguduBase
|
|
158
157
|
############################### Routes Generator Methods ########################################
|
159
158
|
#########################################################################################################################
|
160
159
|
|
161
|
-
#include ActionView::Helpers
|
162
|
-
#include ActionDispatch::Routing
|
163
|
-
#include Rails.application.routes.url_helpers
|
164
|
-
|
165
160
|
def self.to_url_for(action, options = {})
|
166
161
|
options ||= {}
|
167
162
|
options.merge!(
|
@@ -174,14 +169,12 @@ module KirguduBase
|
|
174
169
|
|
175
170
|
def to_url_for(action = nil, options = {})
|
176
171
|
self.class.to_url_for(action, options)
|
177
|
-
#options ||= {}
|
178
|
-
#options.merge!(
|
179
|
-
# controller: self.to_route_path,
|
180
|
-
# action: action || :index
|
181
|
-
#)
|
182
|
-
#Rails.application.routes.url_helpers.url_for(options)
|
183
172
|
end
|
184
173
|
|
174
|
+
#########################################################################################################################
|
175
|
+
#################################### Routes Injection ############################################
|
176
|
+
#########################################################################################################################
|
177
|
+
|
185
178
|
|
186
179
|
#########################################################################################################################
|
187
180
|
##################################### Strong Parameters ###########################################
|
@@ -218,28 +211,20 @@ module KirguduBase
|
|
218
211
|
|
219
212
|
def get_filters_for_list(list, source)
|
220
213
|
result = {}
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
214
|
+
if list
|
215
|
+
list.filters.each do |filter|
|
216
|
+
source_value = source[filter.name]
|
217
|
+
if [:autocomplete, :autocomplete_with_id, :text_edit, :select, :chosen_select].include?(filter.input_type)
|
218
|
+
if source_value
|
219
|
+
source_value.strip!
|
220
|
+
source_value = nil if source_value.blank?
|
221
|
+
end
|
228
222
|
end
|
229
|
-
|
230
|
-
|
231
|
-
end if list.filters
|
223
|
+
result[filter.name] = source_value if source_value
|
224
|
+
end if list.filters
|
232
225
|
|
233
|
-
|
234
|
-
|
235
|
-
result[:page] = source_value.to_i if source_value
|
236
|
-
rescue
|
237
|
-
end
|
238
|
-
|
239
|
-
begin
|
240
|
-
source_value = source[:per_page]
|
241
|
-
result[:per_page] = source_value.to_i if source_value
|
242
|
-
rescue
|
226
|
+
result[:page] = source[:page].to_i rescue nil
|
227
|
+
result[:per_page] = source[:per_page] rescue nil
|
243
228
|
end
|
244
229
|
result
|
245
230
|
end
|
@@ -267,6 +252,7 @@ module KirguduBase
|
|
267
252
|
method_result = controller_class.send(method_name, *method_args) if controller_class.respond_to?(method_name)
|
268
253
|
return method_result if method_result
|
269
254
|
end
|
255
|
+
method_result
|
270
256
|
end
|
271
257
|
|
272
258
|
#########################################################################################################################
|
@@ -293,187 +279,7 @@ module KirguduBase
|
|
293
279
|
transaction_is_ok
|
294
280
|
end
|
295
281
|
|
296
|
-
#########################################################################################################################
|
297
|
-
############################### Strong Parameters Filters Methods ########################################
|
298
|
-
#########################################################################################################################
|
299
|
-
|
300
|
-
def class_strong_filters(list)
|
301
|
-
|
302
|
-
strong_filters = {}
|
303
282
|
|
304
|
-
list.filters.each do |filter|
|
305
|
-
#raise "Found Filter for list: #{filter}"
|
306
|
-
strong_filters[filter.name] = params[filter.name] if params[filter.name]
|
307
|
-
end if list.filters
|
308
|
-
|
309
|
-
strong_filters
|
310
|
-
end
|
311
|
-
|
312
|
-
#########################################################################################################################
|
313
|
-
############################### Obligatory Filters Methods ########################################
|
314
|
-
#########################################################################################################################
|
315
|
-
|
316
|
-
|
317
|
-
def fill_obligatory_filters(filters, options = {})
|
318
|
-
options ||= {}
|
319
|
-
|
320
|
-
classes_to_process = self.get_class_hierarchy
|
321
|
-
|
322
|
-
classes_to_process.each do |kontroller_klass|
|
323
|
-
kontroller_klass.get_kb_obligatory_filters.each do |filter|
|
324
|
-
execute_flag = true
|
325
|
-
|
326
|
-
if filter.only && filter.only.length > 0
|
327
|
-
execute_flag = false
|
328
|
-
filter.only.each do |item|
|
329
|
-
if item == self.action.to_sym
|
330
|
-
execute_flag = true
|
331
|
-
end
|
332
|
-
end
|
333
|
-
end
|
334
|
-
if filter.skip && filter.skip.length > 0
|
335
|
-
filter.skip.each do |item|
|
336
|
-
if item == self.action.to_sym
|
337
|
-
execute_flag = false
|
338
|
-
end
|
339
|
-
end
|
340
|
-
end
|
341
|
-
filters[filter.name] = self.send(filter.source_method) if execute_flag
|
342
|
-
end if kontroller_klass.respond_to?(:get_kb_obligatory_filters)
|
343
|
-
end
|
344
|
-
#raise "Obligatory Filters: #{filters.to_json}"
|
345
|
-
end
|
346
|
-
|
347
|
-
#########################################################################################################################
|
348
|
-
################################ Data For Controls Methods #######################################
|
349
|
-
#########################################################################################################################
|
350
|
-
|
351
|
-
|
352
|
-
def load_data_for_entry_controls(form, entry, options = {})
|
353
|
-
controls_data = {}
|
354
|
-
|
355
|
-
|
356
|
-
form.properties.values.select { |p| !p.data_source.nil? }.each do |property|
|
357
|
-
if property.data_source
|
358
|
-
controls_data[property.name] = if property.data_source.type == :db || property.data_source.type == :jquery_db
|
359
|
-
filters = {}
|
360
|
-
parent_value = nil
|
361
|
-
if property.parent
|
362
|
-
parent_value = entry[property.parent]
|
363
|
-
filters[property.parent] = parent_value
|
364
|
-
end
|
365
|
-
|
366
|
-
self.fill_obligatory_filters(filters, options)
|
367
|
-
filters.merge!({
|
368
|
-
per_page: 9999999,
|
369
|
-
page: 1
|
370
|
-
})
|
371
|
-
property.data_source.model.get_entries(nil, filters, options).map { |u| [u.send(property.data_source.label_property), u.send(property.data_source.value_property)] } if property.parent.nil? || parent_value
|
372
|
-
elsif property.data_source.type == :i18n
|
373
|
-
|
374
|
-
elsif property.data_source.type == :enum
|
375
|
-
property.data_source.model.to_select
|
376
|
-
elsif property.data_source.type == :array
|
377
|
-
property.data_source.model.map { |i| i.is_a?(Array) ? [i[0], i[0]] : [i, i] }
|
378
|
-
end
|
379
|
-
end
|
380
|
-
end if form.properties
|
381
|
-
controls_data
|
382
|
-
end
|
383
|
-
|
384
|
-
def load_data_for_filters_controls(list, values_source, options = {})
|
385
|
-
controls_data = {}
|
386
|
-
|
387
|
-
list.filters.select { |f| !f.data_source.nil? }.each do |filter|
|
388
|
-
|
389
|
-
controls_data[filter.name] = if filter.data_source.type == :db || filter.data_source.type == :jquery_db
|
390
|
-
filters = {}
|
391
|
-
if filter.parent
|
392
|
-
parent_value = values_source[filter.parent]
|
393
|
-
filters[filter.parent] = values_source[filter.parent] if parent_value
|
394
|
-
end
|
395
|
-
fill_obligatory_filters(filters, options)
|
396
|
-
filters.merge!({
|
397
|
-
per_page: 9999999,
|
398
|
-
page: 1
|
399
|
-
})
|
400
|
-
filter.data_source.model.get_entries(nil, filters, options).map { |u| [u.send(filter.data_source.label_property), u.send(filter.data_source.value_property)] }
|
401
|
-
elsif filter.data_source.type == :i18n
|
402
|
-
|
403
|
-
elsif filter.data_source.type == :enum
|
404
|
-
filter.data_source.model.to_select
|
405
|
-
elsif filter.data_source.type == :array
|
406
|
-
filter.data_source.model
|
407
|
-
end
|
408
|
-
|
409
|
-
end if list.filters
|
410
|
-
controls_data
|
411
|
-
end
|
412
|
-
|
413
|
-
|
414
|
-
#def fill_parents_for_local_data(local_data, filters)
|
415
|
-
# if local_data && local_data.is_a?(Hash)
|
416
|
-
# controllers_hierarchy = ::ChupakabraTools::ClassHelper.get_controller_hierarchy(self.class)
|
417
|
-
#
|
418
|
-
# local_data[:parent_elements] = {}
|
419
|
-
#
|
420
|
-
# controllers_hierarchy.each do |ctrler|
|
421
|
-
# if ctrler.respond_to?(:get_kb_parents)
|
422
|
-
# parent_controllers = ctrler.get_kb_parents
|
423
|
-
# parent_controllers.each do |pk|
|
424
|
-
# local_data[:parent_elements][pk[:id]] = pk[:controller].get_kb_entry_class.get_entry_by_id(params[pk[:id]], filters, {logger: string_logger})
|
425
|
-
# end if parent_controllers
|
426
|
-
# else
|
427
|
-
# break
|
428
|
-
# end
|
429
|
-
# end
|
430
|
-
#
|
431
|
-
# #raise "Parent Elements: #{local_data[:parent_elements]}"
|
432
|
-
#
|
433
|
-
# local_data[:parent_ids] = {}
|
434
|
-
#
|
435
|
-
#
|
436
|
-
# local_data[:parent_elements].each_pair do |key, element|
|
437
|
-
# local_data[:parent_ids][key] = element.id
|
438
|
-
# end
|
439
|
-
# end
|
440
|
-
#end
|
441
|
-
|
442
|
-
|
443
|
-
def fill_parents_for_local_data(local_data, filters)
|
444
|
-
local_data[:parents] = []
|
445
|
-
local_data[:parent_elements] = {}
|
446
|
-
local_data[:parent_ids] = {}
|
447
|
-
|
448
|
-
if local_data && local_data.is_a?(Hash)
|
449
|
-
controllers_hierarchy = ::ChupakabraTools::ClassHelper.get_controller_hierarchy(self.class)
|
450
|
-
|
451
|
-
controllers_hierarchy.each do |ctrler|
|
452
|
-
if ctrler.respond_to?(:get_kb_parents)
|
453
|
-
parent_controllers = ctrler.get_kb_parents
|
454
|
-
parent_controllers.each do |pk|
|
455
|
-
parent_entry = pk[:controller].get_kb_entry_class.get_entry_by_id(params[pk[:id]], filters, {logger: string_logger})
|
456
|
-
parent_hash = {
|
457
|
-
controller: pk[:controller],
|
458
|
-
entry: parent_entry,
|
459
|
-
id_param: pk[:id],
|
460
|
-
id_value: parent_entry.id
|
461
|
-
}
|
462
|
-
local_data[:parents] << parent_hash
|
463
|
-
end if parent_controllers
|
464
|
-
|
465
|
-
parent_controllers.each do |pk|
|
466
|
-
local_data[:parent_elements][pk[:id]] = pk[:controller].get_kb_entry_class.get_entry_by_id(params[pk[:id]], filters, {logger: string_logger})
|
467
|
-
end if parent_controllers
|
468
|
-
|
469
|
-
end
|
470
|
-
end
|
471
|
-
#raise "Parent Elements: #{local_data[:parent_elements]}"
|
472
|
-
local_data[:parent_elements].each_pair do |key, element|
|
473
|
-
local_data[:parent_ids][key] = element.id
|
474
|
-
end
|
475
|
-
end
|
476
|
-
end
|
477
283
|
|
478
284
|
#########################################################################################################################
|
479
285
|
###################################### Locale Methods #############################################
|
@@ -544,16 +350,196 @@ module KirguduBase
|
|
544
350
|
#end
|
545
351
|
end
|
546
352
|
|
353
|
+
def get_best_locale
|
354
|
+
locale = request.env['HTTP_ACCEPT_LANGUAGE'].scan(/^[a-z]{2}/).first.to_sym
|
355
|
+
if I18n.available_locales.include?(locale)
|
356
|
+
locale
|
357
|
+
else
|
358
|
+
I18n.default_locale
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
547
362
|
|
548
363
|
def prepare_applications_data
|
549
364
|
|
550
365
|
end
|
551
366
|
|
367
|
+
|
368
|
+
#########################################################################################################################
|
369
|
+
##################################### Global Variables ############################################
|
370
|
+
#########################################################################################################################
|
371
|
+
|
372
|
+
# called in before_action in ::KirguduBase::ApplicationController
|
373
|
+
def initialize_global_variables
|
374
|
+
|
375
|
+
@template_path = self.class.get_method_latest_result(:get_kb_template)
|
376
|
+
|
377
|
+
@settings_manager = ::KirguduBase::Settings::SettingsManager.new
|
378
|
+
|
379
|
+
default_host_to_set = request.host
|
380
|
+
default_host_to_set += ":#{request.port}" if request.port && request.port != 80
|
381
|
+
|
382
|
+
Rails.application.routes.default_url_options[:host] = default_host_to_set
|
383
|
+
|
384
|
+
if Rails.env.development?
|
385
|
+
I18n.locale = :ru
|
386
|
+
end
|
387
|
+
|
388
|
+
WillPaginate.per_page = 20
|
389
|
+
end
|
390
|
+
|
391
|
+
#########################################################################################################################
|
392
|
+
#################################### Current User To Override ############################################
|
393
|
+
#########################################################################################################################
|
394
|
+
|
395
|
+
# method for Ability
|
396
|
+
def current_user
|
397
|
+
@current_user
|
398
|
+
end
|
399
|
+
|
400
|
+
def current_user= value
|
401
|
+
@current_user = value
|
402
|
+
end
|
403
|
+
|
404
|
+
def current_user_symbol
|
405
|
+
:user_id
|
406
|
+
end
|
407
|
+
|
408
|
+
#########################################################################################################################
|
409
|
+
####################################### Current User ##############################################
|
410
|
+
#########################################################################################################################
|
411
|
+
|
412
|
+
|
413
|
+
def current_user_set_info(user, remember_me = nil)
|
414
|
+
#logger.info("USER is ::KirguduBase::Security::User") if user && user.is_a?(::KirguduBase::Security::User)
|
415
|
+
self.current_user = user
|
416
|
+
self.session[self.current_user_symbol] = user.id
|
417
|
+
self.session[:"#{self.current_user_symbol}_expire"] = DateTime.now.utc + 1.day
|
418
|
+
self.session[:"#{self.current_user_symbol}_remember_me"] = remember_me
|
419
|
+
#logger.info("Session[:user_id]=#{self.session[:user_id]}")
|
420
|
+
end
|
421
|
+
|
422
|
+
def current_user_clear_info
|
423
|
+
self.current_user = nil
|
424
|
+
self.session[self.current_user_symbol] = nil
|
425
|
+
self.session[:"#{self.current_user_symbol}_expire"] = DateTime.now.utc - 1.day
|
426
|
+
self.session[:"#{self.current_user_symbol}_remember_me"] = false
|
427
|
+
end
|
428
|
+
|
429
|
+
def current_user_query_db(user_id)
|
430
|
+
::KirguduBase::Security::User.where(id: user_id).first if user_id
|
431
|
+
end
|
432
|
+
|
433
|
+
def authenticate_user
|
434
|
+
time_now = DateTime.now.utc
|
435
|
+
user_remember_me = self.session[:"#{self.current_user_symbol}_remember_me"]
|
436
|
+
slided_expire_time = time_now + (user_remember_me ? 2.weeks : 1.day)
|
437
|
+
user_session_expire = self.session[:"#{self.current_user_symbol}_expire"] || slided_expire_time
|
438
|
+
user_id = self.session[self.current_user_symbol]
|
439
|
+
|
440
|
+
if user_session_expire < time_now
|
441
|
+
logger.info("User Session Expired. Expire At: #{user_session_expire}")
|
442
|
+
#raise "Session Expired #{user_session_expire}, #{self.session[:"#{self.current_user_symbol}_expire"]}"
|
443
|
+
self.current_user_clear_info
|
444
|
+
else
|
445
|
+
if user_id
|
446
|
+
logger.info("User ID: #{user_id}")
|
447
|
+
logger.info("Slided Expire At: #{slided_expire_time}")
|
448
|
+
self.current_user = self.current_user_query_db(user_id)
|
449
|
+
self.session[:"#{self.current_user_symbol}_expire"] = slided_expire_time
|
450
|
+
else
|
451
|
+
logger.info("User ID is null")
|
452
|
+
self.current_user_clear_info
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
logger.info("Current User is null") if self.current_user.nil?
|
457
|
+
logger.info("Current User: #{self.current_user.full_name}") unless self.current_user.nil?
|
458
|
+
|
459
|
+
|
460
|
+
if self.current_user.nil? || self.current_user.deletion_status_id != ::ChupakabraTools::DeletionStatus.id_by_tag(:actual)
|
461
|
+
logger.info("1Current User is null") if self.current_user.nil?
|
462
|
+
#logger.info("1Current User deletion_status_id: #{::ChupakabraTools::DeletionStatus[self.current_user.deletion_status_id]}") unless self.current_user.deletion_status_id == ::ChupakabraTools::DeletionStatus.id_by_tag(:actual)
|
463
|
+
self.current_user_clear_info
|
464
|
+
self.session[:return_to] = request.url
|
465
|
+
respond_to do |format|
|
466
|
+
format.json { render_json_need_authentication }
|
467
|
+
format.html { redirect_to self.get_url_to_redirect_for_authentication }
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
logger.info("User Authentications is Complete")
|
472
|
+
logger.info("Current User is null") if self.current_user.nil?
|
473
|
+
#logger.info("Current User deletion_status_id: #{::ChupakabraTools::DeletionStatus[self.current_user.deletion_status_id]}") unless ::ChupakabraTools::DeletionStatus.id_by_tag(:actual)
|
474
|
+
logger.info("Current User: #{self.current_user.full_name}") unless self.current_user.nil?
|
475
|
+
end
|
476
|
+
|
477
|
+
def get_url_to_redirect_for_authentication
|
478
|
+
auth_controller = ::KirguduBase.authentications_controller
|
479
|
+
raise "Put in 'intializers' value for 'KirguduBase.authentications_controller' or override 'get_url_to_redirect_for_authentication' method" unless auth_controller
|
480
|
+
|
481
|
+
if auth_controller.is_a?(String)
|
482
|
+
auth_controller = eval(auth_controller)
|
483
|
+
end
|
484
|
+
auth_controller.to_url_for(:login)
|
485
|
+
end
|
486
|
+
|
487
|
+
|
488
|
+
##############################################################################################
|
489
|
+
##################################### Views Paths #######################################
|
490
|
+
##############################################################################################
|
491
|
+
|
492
|
+
def get_template_path
|
493
|
+
self.class.get_method_latest_result(:get_kb_template);
|
494
|
+
end
|
495
|
+
|
496
|
+
def get_view_path(view_name, include_template = true)
|
497
|
+
view_path = self.class.get_method_latest_result(:get_kb_view_path, view_name)
|
498
|
+
view_path ||= self.get_view_default_path(view_name)
|
499
|
+
template_path = ""
|
500
|
+
template_path = self.get_template_path if include_template
|
501
|
+
|
502
|
+
include_template ? "#{template_path}/#{view_path}" : "#{view_path}"
|
503
|
+
end
|
504
|
+
|
505
|
+
def get_layout_path(include_template = true)
|
506
|
+
self.get_view_path(:layout, include_template)
|
507
|
+
end
|
508
|
+
|
509
|
+
def get_view_default_path(view_name)
|
510
|
+
defaults = {
|
511
|
+
layout: "layouts/application",
|
512
|
+
page_404: "shared/page_404",
|
513
|
+
entry_not_found: "shared/entry_not_found",
|
514
|
+
index: "common/index",
|
515
|
+
new: "common/new",
|
516
|
+
edit: "common/edit",
|
517
|
+
delete: "common/delete",
|
518
|
+
show: "common/show",
|
519
|
+
management: "common/management",
|
520
|
+
sorting: "common/sorting",
|
521
|
+
dashboard: "common/dashboard"
|
522
|
+
}
|
523
|
+
defaults[view_name]
|
524
|
+
end
|
525
|
+
|
526
|
+
|
527
|
+
##############################################################################################
|
528
|
+
############################################# #######################################
|
529
|
+
##############################################################################################
|
530
|
+
|
552
531
|
def string_logger
|
553
532
|
@string_logger
|
554
533
|
end
|
555
534
|
|
556
|
-
|
535
|
+
def string_logger= value
|
536
|
+
@string_logger = value
|
537
|
+
end
|
538
|
+
|
539
|
+
##############################################################################################
|
540
|
+
############################################# #######################################
|
541
|
+
##############################################################################################
|
542
|
+
|
557
543
|
|
558
544
|
def update_url_with_ajax_referer_url
|
559
545
|
if params[:current_url]
|
@@ -574,20 +560,6 @@ module KirguduBase
|
|
574
560
|
end
|
575
561
|
|
576
562
|
|
577
|
-
def get_best_locale
|
578
|
-
locale = request.env['HTTP_ACCEPT_LANGUAGE'].scan(/^[a-z]{2}/).first.to_sym
|
579
|
-
if I18n.available_locales.include?(locale)
|
580
|
-
locale
|
581
|
-
else
|
582
|
-
I18n.default_locale
|
583
|
-
end
|
584
|
-
end
|
585
|
-
|
586
|
-
# method for Ability
|
587
|
-
def current_user
|
588
|
-
@current_user
|
589
|
-
end
|
590
|
-
|
591
563
|
def system_logging_init
|
592
564
|
#@logging_options = Hash.new
|
593
565
|
#
|
@@ -778,7 +750,7 @@ module KirguduBase
|
|
778
750
|
end
|
779
751
|
|
780
752
|
|
781
|
-
def
|
753
|
+
def render_page_e404
|
782
754
|
respond_to do |format|
|
783
755
|
format.html { render :template => 'layouts/404', :status => 404 }
|
784
756
|
format.all { render :nothing => true, :status => "404" }
|
@@ -810,63 +782,23 @@ module KirguduBase
|
|
810
782
|
# ************************************** PRIVATE METHODS ****************************************
|
811
783
|
# ***********************************************************************************************
|
812
784
|
private
|
813
|
-
def get_current_user
|
814
|
-
if session[:user_id]
|
815
|
-
::KirguduBase::Security::User.where(id: session[:user_id]).first
|
816
|
-
end
|
817
|
-
end
|
818
785
|
|
819
786
|
|
820
787
|
def debugger_before_action
|
821
|
-
#string_logger.info("Params: #{params.to_json}")
|
822
|
-
if @logging_options[:status] == true
|
823
788
|
|
824
|
-
end
|
825
789
|
end
|
826
790
|
|
827
791
|
def debugger_after_action
|
828
|
-
if @logging_options[:status] == true
|
829
|
-
system_logging_write_event("", ::SystemZone::Logging::Event::LEVEL_DEBUG, response.body)
|
830
|
-
system_logging_write_event("", ::SystemZone::Logging::Event::LEVEL_TIME, response.body)
|
831
|
-
end
|
832
|
-
end
|
833
|
-
|
834
|
-
def rails_log_before
|
835
|
-
@string_logger.debug("BEGIN #{self.class}.#{self.action_name}") if @string_logger
|
836
|
-
@string_logger.depth_up if @string_logger
|
837
|
-
@string_logger.debug("\tPARAMS: #{params.to_json}") if @string_logger
|
838
|
-
@string_logger.debug("\tREQUEST FORMAT: #{request.format}") if @string_logger
|
839
|
-
@string_logger.debug(" ") if @string_logger
|
840
|
-
|
841
792
|
|
842
793
|
end
|
843
794
|
|
844
|
-
def rails_log_after
|
845
|
-
@string_logger.depth_down if @string_logger
|
846
|
-
@string_logger.debug ("END") if @string_logger
|
847
|
-
@string_logger.debug "*********************************************************************************" if @string_logger
|
848
|
-
end
|
849
|
-
|
850
795
|
|
851
796
|
def request_started
|
852
|
-
@string_logger = ::ChupakabraTools::Logging::StringLogger.new
|
853
|
-
end
|
854
|
-
|
855
|
-
def request_finished
|
856
|
-
#string_logger.log_data.each do |d|
|
857
|
-
# logger.info(d[:data])
|
858
|
-
#end
|
859
|
-
end
|
860
|
-
|
861
|
-
|
862
|
-
def before_entry_create(entry, filter_params, options)
|
863
797
|
|
864
798
|
end
|
865
799
|
|
866
|
-
def
|
800
|
+
def request_finished
|
867
801
|
|
868
802
|
end
|
869
|
-
|
870
|
-
|
871
803
|
end
|
872
804
|
end
|