releaf 0.1.2 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +19 -21
- data/lib/releaf.rb +1 -34
- data/lib/releaf/all.rb +3 -0
- data/lib/releaf/rspec.rb +4 -0
- data/lib/releaf/rspec/features_matchers.rb +76 -0
- data/lib/releaf/rspec/helpers.rb +227 -0
- data/lib/releaf/rspec/matchers.rb +16 -0
- data/lib/releaf/test.rb +5 -0
- data/spec/factories/author.rb +6 -0
- data/spec/factories/book.rb +5 -0
- data/spec/factories/chapter.rb +7 -0
- data/spec/factories/common.rb +5 -0
- data/spec/factories/home_page.rb +5 -0
- data/spec/factories/node.rb +43 -0
- data/spec/factories/node_route.rb +7 -0
- data/spec/factories/publisher.rb +5 -0
- data/spec/factories/role.rb +21 -0
- data/spec/factories/text_page.rb +5 -0
- data/spec/factories/user.rb +22 -0
- data/spec/rails_helper.rb +122 -0
- data/spec/spec_helper.rb +81 -24
- data/spec/support/controller_macros.rb +8 -0
- data/spec/support/excel_helpers.rb +63 -0
- data/spec/support/shared/service_includer.rb +9 -0
- data/spec/support/wait_steps.rb +23 -0
- metadata +141 -499
- data/README.md +0 -77
- data/Rakefile +0 -70
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_454545_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_888888_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/lightbox/close.png +0 -0
- data/app/assets/images/releaf/3rd_party/lightbox/loading.gif +0 -0
- data/app/assets/images/releaf/3rd_party/lightbox/next.png +0 -0
- data/app/assets/images/releaf/3rd_party/lightbox/prev.png +0 -0
- data/app/assets/images/releaf/add.png +0 -0
- data/app/assets/images/releaf/background.jpg +0 -0
- data/app/assets/images/releaf/button/button_bgr.gif +0 -0
- data/app/assets/images/releaf/button/button_hover_bgr.png +0 -0
- data/app/assets/images/releaf/controllers/content/close.gif +0 -0
- data/app/assets/images/releaf/controllers/content/close_active.gif +0 -0
- data/app/assets/images/releaf/controllers/content/close_hover.gif +0 -0
- data/app/assets/images/releaf/controllers/content/global_fields_bgr.png +0 -0
- data/app/assets/images/releaf/controllers/content/open.gif +0 -0
- data/app/assets/images/releaf/controllers/content/open_2.gif +0 -0
- data/app/assets/images/releaf/controllers/content/open_active.gif +0 -0
- data/app/assets/images/releaf/controllers/content/open_hover.gif +0 -0
- data/app/assets/images/releaf/controllers/sessions/background.jpg +0 -0
- data/app/assets/images/releaf/controllers/sessions/logo.jpg +0 -0
- data/app/assets/images/releaf/expand_tool/close.png +0 -0
- data/app/assets/images/releaf/expand_tool/close_hover.png +0 -0
- data/app/assets/images/releaf/expand_tool/close_hover_shim.png +0 -0
- data/app/assets/images/releaf/expand_tool/close_shim.png +0 -0
- data/app/assets/images/releaf/expand_tool/loader.gif +0 -0
- data/app/assets/images/releaf/expand_tool/open.png +0 -0
- data/app/assets/images/releaf/expand_tool/open_hover.png +0 -0
- data/app/assets/images/releaf/expand_tool/open_hover_shim.png +0 -0
- data/app/assets/images/releaf/expand_tool/open_shim.png +0 -0
- data/app/assets/images/releaf/favicon.ico +0 -0
- data/app/assets/images/releaf/globalFieldContainerBgr.png +0 -0
- data/app/assets/images/releaf/icons/129.png +0 -0
- data/app/assets/images/releaf/icons/130.png +0 -0
- data/app/assets/images/releaf/icons/accept.png +0 -0
- data/app/assets/images/releaf/icons/add.png +0 -0
- data/app/assets/images/releaf/icons/arrow_down.png +0 -0
- data/app/assets/images/releaf/icons/arrow_left.png +0 -0
- data/app/assets/images/releaf/icons/arrow_refresh.png +0 -0
- data/app/assets/images/releaf/icons/arrow_up.png +0 -0
- data/app/assets/images/releaf/icons/bin_empty.png +0 -0
- data/app/assets/images/releaf/icons/bullet_black.png +0 -0
- data/app/assets/images/releaf/icons/bullet_connect.png +0 -0
- data/app/assets/images/releaf/icons/bullet_start.png +0 -0
- data/app/assets/images/releaf/icons/bullet_tick.png +0 -0
- data/app/assets/images/releaf/icons/chrome.png +0 -0
- data/app/assets/images/releaf/icons/control_play.png +0 -0
- data/app/assets/images/releaf/icons/date.png +0 -0
- data/app/assets/images/releaf/icons/delete.png +0 -0
- data/app/assets/images/releaf/icons/disk.png +0 -0
- data/app/assets/images/releaf/icons/drag-handle.png +0 -0
- data/app/assets/images/releaf/icons/error.png +0 -0
- data/app/assets/images/releaf/icons/eye.png +0 -0
- data/app/assets/images/releaf/icons/firefox.png +0 -0
- data/app/assets/images/releaf/icons/google-not-available.gif +0 -0
- data/app/assets/images/releaf/icons/google.gif +0 -0
- data/app/assets/images/releaf/icons/keyboard.png +0 -0
- data/app/assets/images/releaf/icons/left_16.png +0 -0
- data/app/assets/images/releaf/icons/link.png +0 -0
- data/app/assets/images/releaf/icons/magnifier.png +0 -0
- data/app/assets/images/releaf/icons/notAllowed.png +0 -0
- data/app/assets/images/releaf/icons/page_white_add.png +0 -0
- data/app/assets/images/releaf/icons/page_white_edit.png +0 -0
- data/app/assets/images/releaf/icons/page_white_put.png +0 -0
- data/app/assets/images/releaf/icons/page_white_text.png +0 -0
- data/app/assets/images/releaf/icons/pencil.png +0 -0
- data/app/assets/images/releaf/icons/picture.png +0 -0
- data/app/assets/images/releaf/icons/right_16.png +0 -0
- data/app/assets/images/releaf/icons/tick.png +0 -0
- data/app/assets/images/releaf/icons/warning.png +0 -0
- data/app/assets/images/releaf/icons/world_go.png +0 -0
- data/app/assets/images/releaf/icons/world_link.png +0 -0
- data/app/assets/images/releaf/input/autocompleteExpandIcon.png +0 -0
- data/app/assets/images/releaf/input/input_bgr.gif +0 -0
- data/app/assets/images/releaf/language_root.png +0 -0
- data/app/assets/images/releaf/loader.gif +0 -0
- data/app/assets/images/releaf/logout.png +0 -0
- data/app/assets/images/releaf/main_menu/active_bgr.png +0 -0
- data/app/assets/images/releaf/main_menu/bgr.png +0 -0
- data/app/assets/images/releaf/main_menu/hover_bgr.png +0 -0
- data/app/assets/images/releaf/module.png +0 -0
- data/app/assets/images/releaf/panel_layout/active_bgr.png +0 -0
- data/app/assets/images/releaf/panel_layout/secondary_panel_horizontal_bgr.png +0 -0
- data/app/assets/images/releaf/panel_layout/secondary_panel_vertical_bgr.png +0 -0
- data/app/assets/images/releaf/releaf_table/selected_bgr.png +0 -0
- data/app/assets/images/releaf/releaf_table/th_bgr.gif +0 -0
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/README.md +0 -73
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/jquery.cookie.js +0 -47
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/server.js +0 -24
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/test.html +0 -19
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/test.js +0 -80
- data/app/assets/javascripts/releaf/3rd_party/jquery-ui-timepicker-addon.js +0 -1882
- data/app/assets/javascripts/releaf/3rd_party/lightbox.js.erb +0 -379
- data/app/assets/javascripts/releaf/application.js +0 -14
- data/app/assets/javascripts/releaf/controllers/base.js +0 -130
- data/app/assets/javascripts/releaf/controllers/releaf/content.js +0 -90
- data/app/assets/javascripts/releaf/controllers/releaf/translations.js +0 -31
- data/app/assets/javascripts/releaf/include/continuous_scroll.js +0 -321
- data/app/assets/javascripts/releaf/include/field.type_autocomplete.js +0 -58
- data/app/assets/javascripts/releaf/include/field.type_date_or_datetime_or_time.js +0 -43
- data/app/assets/javascripts/releaf/include/field.type_richtext.js +0 -90
- data/app/assets/javascripts/releaf/include/localization.js +0 -12
- data/app/assets/javascripts/releaf/include/nested_fields.js +0 -64
- data/app/assets/javascripts/releaf/include/sortable.js +0 -29
- data/app/assets/javascripts/releaf/lib/request_url.js +0 -183
- data/app/assets/stylesheets/releaf/3rd_party/jquery-ui-1.9.2.custom.css.erb +0 -464
- data/app/assets/stylesheets/releaf/3rd_party/jquery-ui-timepicker-addon.css +0 -10
- data/app/assets/stylesheets/releaf/3rd_party/lightbox.css.erb +0 -157
- data/app/assets/stylesheets/releaf/application.css.erb +0 -122
- data/app/assets/stylesheets/releaf/controllers/base.css.erb +0 -205
- data/app/assets/stylesheets/releaf/controllers/releaf/content.css.erb +0 -422
- data/app/assets/stylesheets/releaf/controllers/releaf/sessions.css.scss.erb +0 -116
- data/app/assets/stylesheets/releaf/controllers/releaf/translations.css.erb +0 -205
- data/app/assets/stylesheets/releaf/include/button.css.erb +0 -176
- data/app/assets/stylesheets/releaf/include/field.css.erb +0 -281
- data/app/assets/stylesheets/releaf/include/input.css.erb +0 -40
- data/app/assets/stylesheets/releaf/include/main_menu.css.erb +0 -66
- data/app/assets/stylesheets/releaf/include/pagination.css.erb +0 -29
- data/app/assets/stylesheets/releaf/include/panel_layout.css.erb +0 -251
- data/app/assets/stylesheets/releaf/include/releaf_table.css.erb +0 -112
- data/app/assets/stylesheets/releaf/include/sortable.css.erb +0 -12
- data/app/controllers/releaf/admins_controller.rb +0 -55
- data/app/controllers/releaf/application_controller.rb +0 -11
- data/app/controllers/releaf/base_application_controller.rb +0 -18
- data/app/controllers/releaf/base_controller.rb +0 -571
- data/app/controllers/releaf/content_controller.rb +0 -183
- data/app/controllers/releaf/roles_controller.rb +0 -38
- data/app/controllers/releaf/sessions_controller.rb +0 -27
- data/app/controllers/releaf/tinymce_assets_controller.rb +0 -26
- data/app/controllers/releaf/translations_controller.rb +0 -117
- data/app/helpers/releaf/admin_helper.rb +0 -59
- data/app/helpers/releaf/application_helper.rb +0 -4
- data/app/helpers/releaf/pagination_renderer.rb +0 -44
- data/app/helpers/releaf/releaf_devise_helper.rb +0 -8
- data/app/models/releaf/admin.rb +0 -60
- data/app/models/releaf/blank_node_base.rb +0 -29
- data/app/models/releaf/node.rb +0 -222
- data/app/models/releaf/node_base.rb +0 -31
- data/app/models/releaf/role.rb +0 -126
- data/app/models/releaf/tinymce_asset.rb +0 -6
- data/app/views/layouts/releaf/admin.html.haml +0 -57
- data/app/views/layouts/releaf/devise.html.haml +0 -32
- data/app/views/releaf/aliases/_edit.body.html.haml +0 -50
- data/app/views/releaf/aliases/_edit.header.html.haml +0 -19
- data/app/views/releaf/aliases/_index.row.html.haml +0 -5
- data/app/views/releaf/aliases/_secondary_panel.html.haml +0 -13
- data/app/views/releaf/base/_edit.body.html.haml +0 -11
- data/app/views/releaf/base/_edit.field.html.haml +0 -23
- data/app/views/releaf/base/_edit.field_type_autocomplete.html.haml +0 -15
- data/app/views/releaf/base/_edit.field_type_boolean.html.haml +0 -5
- data/app/views/releaf/base/_edit.field_type_date.html.haml +0 -8
- data/app/views/releaf/base/_edit.field_type_datetime.html.haml +0 -8
- data/app/views/releaf/base/_edit.field_type_delete_nested.html.haml +0 -3
- data/app/views/releaf/base/_edit.field_type_file.html.haml +0 -10
- data/app/views/releaf/base/_edit.field_type_image.html.haml +0 -12
- data/app/views/releaf/base/_edit.field_type_item.html.haml +0 -31
- data/app/views/releaf/base/_edit.field_type_link.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_link_i18n.html.haml +0 -26
- data/app/views/releaf/base/_edit.field_type_password.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_richtext.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_richtext_i18n.html.haml +0 -27
- data/app/views/releaf/base/_edit.field_type_text.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_text_i18n.html.haml +0 -27
- data/app/views/releaf/base/_edit.field_type_textarea.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_textarea_i18n.html.haml +0 -27
- data/app/views/releaf/base/_edit.field_type_time.html.haml +0 -8
- data/app/views/releaf/base/_edit.fields.association.html.haml +0 -48
- data/app/views/releaf/base/_edit.fields.has_many_template.html.haml +0 -15
- data/app/views/releaf/base/_edit.fields.html.haml +0 -20
- data/app/views/releaf/base/_edit.footer.html.haml +0 -14
- data/app/views/releaf/base/_edit.form.html.haml +0 -4
- data/app/views/releaf/base/_edit.header.html.haml +0 -3
- data/app/views/releaf/base/_index.body.html.haml +0 -6
- data/app/views/releaf/base/_index.cell.html.haml +0 -20
- data/app/views/releaf/base/_index.footer.html.haml +0 -28
- data/app/views/releaf/base/_index.header.html.haml +0 -4
- data/app/views/releaf/base/_index.row.html.haml +0 -6
- data/app/views/releaf/base/_index.search.html.haml +0 -5
- data/app/views/releaf/base/_index.table.html.haml +0 -24
- data/app/views/releaf/base/_secondary_panel.html.haml +0 -10
- data/app/views/releaf/base/_show.body.html.haml +0 -3
- data/app/views/releaf/base/_show.field.html.haml +0 -20
- data/app/views/releaf/base/_show.field_type_date.html.haml +0 -9
- data/app/views/releaf/base/_show.field_type_date_time.html.haml +0 -9
- data/app/views/releaf/base/_show.field_type_email.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_file.html.haml +0 -7
- data/app/views/releaf/base/_show.field_type_image.html.haml +0 -10
- data/app/views/releaf/base/_show.field_type_item.html.haml +0 -11
- data/app/views/releaf/base/_show.field_type_link.html.haml +0 -14
- data/app/views/releaf/base/_show.field_type_password.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_richtext.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_text.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_textarea.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_time.html.haml +0 -9
- data/app/views/releaf/base/_show.field_type_url.html.haml +0 -7
- data/app/views/releaf/base/_show.fields.association.html.haml +0 -36
- data/app/views/releaf/base/_show.fields.has_many_template.html.haml +0 -12
- data/app/views/releaf/base/_show.fields.html.haml +0 -17
- data/app/views/releaf/base/_show.footer.html.haml +0 -18
- data/app/views/releaf/base/_show.header.html.haml +0 -3
- data/app/views/releaf/base/confirm_destroy.html.haml +0 -17
- data/app/views/releaf/base/edit.html.haml +0 -1
- data/app/views/releaf/base/index.html.haml +0 -3
- data/app/views/releaf/base/new.html.haml +0 -1
- data/app/views/releaf/base/show.html.haml +0 -3
- data/app/views/releaf/content/_edit.body.html.haml +0 -46
- data/app/views/releaf/content/_edit.content_fields.html.haml +0 -11
- data/app/views/releaf/content/_edit.fields.html.haml +0 -17
- data/app/views/releaf/content/_edit.slug.html.haml +0 -12
- data/app/views/releaf/content/_get_content_form.html.haml +0 -7
- data/app/views/releaf/content/_secondary_panel.html.haml +0 -3
- data/app/views/releaf/content/_tree_level.html.haml +0 -16
- data/app/views/releaf/content/ajax.new.html.haml +0 -3
- data/app/views/releaf/content/index.html.haml +0 -0
- data/app/views/releaf/roles/_edit.field.permissions.html.haml +0 -5
- data/app/views/releaf/roles/_show.field.default.html.haml +0 -6
- data/app/views/releaf/roles/_show.field.permissions.html.haml +0 -11
- data/app/views/releaf/sessions/new.html.haml +0 -17
- data/app/views/releaf/translations/_edit.body.html.haml +0 -50
- data/app/views/releaf/translations/_edit.header.html.haml +0 -19
- data/app/views/releaf/translations/_index.row.html.haml +0 -5
- data/app/views/releaf/translations/_secondary_panel.html.haml +0 -13
- data/bin/releaf +0 -25
- data/lib/generators/releaf/install_generator.rb +0 -87
- data/lib/generators/releaf/templates/config/common_fields.yml.example +0 -17
- data/lib/generators/releaf/templates/controllers/home_controller.rb +0 -4
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_222222_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_454545_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_888888_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/lightbox/close.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/lightbox/loading.gif +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/lightbox/next.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/lightbox/prev.png +0 -0
- data/lib/generators/releaf/templates/initializers/releaf.rb +0 -20
- data/lib/generators/releaf/templates/initializers/releaf_i18n.rb +0 -25
- data/lib/generators/releaf/templates/initializers/releaf_store_current_template.rb +0 -25
- data/lib/generators/releaf/templates/javascripts/3rd_party/jquery.jcarousel.js +0 -1058
- data/lib/generators/releaf/templates/javascripts/3rd_party/jquery_ui.js +0 -14850
- data/lib/generators/releaf/templates/javascripts/3rd_party/lightbox.js.erb +0 -379
- data/lib/generators/releaf/templates/javascripts/application.js +0 -15
- data/lib/generators/releaf/templates/javascripts/lib/init_jcarousel.js +0 -40
- data/lib/generators/releaf/templates/javascripts/lib/js_check.js +0 -8
- data/lib/generators/releaf/templates/javascripts/lib/request_url.js +0 -169
- data/lib/generators/releaf/templates/javascripts/lib/sortable.js +0 -29
- data/lib/generators/releaf/templates/migrations/create_releaf_admins.rb +0 -53
- data/lib/generators/releaf/templates/migrations/create_releaf_nodes.rb +0 -25
- data/lib/generators/releaf/templates/migrations/create_releaf_roles.rb +0 -12
- data/lib/generators/releaf/templates/migrations/create_releaf_tinymce_assets.rb +0 -11
- data/lib/generators/releaf/templates/migrations/create_releaf_translations.rb +0 -31
- data/lib/generators/releaf/templates/models/admin_ability.rb +0 -51
- data/lib/generators/releaf/templates/seeds.rb +0 -64
- data/lib/generators/releaf/templates/stylesheets/3rd_party/jquery_ui/smoothness.css.erb +0 -1174
- data/lib/generators/releaf/templates/stylesheets/3rd_party/lightbox.css.erb +0 -157
- data/lib/generators/releaf/templates/stylesheets/3rd_party/reset.css +0 -48
- data/lib/generators/releaf/templates/stylesheets/application.scss +0 -15
- data/lib/generators/releaf/templates/stylesheets/style.scss +0 -45
- data/lib/generators/releaf/templates/views/home/index.html.haml +0 -1
- data/lib/generators/releaf/templates/views/layouts/application.html.haml +0 -26
- data/lib/i18n/backend/releaf.rb +0 -97
- data/lib/i18n/backend/releaf/translation.rb +0 -61
- data/lib/i18n/backend/releaf/translation_data.rb +0 -39
- data/lib/i18n/backend/releaf/translation_group.rb +0 -34
- data/lib/i18n/releaf.rb +0 -1
- data/lib/releaf/boolean_at.rb +0 -77
- data/lib/releaf/engine.rb +0 -4
- data/lib/releaf/globalize3/fallbacks.rb +0 -19
- data/lib/releaf/resources.rb +0 -101
- data/lib/releaf/slug.rb +0 -118
- data/lib/releaf/version.rb +0 -3
- data/lib/tasks/releaf_tasks.rake +0 -4
- data/spec/factories/factories.rb +0 -24
- data/spec/features/admin_spec.rb +0 -41
- data/templates/releaf/installer.rb +0 -207
@@ -1,10 +0,0 @@
|
|
1
|
-
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
|
2
|
-
.ui-timepicker-div dl { text-align: left; }
|
3
|
-
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
|
4
|
-
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
|
5
|
-
.ui-timepicker-div td { font-size: 90%; }
|
6
|
-
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
|
7
|
-
|
8
|
-
.ui-timepicker-rtl{ direction: rtl; }
|
9
|
-
.ui-timepicker-rtl dl { text-align: right; }
|
10
|
-
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
|
@@ -1,157 +0,0 @@
|
|
1
|
-
#lightboxOverlay {
|
2
|
-
position: absolute;
|
3
|
-
top: 0;
|
4
|
-
left: 0;
|
5
|
-
z-index: 9999;
|
6
|
-
background-color: black;
|
7
|
-
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
|
8
|
-
opacity: 0.85;
|
9
|
-
display: none;
|
10
|
-
}
|
11
|
-
|
12
|
-
#lightbox {
|
13
|
-
position: absolute;
|
14
|
-
left: 0;
|
15
|
-
width: 100%;
|
16
|
-
z-index: 10000;
|
17
|
-
text-align: center;
|
18
|
-
line-height: 0;
|
19
|
-
font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
|
20
|
-
font-weight: normal;
|
21
|
-
}
|
22
|
-
#lightbox img {
|
23
|
-
width: auto;
|
24
|
-
height: auto;
|
25
|
-
}
|
26
|
-
#lightbox a img {
|
27
|
-
border: none;
|
28
|
-
}
|
29
|
-
|
30
|
-
.lb-outerContainer {
|
31
|
-
position: relative;
|
32
|
-
background-color: white;
|
33
|
-
*zoom: 1;
|
34
|
-
width: 250px;
|
35
|
-
height: 250px;
|
36
|
-
margin: 0 auto;
|
37
|
-
-webkit-border-radius: 4px;
|
38
|
-
-moz-border-radius: 4px;
|
39
|
-
-ms-border-radius: 4px;
|
40
|
-
-o-border-radius: 4px;
|
41
|
-
border-radius: 4px;
|
42
|
-
}
|
43
|
-
.lb-outerContainer:after {
|
44
|
-
content: "";
|
45
|
-
display: table;
|
46
|
-
clear: both;
|
47
|
-
}
|
48
|
-
|
49
|
-
.lb-container {
|
50
|
-
padding: 10px;
|
51
|
-
}
|
52
|
-
|
53
|
-
.lb-loader {
|
54
|
-
position: absolute;
|
55
|
-
top: 40%;
|
56
|
-
left: 0%;
|
57
|
-
height: 25%;
|
58
|
-
width: 100%;
|
59
|
-
text-align: center;
|
60
|
-
line-height: 0;
|
61
|
-
}
|
62
|
-
|
63
|
-
.lb-nav {
|
64
|
-
position: absolute;
|
65
|
-
top: 0;
|
66
|
-
left: 0;
|
67
|
-
height: 100%;
|
68
|
-
width: 100%;
|
69
|
-
z-index: 10;
|
70
|
-
}
|
71
|
-
|
72
|
-
.lb-container > .nav {
|
73
|
-
left: 0;
|
74
|
-
}
|
75
|
-
|
76
|
-
.lb-nav a {
|
77
|
-
outline: none;
|
78
|
-
}
|
79
|
-
|
80
|
-
.lb-prev, .lb-next {
|
81
|
-
width: 49%;
|
82
|
-
height: 100%;
|
83
|
-
background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
84
|
-
/* Trick IE into showing hover */
|
85
|
-
display: block;
|
86
|
-
}
|
87
|
-
|
88
|
-
.lb-prev {
|
89
|
-
left: 0;
|
90
|
-
float: left;
|
91
|
-
}
|
92
|
-
|
93
|
-
.lb-next {
|
94
|
-
right: 0;
|
95
|
-
float: right;
|
96
|
-
}
|
97
|
-
|
98
|
-
.lb-prev:hover {
|
99
|
-
background: url(<%= asset_path('releaf/3rd_party/lightbox/prev.png') %>) left 48% no-repeat;
|
100
|
-
}
|
101
|
-
|
102
|
-
.lb-next:hover {
|
103
|
-
background: url(<%= asset_path('releaf/3rd_party/lightbox/next.png') %>) right 48% no-repeat;
|
104
|
-
}
|
105
|
-
|
106
|
-
.lb-dataContainer {
|
107
|
-
margin: 0 auto;
|
108
|
-
padding-top: 5px;
|
109
|
-
*zoom: 1;
|
110
|
-
width: 100%;
|
111
|
-
-moz-border-radius-bottomleft: 4px;
|
112
|
-
-webkit-border-bottom-left-radius: 4px;
|
113
|
-
-ms-border-bottom-left-radius: 4px;
|
114
|
-
-o-border-bottom-left-radius: 4px;
|
115
|
-
border-bottom-left-radius: 4px;
|
116
|
-
-moz-border-radius-bottomright: 4px;
|
117
|
-
-webkit-border-bottom-right-radius: 4px;
|
118
|
-
-ms-border-bottom-right-radius: 4px;
|
119
|
-
-o-border-bottom-right-radius: 4px;
|
120
|
-
border-bottom-right-radius: 4px;
|
121
|
-
}
|
122
|
-
.lb-dataContainer:after {
|
123
|
-
content: "";
|
124
|
-
display: table;
|
125
|
-
clear: both;
|
126
|
-
}
|
127
|
-
|
128
|
-
.lb-data {
|
129
|
-
padding: 0 10px;
|
130
|
-
color: #bbbbbb;
|
131
|
-
}
|
132
|
-
.lb-data .lb-details {
|
133
|
-
width: 85%;
|
134
|
-
float: left;
|
135
|
-
text-align: left;
|
136
|
-
line-height: 1.1em;
|
137
|
-
}
|
138
|
-
.lb-data .lb-caption {
|
139
|
-
font-size: 13px;
|
140
|
-
font-weight: bold;
|
141
|
-
line-height: 1em;
|
142
|
-
}
|
143
|
-
.lb-data .lb-number {
|
144
|
-
display: block;
|
145
|
-
clear: left;
|
146
|
-
padding-bottom: 1em;
|
147
|
-
font-size: 11px;
|
148
|
-
}
|
149
|
-
.lb-data .lb-close {
|
150
|
-
width: 35px;
|
151
|
-
float: right;
|
152
|
-
padding-bottom: 0.7em;
|
153
|
-
outline: none;
|
154
|
-
}
|
155
|
-
.lb-data .lb-close:hover {
|
156
|
-
cursor: pointer;
|
157
|
-
}
|
@@ -1,122 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
-
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
-
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
-
*= require_self
|
6
|
-
*= require_tree ./include
|
7
|
-
*= require ./3rd_party/jquery-ui-1.9.2.custom
|
8
|
-
*= require ./3rd_party/jquery-ui-timepicker-addon
|
9
|
-
*= require ./controllers/base
|
10
|
-
*= require ./3rd_party/lightbox
|
11
|
-
*/
|
12
|
-
|
13
|
-
body
|
14
|
-
{
|
15
|
-
background: #F4F9F2;
|
16
|
-
padding: 0;
|
17
|
-
margin: 0;
|
18
|
-
}
|
19
|
-
body
|
20
|
-
{
|
21
|
-
font-size: 0.8em;
|
22
|
-
background-color: #f2f1f1;
|
23
|
-
font-family: Tahoma, Arial, Helvetica, sans-serif;
|
24
|
-
}
|
25
|
-
body,
|
26
|
-
a
|
27
|
-
{
|
28
|
-
color: #494c48;
|
29
|
-
}
|
30
|
-
|
31
|
-
a img
|
32
|
-
{
|
33
|
-
border:none;
|
34
|
-
}
|
35
|
-
.clear
|
36
|
-
{
|
37
|
-
clear: both;
|
38
|
-
}
|
39
|
-
.clearInside:after
|
40
|
-
{
|
41
|
-
content: '.';
|
42
|
-
display: block;
|
43
|
-
clear: both;
|
44
|
-
height: 0;
|
45
|
-
visibility: hidden;
|
46
|
-
}
|
47
|
-
|
48
|
-
iframe
|
49
|
-
{
|
50
|
-
border:1px solid #CCCCCC;
|
51
|
-
}
|
52
|
-
a
|
53
|
-
{
|
54
|
-
text-decoration:none;
|
55
|
-
}
|
56
|
-
a:hover
|
57
|
-
{
|
58
|
-
color:#3366FF;
|
59
|
-
text-decoration:underline;
|
60
|
-
}
|
61
|
-
|
62
|
-
form
|
63
|
-
{
|
64
|
-
padding:0;
|
65
|
-
margin:0;
|
66
|
-
}
|
67
|
-
|
68
|
-
/* headers */
|
69
|
-
h1
|
70
|
-
{
|
71
|
-
font-size:150%;
|
72
|
-
}
|
73
|
-
h2
|
74
|
-
{
|
75
|
-
font-size:140%;
|
76
|
-
}
|
77
|
-
h3
|
78
|
-
{
|
79
|
-
font-size:130%;
|
80
|
-
}
|
81
|
-
h4
|
82
|
-
{
|
83
|
-
font-size:120%;
|
84
|
-
}
|
85
|
-
h5
|
86
|
-
{
|
87
|
-
font-size:110%;
|
88
|
-
}
|
89
|
-
h6
|
90
|
-
{
|
91
|
-
font-size:100%;
|
92
|
-
}
|
93
|
-
ul.block,
|
94
|
-
ol.block,
|
95
|
-
ul.block li,
|
96
|
-
ol.block li
|
97
|
-
{
|
98
|
-
list-style: none;
|
99
|
-
margin: 0;
|
100
|
-
padding: 0;
|
101
|
-
display: block;
|
102
|
-
}
|
103
|
-
|
104
|
-
/* TODO: move this elsewhere */
|
105
|
-
.special_field_wrap
|
106
|
-
{
|
107
|
-
display: inline-block;
|
108
|
-
}
|
109
|
-
.special_field_wrap input
|
110
|
-
{
|
111
|
-
padding-right: 22px;
|
112
|
-
width: 231px;
|
113
|
-
}
|
114
|
-
.special_field_wrap button,
|
115
|
-
.special_field_wrap button.no_styling
|
116
|
-
{
|
117
|
-
background: transparent none;
|
118
|
-
border: 0;
|
119
|
-
padding: 0;
|
120
|
-
vertical-align: 12%;
|
121
|
-
margin-left: -22px;
|
122
|
-
}
|
@@ -1,205 +0,0 @@
|
|
1
|
-
/* panel layout tweaks */
|
2
|
-
/* continuous scrolling */
|
3
|
-
.primary_panel > .body .releaf_table[data-continuous="1"] .thead > * > *,
|
4
|
-
.primary_panel > .body .releaf_table[data-continuous="1"] .tbody > * > *
|
5
|
-
{
|
6
|
-
white-space: nowrap;
|
7
|
-
max-width: 300px;
|
8
|
-
overflow: hidden;
|
9
|
-
text-overflow: ellipsis;
|
10
|
-
}
|
11
|
-
|
12
|
-
/* search form */
|
13
|
-
.primary_panel .header .search_form
|
14
|
-
{
|
15
|
-
float: right;
|
16
|
-
min-width: 262px;
|
17
|
-
}
|
18
|
-
.primary_panel .header .search_form.loading button[type="submit"]
|
19
|
-
{
|
20
|
-
background: transparent url("<%= asset_path 'releaf/loader.gif' %>") no-repeat 0px 1px;
|
21
|
-
}
|
22
|
-
.primary_panel .header .search_form.loading button[type="submit"] img
|
23
|
-
{
|
24
|
-
visibility: hidden;
|
25
|
-
}
|
26
|
-
.primary_panel .header .search_form .search
|
27
|
-
{
|
28
|
-
margin-left: 3px;
|
29
|
-
}
|
30
|
-
|
31
|
-
/* releaf table tweaks */
|
32
|
-
.panel_layout .releaf_table
|
33
|
-
{
|
34
|
-
font-size: 85%;
|
35
|
-
}
|
36
|
-
.primary_panel > .body div.releaf_table .nothing_found
|
37
|
-
{
|
38
|
-
position: absolute;
|
39
|
-
top: 35%;
|
40
|
-
right: 0;
|
41
|
-
bottom: 0;
|
42
|
-
left: 0;
|
43
|
-
text-align: center;
|
44
|
-
font-size: 4em;
|
45
|
-
font-weight: bold;
|
46
|
-
color: #BFBEBE;
|
47
|
-
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4), 0 1px 0px rgba(255, 255, 255, 0.9);
|
48
|
-
}
|
49
|
-
|
50
|
-
/* view: index */
|
51
|
-
.view-index .primary_panel .footer .create_new_item
|
52
|
-
{
|
53
|
-
margin-right: 25px;
|
54
|
-
}
|
55
|
-
.view-index .primary_panel .footer .actions
|
56
|
-
{
|
57
|
-
float: left;
|
58
|
-
}
|
59
|
-
.view-index .primary_panel .footer .list_action_switch
|
60
|
-
{
|
61
|
-
margin-right: 0;
|
62
|
-
}
|
63
|
-
.view-index .primary_panel .footer .stats
|
64
|
-
{
|
65
|
-
float: right;
|
66
|
-
font-size: 85%;
|
67
|
-
color: gray;
|
68
|
-
padding-top: 6px;
|
69
|
-
}
|
70
|
-
|
71
|
-
/* view: confirm_destroy */
|
72
|
-
.view-confirm_destroy .primary_panel .body
|
73
|
-
{
|
74
|
-
text-align: center;
|
75
|
-
top: 10px;
|
76
|
-
bottom: 10px;
|
77
|
-
}
|
78
|
-
.view-confirm_destroy .body .question
|
79
|
-
{
|
80
|
-
font-size: 2em;
|
81
|
-
margin: 20px 0 20px;
|
82
|
-
}
|
83
|
-
.view-confirm_destroy .body .description
|
84
|
-
{
|
85
|
-
font-size: 1.3em;
|
86
|
-
margin-bottom: 20px;
|
87
|
-
}
|
88
|
-
.view-confirm_destroy .body form
|
89
|
-
{
|
90
|
-
display: inline;
|
91
|
-
margin-right: 15px;
|
92
|
-
}
|
93
|
-
|
94
|
-
/* sections */
|
95
|
-
.view-new .primary_panel .body .section,
|
96
|
-
.view-show .primary_panel .body .section,
|
97
|
-
.view-edit .primary_panel .body .section
|
98
|
-
{
|
99
|
-
padding-top: 15px;
|
100
|
-
}
|
101
|
-
.view-new .primary_panel .body .section:after,
|
102
|
-
.view-edit .primary_panel .body .section:after
|
103
|
-
{
|
104
|
-
content: '';
|
105
|
-
height: 1px;
|
106
|
-
background-color: #b8b7b7;
|
107
|
-
border-bottom: 1px solid #f4f3f3;
|
108
|
-
display: block;
|
109
|
-
margin: 15px 1px 0 1px;
|
110
|
-
}
|
111
|
-
.view-new .primary_panel .body .section:last-child,
|
112
|
-
.view-show .primary_panel .body .section:last-child,
|
113
|
-
.view-edit .primary_panel .body .section:last-child
|
114
|
-
{
|
115
|
-
padding-bottom: 25px;
|
116
|
-
}
|
117
|
-
.view-new .primary_panel .body .section:last-child:after,
|
118
|
-
.view-show .primary_panel .body .section:last-child:after,
|
119
|
-
.view-edit .primary_panel .body .section:last-child:after
|
120
|
-
{
|
121
|
-
display: none;
|
122
|
-
}
|
123
|
-
|
124
|
-
/* underlined links */
|
125
|
-
.panel_layout a.mark
|
126
|
-
{
|
127
|
-
border-bottom: 1px solid #d0d0d0;
|
128
|
-
text-decoration: none;
|
129
|
-
}
|
130
|
-
.panel_layout a.mark:hover
|
131
|
-
{
|
132
|
-
border-bottom-color: gray;
|
133
|
-
}
|
134
|
-
|
135
|
-
/* left panel section collapsing style */
|
136
|
-
.panel_layout .secondary_panel .section_title
|
137
|
-
{
|
138
|
-
background: transparent url("<%= asset_path 'releaf/expand_tool/close_shim.png' %>") no-repeat 3px 6px;
|
139
|
-
padding-left: 15px;
|
140
|
-
cursor: pointer;
|
141
|
-
}
|
142
|
-
.panel_layout .secondary_panel .section_title:hover
|
143
|
-
{
|
144
|
-
background-image: url("<%= asset_path 'releaf/expand_tool/close_hover_shim.png' %>");
|
145
|
-
}
|
146
|
-
.panel_layout .secondary_panel .collapsed .section_title
|
147
|
-
{
|
148
|
-
background: transparent url("<%= asset_path 'releaf/expand_tool/open_shim.png' %>") no-repeat 5px 4px;
|
149
|
-
}
|
150
|
-
.panel_layout .secondary_panel .collapsed .section_title:hover
|
151
|
-
{
|
152
|
-
background-image: url("<%= asset_path 'releaf/expand_tool/open_hover_shim.png' %>");
|
153
|
-
}
|
154
|
-
.panel_layout .secondary_panel .collapsed > ul
|
155
|
-
{
|
156
|
-
display: none;
|
157
|
-
}
|
158
|
-
|
159
|
-
/* footer blocks */
|
160
|
-
.panel_layout .primary_panel .footer div.block
|
161
|
-
{
|
162
|
-
position: absolute;
|
163
|
-
top: 5px;
|
164
|
-
}
|
165
|
-
.panel_layout .primary_panel .footer .block.left_block
|
166
|
-
{
|
167
|
-
left: 15px;
|
168
|
-
text-align: left;
|
169
|
-
}
|
170
|
-
.panel_layout .primary_panel .footer .block.center_block
|
171
|
-
{
|
172
|
-
left: 33%;
|
173
|
-
right: 33%;
|
174
|
-
text-align: center;
|
175
|
-
}
|
176
|
-
.panel_layout .primary_panel .footer .block.right_block
|
177
|
-
{
|
178
|
-
right: 15px;
|
179
|
-
}
|
180
|
-
|
181
|
-
/* client side validation error style */
|
182
|
-
.panel_layout .field_with_errors .error
|
183
|
-
{
|
184
|
-
display: inline;
|
185
|
-
color: #D00;
|
186
|
-
padding-left: 5px;
|
187
|
-
font-size: 12px;
|
188
|
-
}
|
189
|
-
|
190
|
-
#preload_wrap
|
191
|
-
{
|
192
|
-
overflow: hidden;
|
193
|
-
}
|
194
|
-
#preload {
|
195
|
-
position: fixed;
|
196
|
-
top: -99999px;
|
197
|
-
left: -99999px;
|
198
|
-
}
|
199
|
-
.loading
|
200
|
-
{
|
201
|
-
width: 16px;
|
202
|
-
height: 16px;
|
203
|
-
background: url(<%= asset_path("releaf/loader.gif") %>) center center no-repeat;
|
204
|
-
}
|
205
|
-
|