alchemy_cms 2.5.3.1 → 2.6.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/.travis.yml +5 -13
- data/Gemfile +6 -3
- data/README.md +3 -2
- data/alchemy_cms.gemspec +22 -22
- data/app/assets/fonts/alchemy-icons.eot +0 -0
- data/app/assets/fonts/alchemy-icons.svg +54 -0
- data/app/assets/fonts/alchemy-icons.ttf +0 -0
- data/app/assets/fonts/alchemy-icons.woff +0 -0
- data/app/assets/images/alchemy/icons.png +0 -0
- data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +151 -0
- data/app/assets/javascripts/alchemy/alchemy.buttons.js.coffee +3 -2
- data/app/assets/javascripts/alchemy/alchemy.datepicker.js.coffee +31 -0
- data/app/assets/javascripts/alchemy/alchemy.dragndrop.js +1 -1
- data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +98 -0
- data/app/assets/javascripts/alchemy/alchemy.elements_window.js.coffee +23 -24
- data/app/assets/javascripts/alchemy/alchemy.growler.js.coffee +27 -0
- data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +11 -8
- data/app/assets/javascripts/alchemy/alchemy.hotkeys.js.coffee +32 -0
- data/app/assets/javascripts/alchemy/alchemy.image_cropper.js.coffee +46 -0
- data/app/assets/javascripts/alchemy/alchemy.js +8 -2
- data/app/assets/javascripts/alchemy/alchemy.link_overlay.js.coffee +5 -4
- data/app/assets/javascripts/alchemy/alchemy.list_filter.js.coffee +49 -0
- data/app/assets/javascripts/alchemy/alchemy.onload.js.coffee +3 -0
- data/app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee +71 -0
- data/app/assets/javascripts/alchemy/alchemy.sitemap.js.coffee +61 -0
- data/app/assets/javascripts/alchemy/alchemy.spinner.js.coffee +35 -0
- data/app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee +11 -0
- data/app/assets/javascripts/alchemy/alchemy.windows.js.coffee +278 -0
- data/app/assets/stylesheets/alchemy/admin.css.scss +2 -0
- data/app/assets/stylesheets/alchemy/archive.scss +109 -65
- data/app/assets/stylesheets/alchemy/base.scss +16 -188
- data/app/assets/stylesheets/alchemy/dashboard.scss +2 -2
- data/app/assets/stylesheets/alchemy/defaults.scss +2 -1
- data/app/assets/stylesheets/alchemy/elements.scss +58 -94
- data/app/assets/stylesheets/alchemy/errors.scss +2 -2
- data/app/assets/stylesheets/alchemy/{mixins.scss → extends.scss} +104 -80
- data/app/assets/stylesheets/alchemy/flash.scss +4 -6
- data/app/assets/stylesheets/alchemy/fonts.scss +46 -0
- data/app/assets/stylesheets/alchemy/form_elements.scss +46 -45
- data/app/assets/stylesheets/alchemy/frame.scss +20 -15
- data/app/assets/stylesheets/alchemy/icons.scss +22 -9
- data/app/assets/stylesheets/alchemy/jquery-ui.scss +476 -399
- data/app/assets/stylesheets/alchemy/login.scss +1 -1
- data/app/assets/stylesheets/alchemy/menubar.css.scss +1 -1
- data/app/assets/stylesheets/alchemy/notices.scss +5 -5
- data/app/assets/stylesheets/alchemy/pagination.scss +25 -13
- data/app/assets/stylesheets/alchemy/search.scss +29 -17
- data/app/assets/stylesheets/alchemy/sitemap.scss +41 -36
- data/app/assets/stylesheets/alchemy/tables.scss +102 -50
- data/app/assets/stylesheets/alchemy/tinymce_dialog.css.scss +18 -16
- data/app/assets/stylesheets/alchemy/toolbar.scss +84 -24
- data/app/assets/stylesheets/alchemy/upload.scss +14 -9
- data/app/assets/stylesheets/alchemy/variables.scss +1 -0
- data/app/assets/stylesheets/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css.scss +18 -21
- data/app/controllers/alchemy/admin/attachments_controller.rb +29 -39
- data/app/controllers/alchemy/admin/base_controller.rb +3 -9
- data/app/controllers/alchemy/admin/clipboard_controller.rb +1 -1
- data/app/controllers/alchemy/admin/contents_controller.rb +1 -1
- data/app/controllers/alchemy/admin/dashboard_controller.rb +1 -1
- data/app/controllers/alchemy/admin/elements_controller.rb +3 -3
- data/app/controllers/alchemy/admin/essence_files_controller.rb +1 -1
- data/app/controllers/alchemy/admin/essence_pictures_controller.rb +5 -5
- data/app/controllers/alchemy/admin/languages_controller.rb +1 -1
- data/app/controllers/alchemy/admin/pages_controller.rb +18 -16
- data/app/controllers/alchemy/admin/pictures_controller.rb +11 -10
- data/app/controllers/alchemy/admin/resources_controller.rb +87 -14
- data/app/controllers/alchemy/admin/tags_controller.rb +3 -3
- data/app/controllers/alchemy/admin/trash_controller.rb +3 -3
- data/app/controllers/alchemy/admin/users_controller.rb +6 -11
- data/app/controllers/alchemy/attachments_controller.rb +8 -9
- data/app/controllers/alchemy/base_controller.rb +17 -10
- data/app/controllers/alchemy/pages_controller.rb +7 -19
- data/app/controllers/alchemy/passwords_controller.rb +15 -3
- data/app/controllers/alchemy/user_sessions_controller.rb +5 -4
- data/app/controllers/alchemy/users_controller.rb +1 -1
- data/app/helpers/alchemy/admin/attachments_helper.rb +2 -2
- data/app/helpers/alchemy/admin/base_helper.rb +62 -90
- data/app/helpers/alchemy/admin/elements_helper.rb +13 -5
- data/app/helpers/alchemy/admin/essences_helper.rb +3 -5
- data/app/helpers/alchemy/admin/pages_helper.rb +6 -3
- data/app/helpers/alchemy/admin/tags_helper.rb +60 -0
- data/app/helpers/alchemy/base_helper.rb +16 -20
- data/app/helpers/alchemy/elements_helper.rb +7 -11
- data/app/helpers/alchemy/essences_helper.rb +2 -2
- data/app/helpers/alchemy/pages_helper.rb +31 -69
- data/app/helpers/alchemy/url_helper.rb +11 -3
- data/app/models/alchemy/attachment.rb +73 -45
- data/app/models/alchemy/cell.rb +1 -1
- data/app/models/alchemy/content.rb +20 -9
- data/app/models/alchemy/element.rb +9 -7
- data/app/models/alchemy/page.rb +15 -248
- data/app/models/alchemy/page/cells.rb +71 -0
- data/app/models/alchemy/page/elements.rb +147 -0
- data/app/models/alchemy/page/naming.rb +90 -0
- data/app/models/alchemy/picture.rb +18 -13
- data/app/models/alchemy/tag.rb +1 -1
- data/app/models/alchemy/user.rb +38 -6
- data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +14 -7
- data/app/views/alchemy/admin/attachments/_attachment.html.erb +17 -12
- data/app/views/alchemy/admin/attachments/_file_to_assign.html.erb +3 -8
- data/app/views/alchemy/admin/attachments/_files_list.html.erb +20 -12
- data/app/views/alchemy/admin/attachments/_overlay_file_list.html.erb +11 -0
- data/app/views/alchemy/admin/attachments/_tag_list.html.erb +31 -0
- data/app/views/alchemy/admin/attachments/archive_overlay.js.erb +4 -0
- data/app/views/alchemy/admin/attachments/edit.html.erb +8 -7
- data/app/views/alchemy/admin/attachments/index.html.erb +19 -12
- data/app/views/alchemy/admin/attachments/new.html.erb +2 -2
- data/app/views/alchemy/admin/attachments/show.html.erb +3 -0
- data/app/views/alchemy/admin/contents/_missing.html.erb +4 -4
- data/app/views/alchemy/admin/contents/create.js.erb +1 -1
- data/app/views/alchemy/admin/contents/new.html.erb +6 -3
- data/app/views/alchemy/admin/dashboard/_locked_pages.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/_users.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/index.html.erb +3 -3
- data/app/views/alchemy/admin/dashboard/info.html.erb +16 -13
- data/app/views/alchemy/admin/elements/_add_picture.html.erb +1 -1
- data/app/views/alchemy/admin/elements/_element_foot.html.erb +4 -4
- data/app/views/alchemy/admin/elements/_element_head.html.erb +1 -7
- data/app/views/alchemy/admin/elements/_elements_select.html.erb +2 -2
- data/app/views/alchemy/admin/elements/_new_element_form.html.erb +4 -4
- data/app/views/alchemy/admin/elements/_picture_gallery_editor.html.erb +1 -1
- data/app/views/alchemy/admin/elements/create.js.erb +2 -2
- data/app/views/alchemy/admin/elements/fold.js.erb +3 -6
- data/app/views/alchemy/admin/elements/new.html.erb +1 -1
- data/app/views/alchemy/admin/elements/order.js.erb +1 -1
- data/app/views/alchemy/admin/elements/trash.js.erb +1 -1
- data/app/views/alchemy/admin/elements/update.js.erb +2 -2
- data/app/views/alchemy/admin/essence_files/edit.html.erb +4 -4
- data/app/views/alchemy/admin/essence_pictures/crop.html.erb +17 -18
- data/app/views/alchemy/admin/essence_pictures/edit.html.erb +2 -2
- data/app/views/alchemy/admin/essence_pictures/update.js.erb +1 -0
- data/app/views/alchemy/admin/languages/_form.html.erb +12 -10
- data/app/views/alchemy/admin/languages/_language.html.erb +2 -1
- data/app/views/alchemy/admin/languages/_table.html.erb +3 -3
- data/app/views/alchemy/admin/languages/index.html.erb +15 -15
- data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +6 -6
- data/app/views/alchemy/admin/layoutpages/index.html.erb +41 -40
- data/app/views/alchemy/admin/pages/_contactform_links.html.erb +4 -4
- data/app/views/alchemy/admin/pages/_create_language_form.html.erb +6 -6
- data/app/views/alchemy/admin/pages/_external_link.html.erb +2 -2
- data/app/views/alchemy/admin/pages/_file_link.html.erb +3 -3
- data/app/views/alchemy/admin/pages/_internal_link.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_new_page_form.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_page.html.erb +13 -13
- data/app/views/alchemy/admin/pages/_page_for_links.html.erb +2 -4
- data/app/views/alchemy/admin/pages/_sitemap.html.erb +5 -0
- data/app/views/alchemy/admin/pages/configure.html.erb +7 -7
- data/app/views/alchemy/admin/pages/configure_external.html.erb +4 -4
- data/app/views/alchemy/admin/pages/edit.html.erb +23 -30
- data/app/views/alchemy/admin/pages/index.html.erb +34 -23
- data/app/views/alchemy/admin/pages/new.html.erb +1 -1
- data/app/views/alchemy/admin/pages/sort.js.erb +1 -1
- data/app/views/alchemy/admin/partials/_flash_upload.html.erb +2 -3
- data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +2 -2
- data/app/views/alchemy/admin/partials/_search_form.html.erb +3 -3
- data/app/views/alchemy/admin/partials/_upload_form.html.erb +2 -2
- data/app/views/alchemy/admin/pictures/_archive.html.erb +7 -7
- data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +1 -1
- data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +6 -6
- data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +4 -4
- data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +1 -1
- data/app/views/alchemy/admin/pictures/_picture.html.erb +3 -8
- data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +9 -14
- data/app/views/alchemy/admin/pictures/_tag_list.html.erb +27 -25
- data/app/views/alchemy/admin/pictures/archive_overlay.js.erb +3 -1
- data/app/views/alchemy/admin/pictures/index.html.erb +49 -42
- data/app/views/alchemy/admin/pictures/new.html.erb +2 -2
- data/app/views/alchemy/admin/pictures/show.html.erb +11 -0
- data/app/views/alchemy/admin/resources/_boolean.html.erb +2 -2
- data/app/views/alchemy/admin/resources/_datetime.html.erb +2 -2
- data/app/views/alchemy/admin/resources/_form.html.erb +9 -8
- data/app/views/alchemy/admin/resources/_resource.html.erb +15 -21
- data/app/views/alchemy/admin/resources/_string.html.erb +2 -2
- data/app/views/alchemy/admin/resources/_table.html.erb +11 -13
- data/app/views/alchemy/admin/resources/_text.html.erb +2 -2
- data/app/views/alchemy/admin/resources/index.csv.erb +13 -0
- data/app/views/alchemy/admin/resources/index.html.erb +24 -15
- data/app/views/alchemy/admin/sites/index.html.erb +23 -0
- data/app/views/alchemy/admin/tags/_radio_tag.html.erb +1 -1
- data/app/views/alchemy/admin/tags/_tag.html.erb +2 -1
- data/app/views/alchemy/admin/tags/edit.html.erb +1 -1
- data/app/views/alchemy/admin/tags/index.html.erb +16 -11
- data/app/views/alchemy/admin/tags/new.html.erb +3 -3
- data/app/views/alchemy/admin/trash/clear.js.coffee +1 -1
- data/app/views/alchemy/admin/users/_table.html.erb +12 -5
- data/app/views/alchemy/admin/users/_user.html.erb +16 -16
- data/app/views/alchemy/admin/users/index.html.erb +28 -16
- data/app/views/alchemy/breadcrumb/_page.html.erb +15 -0
- data/app/views/alchemy/breadcrumb/_spacer.html.erb +1 -0
- data/app/views/alchemy/elements/_editor_not_found.html.erb +1 -1
- data/app/views/alchemy/essences/_essence_file_editor.html.erb +16 -16
- data/app/views/alchemy/essences/_essence_file_view.html.erb +8 -9
- data/app/views/alchemy/essences/_essence_picture_editor.html.erb +3 -6
- data/app/views/alchemy/essences/_essence_picture_tools.html.erb +9 -8
- data/app/views/alchemy/essences/_essence_richtext_editor.html.erb +0 -5
- data/app/views/alchemy/essences/_linkable_essence_tools.html.erb +2 -2
- data/app/views/alchemy/navigation/_link.html.erb +7 -7
- data/app/views/alchemy/navigation/_renderer.html.erb +29 -36
- data/app/views/alchemy/notifications/admin_user_created.de.text.erb +5 -1
- data/app/views/alchemy/notifications/admin_user_created.en.text.erb +5 -1
- data/app/views/alchemy/notifications/registered_user_created.de.text.erb +13 -0
- data/app/views/alchemy/notifications/registered_user_created.en.text.erb +13 -0
- data/app/views/alchemy/search/_result.html.erb +4 -6
- data/app/views/alchemy/search/_results.html.erb +4 -5
- data/app/views/alchemy/user_sessions/leave.html.erb +1 -1
- data/app/views/alchemy/user_sessions/new.html.erb +2 -2
- data/app/views/kaminari/_first_page.html.erb +11 -0
- data/app/views/kaminari/_gap.html.erb +1 -1
- data/app/views/kaminari/_last_page.html.erb +11 -0
- data/app/views/kaminari/_next_page.html.erb +2 -2
- data/app/views/kaminari/_page.html.erb +1 -1
- data/app/views/kaminari/_paginator.html.erb +2 -0
- data/app/views/kaminari/_prev_page.html.erb +2 -2
- data/app/views/layouts/alchemy/admin.html.erb +4 -5
- data/config/alchemy/config.yml +8 -12
- data/config/authorization_rules.rb +4 -3
- data/config/initializers/dragonfly.rb +20 -12
- data/config/locales/alchemy.de.yml +20 -15
- data/config/locales/alchemy.en.yml +15 -10
- data/config/locales/devise.de.yml +1 -0
- data/config/routes.rb +3 -3
- data/{spec/dummy/db/migrate/20121118000000_alchemy_two_point_four.rb → db/migrate/20130214233001_alchemy_two_point_five.rb} +50 -36
- data/db/migrate/20130221200514_migrate_attachments_to_dragonfly.rb +21 -0
- data/db/migrate/20130312205327_change_alchemy_users_role_to_roles.rb +11 -0
- data/lib/alchemy/capistrano.rb +10 -8
- data/lib/alchemy/errors.rb +7 -0
- data/lib/alchemy/filetypes.rb +33 -0
- data/lib/alchemy/i18n.rb +9 -1
- data/lib/alchemy/name_conversions.rb +28 -0
- data/lib/alchemy/page_layout.rb +5 -3
- data/lib/alchemy/resource.rb +132 -29
- data/lib/alchemy/resources_helper.rb +81 -12
- data/lib/alchemy/upgrader.rb +14 -276
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy_cms.rb +17 -2
- data/lib/rails/generators/alchemy/deploy_script/templates/deploy.rb.tt +1 -1
- data/lib/rails/generators/alchemy/scaffold/scaffold_generator.rb +1 -1
- data/lib/tasks/alchemy/convert.rake +39 -0
- data/lib/tasks/alchemy/install.rake +4 -6
- data/lib/tasks/alchemy/upgrade.rake +18 -1
- data/spec/controllers/admin/clipboard_controller_spec.rb +4 -4
- data/spec/controllers/admin/elements_controller_spec.rb +23 -23
- data/spec/controllers/admin/pages_controller_spec.rb +15 -0
- data/spec/controllers/admin/resources_controller_spec.rb +1 -11
- data/spec/controllers/admin/trash_controller_spec.rb +9 -9
- data/spec/controllers/attachments_controller_spec.rb +3 -3
- data/spec/controllers/elements_controller_spec.rb +2 -2
- data/spec/controllers/pages_controller_spec.rb +160 -129
- data/spec/controllers/pictures_controller_spec.rb +2 -2
- data/spec/controllers/user_sessions_controller_spec.rb +3 -3
- data/spec/controllers/users_controller_spec.rb +2 -2
- data/spec/dummy/app/models/event.rb +2 -2
- data/spec/dummy/app/models/location.rb +4 -0
- data/spec/dummy/app/views/layouts/application.html.erb +6 -42
- data/spec/dummy/config/routes.rb +1 -1
- data/spec/dummy/db/migrate/20121026104128_create_events.rb +0 -1
- data/{db/migrate/20121118000000_alchemy_two_point_four.rb → spec/dummy/db/migrate/20130214233001_alchemy_two_point_five.rb} +50 -36
- data/spec/dummy/db/migrate/20130221200514_migrate_attachments_to_dragonfly.rb +21 -0
- data/spec/dummy/db/migrate/20130312205327_change_alchemy_users_role_to_roles.rb +11 -0
- data/spec/dummy/db/migrate/20130328101418_create_locations.rb +9 -0
- data/spec/dummy/db/schema.rb +15 -6
- data/spec/factories.rb +4 -4
- data/spec/{integration → features}/admin/link_overlay_spec.rb +0 -0
- data/spec/{integration → features}/admin/modules_integration_spec.rb +1 -1
- data/spec/{integration → features}/admin/pages_controller_spec.rb +9 -4
- data/spec/{integration → features}/admin/picture_library_integration_spec.rb +5 -5
- data/spec/{integration → features}/admin/resources_integration_spec.rb +1 -1
- data/spec/{integration → features}/navigation_spec.rb +0 -0
- data/spec/{integration → features}/pages_controller_spec.rb +42 -112
- data/spec/{integration → features}/picture_security_spec.rb +2 -2
- data/spec/{integration → features}/security_spec.rb +7 -7
- data/spec/{integration → features}/translation_integration_spec.rb +0 -0
- data/spec/helpers/admin/base_helper_spec.rb +0 -50
- data/spec/helpers/admin/tags_helper_spec.rb +53 -0
- data/spec/helpers/base_helper_spec.rb +19 -3
- data/spec/helpers/pages_helper_spec.rb +92 -44
- data/spec/{url_helpers_spec.rb → helpers/picture_url_helpers_spec.rb} +7 -7
- data/spec/helpers/url_helper_spec.rb +92 -72
- data/spec/{config_spec.rb → libraries/config_spec.rb} +0 -0
- data/spec/libraries/resource_spec.rb +215 -76
- data/spec/libraries/resources_helper_spec.rb +70 -28
- data/spec/models/attachment_spec.rb +75 -9
- data/spec/models/clipboard_spec.rb +1 -1
- data/spec/models/element_spec.rb +7 -0
- data/spec/models/page_spec.rb +144 -25
- data/spec/models/picture_spec.rb +5 -5
- data/spec/models/resource_spec.rb +47 -10
- data/spec/models/user_spec.rb +115 -3
- data/spec/{routing_spec.rb → routing/routing_spec.rb} +8 -20
- data/spec/spec_helper.rb +5 -6
- data/spec/support/alchemy/specs_helpers.rb +1 -1
- data/spec/support/ci/install_phantomjs +1 -1
- data/spec/support/image with spaces.png +0 -0
- data/vendor/assets/javascripts/jquery_plugins/jquery.Jcrop.min.js +18 -18
- data/vendor/assets/javascripts/jquery_plugins/{jquery.dialogextend.1_0_1.js → jquery.dialogextend.js} +25 -17
- data/vendor/assets/javascripts/jquery_plugins/jquery.scrollTo.min.js +7 -0
- data/vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js +7 -7
- data/vendor/assets/javascripts/keymage.min.js +6 -0
- data/vendor/assets/javascripts/spin.min.js +1 -0
- metadata +122 -124
- data/app/assets/images/alchemy/ajax_loader.gif +0 -0
- data/app/assets/images/alchemy/gui/toggle.png +0 -0
- data/app/assets/images/alchemy/image_loader.gif +0 -0
- data/app/assets/images/alchemy/shading.png +0 -0
- data/app/assets/images/alchemy/tabs.gif +0 -0
- data/app/assets/javascripts/alchemy/alchemy.base.js +0 -172
- data/app/assets/javascripts/alchemy/alchemy.datepicker.js +0 -47
- data/app/assets/javascripts/alchemy/alchemy.element_editor_selector.js +0 -91
- data/app/assets/javascripts/alchemy/alchemy.growler.js +0 -46
- data/app/assets/javascripts/alchemy/alchemy.image_cropper.js +0 -60
- data/app/assets/javascripts/alchemy/alchemy.js_extensions.js +0 -15
- data/app/assets/javascripts/alchemy/alchemy.preview_window.js +0 -97
- data/app/assets/javascripts/alchemy/alchemy.windows.js +0 -321
- data/app/models/alchemy/clipboard_spec.rb +0 -0
- data/app/views/alchemy/admin/pictures/show_in_window.html.erb +0 -8
- data/app/views/alchemy/notifications/registered_user_created.text.erb +0 -11
- data/db/migrate/20121121162313_switch_from_fleximage_to_dragonfly.rb +0 -21
- data/db/migrate/20121205155004_create_alchemy_sites.rb +0 -14
- data/db/migrate/20121211163003_add_public_to_alchemy_sites.rb +0 -6
- data/db/migrate/20121220102223_add_aliases_to_site.rb +0 -6
- data/db/migrate/20130110212411_create_alchemy_legacy_page_urls.rb +0 -11
- data/db/migrate/20130121092645_migrate_to_devise.rb +0 -24
- data/spec/alchemy_spec.rb +0 -7
- data/spec/dummy/db/migrate/20121121162313_switch_from_fleximage_to_dragonfly.rb +0 -21
- data/spec/dummy/db/migrate/20121205155004_create_alchemy_sites.rb +0 -14
- data/spec/dummy/db/migrate/20121211163003_add_public_to_alchemy_sites.rb +0 -6
- data/spec/dummy/db/migrate/20121220102223_add_aliases_to_site.rb +0 -6
- data/spec/dummy/db/migrate/20130110212411_create_alchemy_legacy_page_urls.rb +0 -11
- data/spec/dummy/db/migrate/20130121092645_migrate_to_devise.rb +0 -24
- data/vendor/assets/javascripts/jquery_plugins/jquery.scrollTo-1.4.2-min.js +0 -11
@@ -1,9 +1,9 @@
|
|
1
|
-
|
1
|
+
.message {
|
2
2
|
padding: 8px 8px 8px 32px;
|
3
3
|
line-height: 17px;
|
4
4
|
border-width: 1px;
|
5
5
|
border-style: solid;
|
6
|
-
@
|
6
|
+
@extend .rounded-border;
|
7
7
|
position: relative;
|
8
8
|
margin-bottom: 8px;
|
9
9
|
text-align: left;
|
@@ -33,20 +33,20 @@
|
|
33
33
|
}
|
34
34
|
|
35
35
|
div.info {
|
36
|
-
@
|
36
|
+
@extend .message;
|
37
37
|
color: $text-color;
|
38
38
|
background-color: #eaf4f9;
|
39
39
|
border-color: #0b5c84;
|
40
40
|
}
|
41
41
|
|
42
42
|
div.error {
|
43
|
-
@
|
43
|
+
@extend .message;
|
44
44
|
background-color: #f1c9ca;
|
45
45
|
color: #931f23;
|
46
46
|
}
|
47
47
|
|
48
48
|
div.warning, div.warn {
|
49
|
-
@
|
49
|
+
@extend .message;
|
50
50
|
background-color: #f7efb8;
|
51
51
|
color: #756f47;
|
52
52
|
}
|
@@ -1,11 +1,18 @@
|
|
1
|
-
|
1
|
+
.pagination {
|
2
|
+
@include box-sizing(border-box);
|
2
3
|
background: $light_gray;
|
4
|
+
color: $text-color;
|
5
|
+
position: fixed;
|
6
|
+
bottom: 0;
|
7
|
+
right: 0;
|
3
8
|
width: 100%;
|
4
|
-
left:
|
5
|
-
|
6
|
-
|
7
|
-
padding:
|
8
|
-
text-align:
|
9
|
+
left: 0px;
|
10
|
+
height: 50px;
|
11
|
+
padding: 2*$default-padding $default-padding;
|
12
|
+
padding-left: 76px;
|
13
|
+
text-align: left;
|
14
|
+
border-top: $default-border;
|
15
|
+
z-index: 10;
|
9
16
|
|
10
17
|
a, span, em {
|
11
18
|
font-size: $default-font-size;
|
@@ -17,16 +24,20 @@ div.pagination {
|
|
17
24
|
a:hover {
|
18
25
|
color: #000;
|
19
26
|
text-shadow: none;
|
20
|
-
text-decoration:
|
27
|
+
text-decoration: none;
|
21
28
|
}
|
22
29
|
|
30
|
+
span a { padding: 0 }
|
31
|
+
|
32
|
+
.button { padding: 0px 8px }
|
33
|
+
|
23
34
|
.current {
|
24
|
-
background: $button-hover-bg-color;
|
25
35
|
color: $text-color;
|
26
36
|
border: $default-border;
|
27
37
|
text-shadow: 0px 1px 1px #fff;
|
28
38
|
cursor: default;
|
29
|
-
@
|
39
|
+
@extend .rounded-border;
|
40
|
+
padding: 5px 8px;
|
30
41
|
}
|
31
42
|
|
32
43
|
.previous_page {
|
@@ -37,17 +48,18 @@ div.pagination {
|
|
37
48
|
margin-left: 2*$default-padding;
|
38
49
|
}
|
39
50
|
|
40
|
-
.disabled {
|
51
|
+
.disabled, span {
|
41
52
|
color: #c0c0c0;
|
42
53
|
}
|
43
54
|
|
44
|
-
|
55
|
+
.gap {
|
45
56
|
border: none;
|
46
57
|
background: transparent;
|
47
58
|
cursor: default;
|
48
59
|
}
|
49
60
|
}
|
50
61
|
|
51
|
-
#assign_image_list
|
52
|
-
|
62
|
+
#assign_image_list .pagination, #assign_file_list .pagination {
|
63
|
+
position: absolute;
|
64
|
+
padding-left: 8px;
|
53
65
|
}
|
@@ -1,27 +1,22 @@
|
|
1
|
-
|
1
|
+
.search_field {
|
2
2
|
position: relative;
|
3
|
-
float: left;
|
4
3
|
margin-bottom: $default-margin;
|
5
4
|
}
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
float: left;
|
10
|
-
position: relative;
|
11
|
-
}
|
12
|
-
|
13
|
-
#alchemy a.search_field_clear {
|
6
|
+
.search_field_clear, .js_filter_field_clear {
|
7
|
+
display: none;
|
14
8
|
width: 16px;
|
15
9
|
height: 16px;
|
16
|
-
|
10
|
+
@extend .icon-cancel;
|
17
11
|
position: absolute;
|
18
12
|
right: 8px;
|
19
13
|
top: 7px;
|
20
|
-
|
14
|
+
text-decoration: none;
|
21
15
|
}
|
22
16
|
|
23
17
|
td#tags_tag_list {
|
24
18
|
text-align: left;
|
19
|
+
padding-top: 5px;
|
25
20
|
|
26
21
|
ul.tags {
|
27
22
|
max-height: 10em;
|
@@ -33,27 +28,44 @@ td#tags_tag_list {
|
|
33
28
|
list-style-type: none;
|
34
29
|
|
35
30
|
li {
|
36
|
-
background-color:
|
31
|
+
background-color: $medium-gray;
|
37
32
|
padding: 4px;
|
38
|
-
margin: 0;
|
33
|
+
margin: 0 0 4px 0;
|
34
|
+
position: relative;
|
35
|
+
@extend .rounded-border;
|
36
|
+
|
37
|
+
&.odd { background-color: #eaf3f9 }
|
39
38
|
|
40
|
-
|
41
|
-
|
39
|
+
input {
|
40
|
+
position: absolute;
|
41
|
+
top: 3px;
|
42
|
+
left: 4px;
|
43
|
+
}
|
44
|
+
|
45
|
+
label {
|
46
|
+
display: inline-block;
|
47
|
+
margin-left: 2em;
|
48
|
+
line-height: 1.6em;
|
42
49
|
}
|
43
50
|
}
|
44
51
|
}
|
45
52
|
|
46
53
|
.js_filter_field_box {
|
47
|
-
|
54
|
+
position: relative;
|
55
|
+
top: 0;
|
56
|
+
right: 0;
|
48
57
|
margin: 0;
|
49
58
|
|
50
59
|
.js_filter_field {
|
51
60
|
width: 100%;
|
52
|
-
@include border-radius(3px);
|
53
61
|
}
|
54
62
|
|
55
63
|
label {
|
56
64
|
display: none
|
57
65
|
}
|
58
66
|
}
|
67
|
+
|
68
|
+
.js_filter_field_clear {
|
69
|
+
right: 4px;
|
70
|
+
}
|
59
71
|
}
|
@@ -24,6 +24,7 @@ div#sort_panel {
|
|
24
24
|
display: block;
|
25
25
|
padding-left: 4px;
|
26
26
|
text-decoration: none;
|
27
|
+
@include transition(background-color, 400ms);
|
27
28
|
|
28
29
|
&.inactive {
|
29
30
|
color: #656565;
|
@@ -32,19 +33,19 @@ div#sort_panel {
|
|
32
33
|
&.odd {
|
33
34
|
background-color: #fff;
|
34
35
|
}
|
35
|
-
}
|
36
|
-
|
37
|
-
a.sitemap_pagename_link:hover {
|
38
|
-
text-decoration: underline;
|
39
36
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
37
|
+
:hover {
|
38
|
+
text-decoration: underline;
|
39
|
+
|
40
|
+
&:after {
|
41
|
+
content: '';
|
42
|
+
width: 16px;
|
43
|
+
height: 16px;
|
44
|
+
float: left;
|
45
|
+
margin-right: 4px;
|
46
|
+
background: url('icons.png') -160px -168px;
|
47
|
+
margin-top: 4px;
|
48
|
+
}
|
48
49
|
}
|
49
50
|
}
|
50
51
|
|
@@ -63,11 +64,11 @@ a.sitemap_pagename_link:hover {
|
|
63
64
|
overflow: hidden;
|
64
65
|
}
|
65
66
|
|
66
|
-
|
67
|
+
#page_selector_container .sitemap_pagename_link:hover {
|
67
68
|
text-decoration: none;
|
68
69
|
}
|
69
70
|
|
70
|
-
|
71
|
+
#page_selector_container .sitemap_pagename_link:hover:after {
|
71
72
|
display: none;
|
72
73
|
}
|
73
74
|
|
@@ -77,19 +78,27 @@ div#page_selector_container a.sitemap_pagename_link:hover:after {
|
|
77
78
|
height: 28px;
|
78
79
|
}
|
79
80
|
|
80
|
-
|
81
|
+
#layoutpages li {
|
81
82
|
padding: 0;
|
82
83
|
}
|
83
84
|
|
84
|
-
|
85
|
+
.sitemap_page {
|
85
86
|
height: 22px;
|
86
87
|
padding-bottom: 4px;
|
87
88
|
padding-top: 4px;
|
88
89
|
position: relative;
|
89
|
-
}
|
90
90
|
|
91
|
-
|
92
|
-
|
91
|
+
&.highlight .sitemap_pagename_link {
|
92
|
+
background-color: #FFFBA5;
|
93
|
+
}
|
94
|
+
|
95
|
+
&.no-match .sitemap_pagename_link {
|
96
|
+
color: $medium-gray;
|
97
|
+
}
|
98
|
+
|
99
|
+
&:hover .sitemap_pagename_link {
|
100
|
+
background-color: #fdffdf;
|
101
|
+
}
|
93
102
|
}
|
94
103
|
|
95
104
|
div.sitemap_left_images {
|
@@ -152,23 +161,14 @@ ul#sitemap {
|
|
152
161
|
}
|
153
162
|
}
|
154
163
|
|
155
|
-
|
156
|
-
|
157
|
-
background-repeat: no-repeat;
|
158
|
-
height: 9px;
|
159
|
-
width: 9px;
|
160
|
-
font-size: 0;
|
164
|
+
.page_folder {
|
165
|
+
@extend .icon;
|
161
166
|
float: left;
|
162
|
-
margin-left: -
|
163
|
-
margin-top:
|
164
|
-
|
165
|
-
&.collapsed {
|
166
|
-
background-position: 0 0;
|
167
|
-
}
|
167
|
+
margin-left: -21px;
|
168
|
+
margin-top: 1px;
|
168
169
|
|
169
|
-
&.
|
170
|
-
|
171
|
-
}
|
170
|
+
&.collapsed { @extend .icon.expand.small }
|
171
|
+
&.folded { @extend .icon.collapse.small }
|
172
172
|
}
|
173
173
|
|
174
174
|
ul {
|
@@ -211,7 +211,7 @@ ul.list .sitemap_sitename {
|
|
211
211
|
}
|
212
212
|
|
213
213
|
div.page_infos {
|
214
|
-
@
|
214
|
+
@extend .top-rounded-border;
|
215
215
|
background-color: #FFFFFF;
|
216
216
|
border-left: 1px solid #EDEDED;
|
217
217
|
float: right;
|
@@ -278,7 +278,7 @@ span.page_status {
|
|
278
278
|
}
|
279
279
|
|
280
280
|
.tooltip {
|
281
|
-
@
|
281
|
+
@extend %tooltip;
|
282
282
|
right: auto;
|
283
283
|
left: -12px;
|
284
284
|
top: 24px;
|
@@ -363,3 +363,8 @@ h2#sitemap_heading {
|
|
363
363
|
select#language_tree_select {
|
364
364
|
margin: 0;
|
365
365
|
}
|
366
|
+
|
367
|
+
#page_filter_result {
|
368
|
+
display: none;
|
369
|
+
padding-left: 4*$default-padding;
|
370
|
+
}
|
@@ -4,30 +4,82 @@ table {
|
|
4
4
|
padding: 0;
|
5
5
|
font-size: inherit;
|
6
6
|
width: 100%;
|
7
|
+
}
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
.list td, .list th {
|
10
|
+
padding: $default-padding 2*$default-padding;
|
11
|
+
vertical-align: top;
|
12
|
+
line-height: 18px;
|
13
|
+
border-right: 1px solid $medium-gray;
|
12
14
|
|
13
|
-
|
14
|
-
|
15
|
-
}
|
15
|
+
&.wrap-text {
|
16
|
+
white-space: normal !important;
|
16
17
|
}
|
18
|
+
}
|
17
19
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
.list td:first-child, .list th:first-child {
|
21
|
+
border-left: 1px solid $medium-gray
|
22
|
+
}
|
23
|
+
|
24
|
+
th {
|
25
|
+
white-space: nowrap;
|
26
|
+
text-align: left;
|
27
|
+
vertical-align: top;
|
28
|
+
@include background(linear-gradient(top, lighten($light-gray, 10) 0%, $light-gray 30%, $light-gray 90%, darken($light-gray, 10) 100%));
|
29
|
+
border-top: 1px solid $medium-gray;
|
30
|
+
color: #666;
|
31
|
+
font-weight: normal;
|
32
|
+
|
33
|
+
i {
|
34
|
+
font-style: normal;
|
35
|
+
position: absolute;
|
36
|
+
right: 2px;
|
37
|
+
top: 4px;
|
38
|
+
color: #999;
|
39
|
+
@include text-shadow(1px 1px 0px #fff);
|
40
|
+
}
|
41
|
+
|
42
|
+
a {
|
43
|
+
@include text-shadow(1px 1px 0px #fff);
|
44
|
+
|
45
|
+
&.sortable {
|
46
|
+
display: block;
|
47
|
+
margin: -4px -8px;
|
48
|
+
padding: 4px 18px 4px 8px;
|
49
|
+
}
|
50
|
+
|
51
|
+
&.sorted {
|
52
|
+
position: relative;
|
53
|
+
@include background(linear-gradient(top, lighten($light-gray, 10) 0%, $very-light-blue 50%, $light-gray 90%, darken($light-gray, 10) 100%));
|
54
|
+
}
|
23
55
|
}
|
24
56
|
}
|
25
57
|
|
26
|
-
|
58
|
+
tr.odd td {
|
59
|
+
background-color: #eaf3f9;
|
60
|
+
}
|
61
|
+
|
62
|
+
tr.even td {
|
63
|
+
background-color: white;
|
64
|
+
}
|
65
|
+
|
66
|
+
.list tr .tools {
|
27
67
|
width: 40px;
|
28
|
-
background
|
68
|
+
background: $light-gray;
|
69
|
+
border-top: 0 none;
|
70
|
+
border-right: 0 none;
|
29
71
|
white-space: nowrap;
|
30
|
-
@
|
72
|
+
@extend .disable-user-select;
|
73
|
+
|
74
|
+
a {
|
75
|
+
width: 19px;
|
76
|
+
height: 19px;
|
77
|
+
margin-right: 2px;
|
78
|
+
}
|
79
|
+
|
80
|
+
&.long {
|
81
|
+
width: 60px;
|
82
|
+
}
|
31
83
|
}
|
32
84
|
|
33
85
|
td.label, td.input, td.submit, td.select, td.value, td.note {
|
@@ -113,29 +165,35 @@ td.heading {
|
|
113
165
|
text-decoration: underline;
|
114
166
|
}
|
115
167
|
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
168
|
+
.list td.icon, .list th.icon {
|
169
|
+
background-color: $light-gray;
|
170
|
+
background-image: none;
|
171
|
+
border: 0 none;
|
172
|
+
padding: 0;
|
173
|
+
border-right: 1px solid $medium-gray;
|
174
|
+
text-align: center;
|
175
|
+
display: table-cell; // reset the .icon display: inline-block
|
120
176
|
}
|
121
177
|
|
122
|
-
|
123
|
-
|
178
|
+
.list .tools .icon, .list td.icon .icon {
|
179
|
+
@include inline-block;
|
180
|
+
width: 16px;
|
181
|
+
height: 16px;
|
182
|
+
@extend .disable-user-select;
|
183
|
+
background-repeat: no-repeat;
|
184
|
+
margin: 0 $default-margin;
|
124
185
|
}
|
125
186
|
|
126
|
-
|
127
|
-
|
128
|
-
width: 20px;
|
129
|
-
text-align: center;
|
187
|
+
.list td.icon .icon {
|
188
|
+
margin: $default-margin 2*$default-margin 0;
|
130
189
|
}
|
131
190
|
|
132
|
-
|
191
|
+
.list tr:hover td {
|
133
192
|
background-color: $light_yellow;
|
134
193
|
}
|
135
194
|
|
136
195
|
td.file_type {
|
137
196
|
width: 130px;
|
138
|
-
white-space: nowrap;
|
139
197
|
}
|
140
198
|
|
141
199
|
td.file_size {
|
@@ -146,13 +204,15 @@ td.date {
|
|
146
204
|
width: 150px;
|
147
205
|
}
|
148
206
|
|
149
|
-
|
150
|
-
text-align: right;
|
151
|
-
padding-right: 0;
|
152
|
-
}
|
207
|
+
td, th {
|
153
208
|
|
154
|
-
|
155
|
-
|
209
|
+
&.center, &.boolean {
|
210
|
+
text-align: center;
|
211
|
+
}
|
212
|
+
|
213
|
+
&.right {
|
214
|
+
text-align: right;
|
215
|
+
}
|
156
216
|
}
|
157
217
|
|
158
218
|
td.login {
|
@@ -173,7 +233,7 @@ th.count, td.count {
|
|
173
233
|
padding-right: 16px;
|
174
234
|
}
|
175
235
|
|
176
|
-
|
236
|
+
td.rights {
|
177
237
|
width: 60px;
|
178
238
|
}
|
179
239
|
|
@@ -181,24 +241,16 @@ table.window_form {
|
|
181
241
|
width: 100%;
|
182
242
|
}
|
183
243
|
|
184
|
-
|
244
|
+
.list .login_status {
|
185
245
|
width: 16px;
|
186
246
|
}
|
187
247
|
|
188
|
-
|
189
|
-
|
190
|
-
}
|
191
|
-
|
192
|
-
table tr.even td {
|
193
|
-
background-color: white;
|
194
|
-
}
|
248
|
+
td#user_roles {
|
249
|
+
padding: 9px 0;
|
195
250
|
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
}
|
201
|
-
|
202
|
-
td.file_name {
|
203
|
-
word-break: break-all;
|
251
|
+
label {
|
252
|
+
@include inline-block;
|
253
|
+
white-space: nowrap;
|
254
|
+
min-width: 40%;
|
255
|
+
}
|
204
256
|
}
|