alchemy_cms 2.1.beta1 → 2.1.beta5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/.rspec +2 -2
- data/.travis.yml +2 -1
- data/Gemfile +8 -9
- data/README.md +10 -10
- data/Rakefile +0 -1
- data/alchemy_cms.gemspec +7 -9
- data/app/assets/images/alchemy/icons.png +0 -0
- data/app/assets/javascripts/alchemy/alchemy.base.js +8 -2
- data/app/assets/javascripts/alchemy/{alchemy.dragndrop.js → alchemy.dragndrop.js.erb} +3 -3
- data/app/assets/javascripts/alchemy/alchemy.element_editor_selector.js +1 -1
- data/app/assets/javascripts/alchemy/alchemy.growler.js +3 -3
- data/app/assets/javascripts/alchemy/alchemy.js +10 -15
- data/app/assets/javascripts/alchemy/alchemy.link_overlay.js +6 -2
- data/app/assets/javascripts/alchemy/alchemy.page_sorter.js +1 -1
- data/app/assets/javascripts/alchemy/alchemy.preview.js +1 -1
- data/app/assets/javascripts/alchemy/alchemy.routes.js.erb +38 -0
- data/app/assets/javascripts/alchemy/alchemy.swf_upload.js +360 -0
- data/app/assets/javascripts/alchemy/alchemy.windows.js +32 -17
- data/app/assets/javascripts/alchemy/preview.js +1 -0
- data/{vendor → app}/assets/javascripts/tiny_mce/plugins/alchemy_link/editor_plugin.js +0 -0
- data/{vendor → app}/assets/javascripts/tiny_mce/plugins/alchemy_link/langs/de.js +0 -0
- data/{vendor → app}/assets/javascripts/tiny_mce/plugins/alchemy_link/langs/en.js +0 -0
- data/{vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css.erb → app/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css.scss} +15 -33
- data/app/assets/stylesheets/alchemy/_defaults.scss +4 -16
- data/app/assets/stylesheets/alchemy/alchemy.css +2 -2
- data/app/assets/stylesheets/alchemy/base.css.scss +161 -205
- data/app/assets/stylesheets/alchemy/elements.css.scss +15 -8
- data/app/assets/stylesheets/alchemy/{jquery-ui.alchemy.css → jquery-ui.alchemy.css.scss} +41 -45
- data/app/assets/stylesheets/alchemy/jquery.sb.css.scss +14 -10
- data/app/assets/stylesheets/alchemy/{tinymce_content.css → tinymce_content.css.scss} +7 -6
- data/app/assets/stylesheets/alchemy/{tinymce_dialog.css → tinymce_dialog.css.scss} +7 -7
- data/app/controllers/alchemy/admin/attachments_controller.rb +131 -0
- data/app/controllers/alchemy/admin/base_controller.rb +118 -0
- data/app/controllers/alchemy/admin/clipboard_controller.rb +46 -0
- data/app/controllers/alchemy/admin/contents_controller.rb +55 -0
- data/app/controllers/alchemy/admin/dashboard_controller.rb +15 -0
- data/app/controllers/alchemy/admin/elements_controller.rb +123 -0
- data/app/controllers/alchemy/admin/essence_audios_controller.rb +12 -0
- data/app/controllers/alchemy/admin/essence_files_controller.rb +27 -0
- data/app/controllers/alchemy/admin/essence_flashes_controller.rb +12 -0
- data/app/controllers/alchemy/admin/essence_pictures_controller.rb +91 -0
- data/app/controllers/alchemy/admin/essence_videos_controller.rb +12 -0
- data/app/controllers/alchemy/admin/languages_controller.rb +7 -0
- data/app/controllers/alchemy/admin/layoutpages_controller.rb +13 -0
- data/app/controllers/alchemy/admin/pages_controller.rb +253 -0
- data/app/controllers/alchemy/admin/pictures_controller.rb +139 -0
- data/app/controllers/alchemy/admin/resources_controller.rb +132 -0
- data/app/controllers/alchemy/admin/trash_controller.rb +24 -0
- data/app/controllers/alchemy/admin/users_controller.rb +81 -0
- data/app/controllers/alchemy/attachments_controller.rb +30 -0
- data/app/controllers/alchemy/base_controller.rb +137 -0
- data/app/controllers/alchemy/elements_controller.rb +18 -0
- data/app/controllers/alchemy/messages_controller.rb +115 -0
- data/app/controllers/alchemy/pages_controller.rb +169 -0
- data/app/controllers/alchemy/pictures_controller.rb +62 -0
- data/app/controllers/alchemy/user_sessions_controller.rb +80 -0
- data/app/helpers/alchemy/admin/attachments_helper.rb +11 -0
- data/app/helpers/alchemy/admin/base_helper.rb +423 -0
- data/app/helpers/alchemy/admin/contents_helper.rb +75 -0
- data/app/helpers/alchemy/admin/elements_helper.rb +118 -0
- data/app/helpers/alchemy/admin/essences_helper.rb +78 -0
- data/app/helpers/alchemy/admin/pages_helper.rb +46 -0
- data/app/helpers/alchemy/admin/pictures_helper.rb +30 -0
- data/app/helpers/alchemy/base_helper.rb +65 -0
- data/app/helpers/alchemy/elements_helper.rb +173 -0
- data/app/helpers/alchemy/essences_helper.rb +101 -0
- data/app/helpers/alchemy/pages_helper.rb +550 -0
- data/app/mailers/alchemy/messages.rb +17 -0
- data/app/mailers/alchemy/notifications.rb +25 -0
- data/app/models/alchemy.rb +7 -0
- data/app/models/alchemy/attachment.rb +82 -0
- data/app/models/alchemy/cell.rb +61 -0
- data/app/models/alchemy/content.rb +163 -0
- data/app/models/alchemy/element.rb +479 -0
- data/app/models/alchemy/essence_audio.rb +19 -0
- data/app/models/alchemy/essence_date.rb +22 -0
- data/app/models/alchemy/essence_file.rb +19 -0
- data/app/models/alchemy/essence_flash.rb +17 -0
- data/app/models/alchemy/essence_html.rb +21 -0
- data/app/models/alchemy/essence_picture.rb +29 -0
- data/app/models/alchemy/essence_richtext.rb +63 -0
- data/app/models/alchemy/essence_text.rb +40 -0
- data/app/models/alchemy/essence_video.rb +19 -0
- data/app/models/alchemy/folded_page.rb +5 -0
- data/app/models/alchemy/language.rb +90 -0
- data/app/models/alchemy/message.rb +71 -0
- data/app/models/alchemy/page.rb +548 -0
- data/app/models/alchemy/picture.rb +100 -0
- data/app/models/alchemy/user.rb +72 -0
- data/app/models/alchemy/user_session.rb +12 -0
- data/app/sweepers/alchemy/content_sweeper.rb +22 -0
- data/app/sweepers/alchemy/pages_sweeper.rb +49 -0
- data/app/sweepers/alchemy/pictures_sweeper.rb +23 -0
- data/app/views/{admin → alchemy/admin}/attachments/_archive_overlay.html.erb +6 -6
- data/app/views/{admin → alchemy/admin}/attachments/_attachment.html.erb +14 -14
- data/app/views/{admin → alchemy/admin}/attachments/_file_to_assign.html.erb +0 -0
- data/app/views/alchemy/admin/attachments/_files_list.html.erb +25 -0
- data/app/views/{admin → alchemy/admin}/attachments/create.js.erb +0 -0
- data/app/views/{admin → alchemy/admin}/attachments/destroy.js.erb +0 -0
- data/app/views/{admin → alchemy/admin}/attachments/edit.html.erb +2 -2
- data/app/views/alchemy/admin/attachments/index.html.erb +18 -0
- data/app/views/{admin → alchemy/admin}/attachments/new.html.erb +3 -3
- data/app/views/{admin → alchemy/admin}/clipboard/clear.js.erb +1 -1
- data/app/views/alchemy/admin/clipboard/index.html.erb +19 -0
- data/app/views/alchemy/admin/clipboard/insert.js.erb +14 -0
- data/app/views/alchemy/admin/clipboard/remove.js.erb +10 -0
- data/app/views/{admin → alchemy/admin}/contents/_missing.html.erb +4 -4
- data/app/views/{admin → alchemy/admin}/contents/create.js.erb +10 -10
- data/app/views/{admin → alchemy/admin}/contents/destroy.js.erb +0 -0
- data/app/views/{admin → alchemy/admin}/contents/new.html.erb +1 -1
- data/app/views/{admin → alchemy/admin}/contents/order.js.erb +0 -0
- data/app/views/alchemy/admin/dashboard/index.html.erb +96 -0
- data/app/views/{admin → alchemy/admin}/elements/_add_content.html.erb +2 -2
- data/app/views/{admin → alchemy/admin}/elements/_element.html.erb +3 -3
- data/app/views/{admin → alchemy/admin}/elements/_element_foot.html.erb +8 -8
- data/app/views/{admin → alchemy/admin}/elements/_element_head.html.erb +4 -4
- data/app/views/{admin → alchemy/admin}/elements/_elements_select.html.erb +2 -2
- data/app/views/alchemy/admin/elements/_new_element_form.html.erb +30 -0
- data/app/views/{admin → alchemy/admin}/elements/_picture_editor.html.erb +3 -3
- data/app/views/{admin → alchemy/admin}/elements/create.js.erb +2 -2
- data/app/views/{admin → alchemy/admin}/elements/destroy.js.erb +1 -1
- data/app/views/{admin → alchemy/admin}/elements/fold.js.erb +2 -2
- data/app/views/{admin → alchemy/admin}/elements/index.html.erb +1 -10
- data/app/views/{admin → alchemy/admin}/elements/list.js.erb +2 -2
- data/app/views/alchemy/admin/elements/new.html.erb +41 -0
- data/app/views/{admin → alchemy/admin}/elements/order.js.erb +1 -1
- data/app/views/{admin → alchemy/admin}/elements/trash.js.erb +1 -1
- data/app/views/{admin → alchemy/admin}/elements/update.js.erb +1 -1
- data/app/views/{admin → alchemy/admin}/essence_files/assign.js.erb +1 -1
- data/app/views/{admin → alchemy/admin}/essence_files/edit.html.erb +23 -23
- data/app/views/{admin → alchemy/admin}/essence_pictures/assign.js.erb +2 -2
- data/app/views/{admin → alchemy/admin}/essence_pictures/crop.html.erb +15 -6
- data/app/views/{admin → alchemy/admin}/essence_pictures/destroy.js.erb +1 -1
- data/app/views/{admin → alchemy/admin}/essence_pictures/edit.html.erb +11 -11
- data/app/views/{admin → alchemy/admin}/essence_pictures/save_link.js.erb +0 -0
- data/app/views/{admin → alchemy/admin}/essence_pictures/update.js.erb +2 -2
- data/app/views/alchemy/admin/languages/_language.html.erb +36 -0
- data/app/views/{admin → alchemy/admin}/layoutpages/_layoutpage.html.erb +18 -18
- data/app/views/alchemy/admin/layoutpages/index.html.erb +65 -0
- data/app/views/{admin → alchemy/admin}/pages/_contactform_links.html.erb +6 -6
- data/app/views/alchemy/admin/pages/_create_language_form.html.erb +38 -0
- data/app/views/{admin → alchemy/admin}/pages/_external_link.html.erb +9 -9
- data/app/views/{admin → alchemy/admin}/pages/_file_link.html.erb +13 -13
- data/app/views/{admin → alchemy/admin}/pages/_internal_link.html.erb +8 -8
- data/app/views/{admin → alchemy/admin}/pages/_new_page_form.html.erb +6 -6
- data/app/views/{admin → alchemy/admin}/pages/_page.html.erb +25 -25
- data/app/views/{admin → alchemy/admin}/pages/_page_for_links.html.erb +6 -6
- data/app/views/{admin → alchemy/admin}/pages/_page_infos.html.erb +3 -3
- data/app/views/{admin → alchemy/admin}/pages/_page_status.html.erb +4 -4
- data/app/views/{admin → alchemy/admin}/pages/_sitemap.html.erb +21 -21
- data/app/views/alchemy/admin/pages/configure.html.erb +71 -0
- data/app/views/{admin → alchemy/admin}/pages/configure_external.html.erb +9 -9
- data/app/views/{admin → alchemy/admin}/pages/destroy.js.erb +2 -2
- data/app/views/alchemy/admin/pages/edit.html.erb +181 -0
- data/app/views/alchemy/admin/pages/flush.js.erb +2 -0
- data/app/views/{admin → alchemy/admin}/pages/fold.js.erb +0 -0
- data/app/views/alchemy/admin/pages/index.html.erb +104 -0
- data/app/views/{admin → alchemy/admin}/pages/link.html.erb +4 -4
- data/app/views/alchemy/admin/pages/locked.html.erb +3 -0
- data/app/views/{admin → alchemy/admin}/pages/new.html.erb +8 -8
- data/app/views/{admin → alchemy/admin}/pages/show.html.erb +0 -0
- data/app/views/{admin → alchemy/admin}/pages/sort.js.erb +0 -0
- data/app/views/{admin → alchemy/admin}/pages/unlock.js.erb +1 -1
- data/app/views/{admin → alchemy/admin}/pages/update.js.erb +5 -5
- data/app/views/{admin → alchemy/admin}/partials/_flash.html.erb +0 -0
- data/app/views/{admin → alchemy/admin}/partials/_flash_notices.html.erb +1 -1
- data/app/views/alchemy/admin/partials/_main_navigation_entry.html.erb +14 -0
- data/app/views/alchemy/admin/partials/_pagination_links.html.erb +5 -0
- data/app/views/{admin → alchemy/admin}/partials/_remote_pagination_links.html.erb +2 -2
- data/app/views/{admin → alchemy/admin}/partials/_remote_search_form.html.erb +2 -2
- data/app/views/{admin → alchemy/admin}/partials/_search_form.html.erb +6 -7
- data/app/views/alchemy/admin/partials/_sub_navigation_tab.html.erb +8 -0
- data/app/views/alchemy/admin/partials/_upload_form.html.erb +129 -0
- data/app/views/{admin → alchemy/admin}/pictures/_archive_overlay.html.erb +3 -3
- data/app/views/{admin → alchemy/admin}/pictures/_filter_and_size_bar.html.erb +15 -15
- data/app/views/{admin → alchemy/admin}/pictures/_picture.html.erb +7 -7
- data/app/views/{admin → alchemy/admin}/pictures/_picture_to_assign.html.erb +2 -2
- data/app/views/alchemy/admin/pictures/_pictures_list.html.erb +14 -0
- data/app/views/{admin → alchemy/admin}/pictures/archive_overlay.js.erb +0 -0
- data/app/views/{admin → alchemy/admin}/pictures/create.js.erb +3 -3
- data/app/views/{admin → alchemy/admin}/pictures/flush.js.erb +0 -0
- data/app/views/alchemy/admin/pictures/index.html.erb +83 -0
- data/app/views/{admin → alchemy/admin}/pictures/new.html.erb +3 -3
- data/app/views/alchemy/admin/pictures/show_in_window.html.erb +1 -0
- data/app/views/{admin → alchemy/admin}/pictures/update.js.erb +0 -0
- data/app/views/alchemy/admin/resources/_form.html.erb +20 -0
- data/app/views/alchemy/admin/resources/_resource.html.erb +35 -0
- data/app/views/alchemy/admin/resources/_table.html.erb +23 -0
- data/app/views/alchemy/admin/resources/destroy.js.erb +1 -0
- data/app/views/{admin/languages → alchemy/admin/resources}/edit.html.erb +0 -0
- data/app/views/alchemy/admin/resources/index.html.erb +19 -0
- data/app/views/{admin/languages → alchemy/admin/resources}/new.html.erb +0 -0
- data/app/views/{admin → alchemy/admin}/trash/clear.js.erb +1 -1
- data/app/views/{admin → alchemy/admin}/trash/index.html.erb +4 -4
- data/app/views/alchemy/admin/users/_table.html.erb +54 -0
- data/app/views/{admin → alchemy/admin}/users/_user.html.erb +14 -12
- data/app/views/{admin → alchemy/admin}/users/edit.html.erb +0 -0
- data/app/views/alchemy/admin/users/index.html.erb +41 -0
- data/app/views/{admin → alchemy/admin}/users/new.html.erb +1 -1
- data/app/views/{attachments → alchemy/attachments}/show.html.erb +0 -0
- data/app/views/alchemy/base/500.html.erb +5 -0
- data/app/views/alchemy/base/error_notice.js.erb +2 -0
- data/app/views/alchemy/base/permission_denied.js.erb +2 -0
- data/app/views/alchemy/{redirect.js.erb → base/redirect.js.erb} +0 -0
- data/app/views/alchemy/{remote_errors.js.erb → base/remote_errors.js.erb} +0 -0
- data/app/views/alchemy/{update.js.erb → base/update.js.erb} +0 -0
- data/app/views/{elements → alchemy/elements}/_article_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_article_view.html.erb +1 -1
- data/app/views/{elements → alchemy/elements}/_bild_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_bild_text_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_bild_text_view.html.erb +1 -1
- data/app/views/{elements → alchemy/elements}/_bild_view.html.erb +1 -1
- data/app/views/{elements → alchemy/elements}/_claim_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_claim_view.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_contactform_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_contactform_view.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_editor_not_found.html.erb +1 -1
- data/app/views/{elements → alchemy/elements}/_footnote_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_footnote_view.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_header_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_header_view.html.erb +1 -1
- data/app/views/{elements → alchemy/elements}/_headline_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_headline_view.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_image_mosaic_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_image_mosaic_view.html.erb +1 -1
- data/app/views/{elements → alchemy/elements}/_intro_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_intro_image_text_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_intro_image_text_view.html.erb +1 -1
- data/app/views/{elements → alchemy/elements}/_intro_view.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_news_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_news_view.html.erb +0 -0
- data/app/views/alchemy/elements/_searchresult_editor.html.erb +1 -0
- data/app/views/alchemy/elements/_searchresult_view.html.erb +4 -0
- data/app/views/alchemy/elements/_sitemap_editor.html.erb +3 -0
- data/app/views/{elements → alchemy/elements}/_sitemap_view.html.erb +2 -2
- data/app/views/{elements → alchemy/elements}/_sitename_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_sitename_view.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_subheadline_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_subheadline_view.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_text_editor.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_text_view.html.erb +0 -0
- data/app/views/{elements → alchemy/elements}/_view_not_found.html.erb +0 -0
- data/app/views/alchemy/elements/show.html.erb +6 -0
- data/app/views/{elements → alchemy/elements}/show.js.erb +1 -1
- data/app/views/alchemy/essences/_essence_audio_editor.html.erb +1 -0
- data/app/views/{essences → alchemy/essences}/_essence_audio_view.html.erb +0 -0
- data/app/views/{essences → alchemy/essences}/_essence_date_editor.html.erb +0 -0
- data/app/views/{essences → alchemy/essences}/_essence_date_view.html.erb +0 -0
- data/app/views/{essences → alchemy/essences}/_essence_file_editor.html.erb +9 -9
- data/app/views/{essences → alchemy/essences}/_essence_file_view.html.erb +1 -1
- data/app/views/alchemy/essences/_essence_flash_editor.html.erb +1 -0
- data/app/views/{essences → alchemy/essences}/_essence_flash_view.html.erb +0 -0
- data/app/views/{essences → alchemy/essences}/_essence_html_editor.html.erb +0 -0
- data/app/views/{essences → alchemy/essences}/_essence_html_view.html.erb +0 -0
- data/app/views/{essences → alchemy/essences}/_essence_picture_editor.html.erb +8 -8
- data/app/views/{essences → alchemy/essences}/_essence_picture_tools.html.erb +11 -11
- data/app/views/{essences → alchemy/essences}/_essence_picture_view.html.erb +2 -4
- data/app/views/alchemy/essences/_essence_richtext_editor.html.erb +11 -0
- data/app/views/{essences → alchemy/essences}/_essence_richtext_view.html.erb +0 -0
- data/app/views/{essences → alchemy/essences}/_essence_text_editor.html.erb +6 -6
- data/app/views/{essences → alchemy/essences}/_essence_text_view.html.erb +0 -0
- data/app/views/alchemy/essences/_essence_video_editor.html.erb +1 -0
- data/app/views/{essences → alchemy/essences}/_essence_video_view.html.erb +1 -1
- data/app/views/{messages → alchemy/messages}/contact_form_mail.html.erb +0 -0
- data/app/views/{messages → alchemy/messages}/contact_form_mail.text.erb +0 -0
- data/app/views/{messages → alchemy/messages}/new.html.erb +0 -0
- data/app/views/{navigation → alchemy/navigation}/_image_link.html.erb +0 -0
- data/app/views/{navigation → alchemy/navigation}/_link.html.erb +1 -1
- data/app/views/{navigation → alchemy/navigation}/_renderer.html.erb +0 -0
- data/app/views/alchemy/notifications/admin_user_created.text.erb +13 -0
- data/app/views/alchemy/notifications/registered_user_created.text.erb +10 -0
- data/app/views/{page_layouts → alchemy/page_layouts}/_contact.html.erb +0 -0
- data/app/views/{page_layouts → alchemy/page_layouts}/_external.html.erb +0 -0
- data/app/views/{page_layouts → alchemy/page_layouts}/_intro.html.erb +0 -0
- data/app/views/{page_layouts → alchemy/page_layouts}/_layout_footer.html.erb +0 -0
- data/app/views/{page_layouts → alchemy/page_layouts}/_layout_header.html.erb +0 -0
- data/app/views/{page_layouts → alchemy/page_layouts}/_news.html.erb +0 -0
- data/app/views/{_newsletter_layout.html.erb → alchemy/page_layouts/_newsletter_layout.html.erb} +0 -0
- data/app/views/{page_layouts → alchemy/page_layouts}/_search.html.erb +0 -0
- data/app/views/{page_layouts → alchemy/page_layouts}/_standard.html.erb +0 -0
- data/app/views/{pages → alchemy/pages}/show.html.erb +0 -0
- data/app/views/{pages → alchemy/pages}/show.rss.builder +0 -0
- data/app/views/{pages → alchemy/pages}/sitemap.xml.erb +0 -0
- data/app/views/{pictures → alchemy/pictures}/show.gif.flexi +0 -0
- data/app/views/{pictures → alchemy/pictures}/show.jpg.flexi +0 -0
- data/app/views/{pictures → alchemy/pictures}/show.png.flexi +0 -0
- data/app/views/{pictures → alchemy/pictures}/thumbnail.png.flexi +0 -0
- data/app/views/{pictures → alchemy/pictures}/zoom.png.flexi +0 -0
- data/app/views/alchemy/search/_result.html.erb +9 -0
- data/app/views/alchemy/user_sessions/leave.html.erb +11 -0
- data/app/views/alchemy/user_sessions/login.html.erb +47 -0
- data/app/views/alchemy/user_sessions/logout.html.erb +3 -0
- data/app/views/alchemy/user_sessions/signup.html.erb +14 -0
- data/app/views/layouts/{alchemy.html.erb → alchemy/admin.html.erb} +23 -17
- data/app/views/layouts/alchemy/login.html.erb +37 -0
- data/app/views/layouts/alchemy/pages.html.erb +29 -0
- data/app/views/layouts/{sitemap.xml.erb → alchemy/sitemap.xml.erb} +0 -0
- data/config/alchemy/config.yml +2 -80
- data/config/alchemy/modules.yml +70 -0
- data/config/alchemy/page_layouts.yml +2 -0
- data/config/authorization_rules.rb +32 -39
- data/config/locales/alchemy.de.yml +789 -0
- data/config/locales/alchemy.en.yml +587 -0
- data/config/routes.rb +144 -142
- data/db/migrate/20111116125112_namespace_models.rb +23 -0
- data/lib/alchemy/auth_engine.rb +7 -0
- data/lib/alchemy/capistrano.rb +4 -1
- data/lib/alchemy/engine.rb +39 -25
- data/lib/alchemy/essence.rb +5 -1
- data/lib/alchemy/i18n.rb +47 -0
- data/lib/alchemy/modules.rb +38 -0
- data/lib/alchemy/page_layout.rb +98 -56
- data/lib/alchemy/seeder.rb +60 -110
- data/lib/alchemy/tinymce.rb +2 -2
- data/lib/alchemy/version.rb +3 -3
- data/lib/alchemy_cms.rb +23 -23
- data/lib/rails/generators/alchemy/elements/elements_generator.rb +1 -1
- data/lib/rails/generators/alchemy/elements/templates/editor.html.erb +1 -1
- data/lib/rails/generators/alchemy/elements/templates/view.html.erb +2 -2
- data/lib/rails/generators/alchemy/page_layouts/page_layouts_generator.rb +1 -1
- data/lib/rails/generators/alchemy/plugin/plugin_generator.rb +0 -1
- data/lib/rails/generators/alchemy/scaffold/files/pages.html.erb +1 -1
- data/lib/rails/generators/alchemy/scaffold/scaffold_generator.rb +34 -34
- data/lib/tasks/install.rake +2 -9
- data/lib/tasks/upgrade.rake +69 -208
- data/spec/controllers/admin/clipboard_controller_spec.rb +33 -35
- data/spec/controllers/admin/contents_controller_spec.rb +5 -5
- data/spec/controllers/admin/elements_controller_spec.rb +22 -0
- data/spec/controllers/admin/trash_controller_spec.rb +5 -5
- data/spec/controllers/base_controller_spec.rb +67 -0
- data/spec/controllers/pages_controller_spec.rb +6 -6
- data/spec/dummy/config/application.rb +1 -8
- data/spec/dummy/config/routes.rb +2 -57
- data/spec/dummy/db/schema.rb +27 -27
- data/spec/factories.rb +8 -8
- data/spec/helpers/{alchemy_helper_spec.rb → admin/base_helper_spec.rb} +8 -1
- data/spec/helpers/admin/contents_helper_spec.rb +25 -0
- data/spec/helpers/admin/elements_helper_spec.rb +31 -3
- data/spec/helpers/admin/essences_helper_spec.rb +27 -0
- data/spec/helpers/elements_helper_spec.rb +99 -21
- data/spec/helpers/essences_helper_spec.rb +1 -18
- data/spec/helpers/pages_helper_spec.rb +212 -26
- data/spec/integration/admin/pages_controller_spec.rb +56 -0
- data/spec/integration/navigation_spec.rb +1 -1
- data/spec/integration/pages_controller_spec.rb +85 -68
- data/spec/integration/security_spec.rb +49 -22
- data/spec/models/content_spec.rb +3 -3
- data/spec/models/element_spec.rb +19 -11
- data/spec/models/essence_richtext_spec.rb +2 -2
- data/spec/models/language_spec.rb +36 -7
- data/spec/models/page_spec.rb +57 -13
- data/spec/models/user_spec.rb +1 -1
- data/spec/page_layout_spec.rb +13 -3
- data/spec/routing_spec.rb +12 -8
- data/spec/spec_helper.rb +8 -9
- data/spec/support/controller_hacks.rb +37 -0
- data/vendor/assets/javascripts/swfupload/SWFObject License.txt +4 -0
- data/vendor/assets/javascripts/swfupload/swfupload.cookies.js +53 -0
- data/vendor/assets/javascripts/swfupload/swfupload.js +1 -1
- data/vendor/assets/javascripts/swfupload/{queue.js → swfupload.queue.js} +97 -97
- data/vendor/assets/javascripts/swfupload/swfupload.speed.js +342 -0
- data/vendor/assets/javascripts/swfupload/swfupload.swfobject.js +111 -0
- data/vendor/assets/javascripts/tiny_mce/license.txt +504 -504
- data/vendor/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +110 -110
- data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/template.htm +387 -387
- data/vendor/assets/javascripts/tiny_mce/plugins/paste/js/pastetext.js +36 -36
- data/vendor/assets/javascripts/tiny_mce/plugins/paste/js/pasteword.js +51 -51
- data/vendor/assets/javascripts/tiny_mce/plugins/paste/pastetext.htm +26 -26
- data/vendor/assets/javascripts/tiny_mce/plugins/paste/pasteword.htm +21 -21
- data/vendor/assets/javascripts/tiny_mce/plugins/table/cell.htm +180 -180
- data/vendor/assets/javascripts/tiny_mce/plugins/table/css/cell.css +16 -16
- data/vendor/assets/javascripts/tiny_mce/plugins/table/css/row.css +25 -25
- data/vendor/assets/javascripts/tiny_mce/plugins/table/css/table.css +13 -13
- data/vendor/assets/javascripts/tiny_mce/plugins/table/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tiny_mce/plugins/table/js/cell.js +319 -319
- data/vendor/assets/javascripts/tiny_mce/plugins/table/js/merge_cells.js +27 -27
- data/vendor/assets/javascripts/tiny_mce/plugins/table/js/row.js +237 -237
- data/vendor/assets/javascripts/tiny_mce/plugins/table/js/table.js +484 -450
- data/vendor/assets/javascripts/tiny_mce/plugins/table/merge_cells.htm +32 -32
- data/vendor/assets/javascripts/tiny_mce/plugins/table/row.htm +158 -158
- data/vendor/assets/javascripts/tiny_mce/plugins/table/table.htm +188 -188
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/about.htm +52 -52
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/anchor.htm +26 -26
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/charmap.htm +55 -51
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/color_picker.htm +74 -74
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -1
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/image.htm +80 -80
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/about.js +73 -73
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/anchor.js +43 -43
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/charmap.js +363 -355
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/color_picker.js +329 -329
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/image.js +251 -251
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/link.js +153 -153
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/source_editor.js +56 -56
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +1 -1
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/link.htm +57 -57
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/shortcuts.htm +47 -47
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/default/content.css +50 -50
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +117 -117
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +214 -214
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/highcontrast/content.css +24 -0
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +105 -0
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css +102 -0
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +48 -48
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +117 -117
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +217 -217
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +7 -7
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -5
- data/vendor/assets/javascripts/tiny_mce/themes/advanced/source_editor.htm +25 -25
- data/vendor/assets/javascripts/tiny_mce/tiny_mce.js +1 -1
- data/vendor/assets/javascripts/tiny_mce/utils/editable_selects.js +70 -70
- data/vendor/assets/javascripts/tiny_mce/utils/form_utils.js +210 -210
- data/vendor/assets/javascripts/tiny_mce/utils/mctabs.js +161 -161
- data/vendor/assets/javascripts/tiny_mce/utils/validate.js +252 -252
- metadata +432 -465
- data/app/controllers/admin/attachments_controller.rb +0 -136
- data/app/controllers/admin/clipboard_controller.rb +0 -43
- data/app/controllers/admin/contents_controller.rb +0 -60
- data/app/controllers/admin/elements_controller.rb +0 -134
- data/app/controllers/admin/essence_audios_controller.rb +0 -10
- data/app/controllers/admin/essence_files_controller.rb +0 -25
- data/app/controllers/admin/essence_flashes_controller.rb +0 -10
- data/app/controllers/admin/essence_pictures_controller.rb +0 -84
- data/app/controllers/admin/essence_videos_controller.rb +0 -10
- data/app/controllers/admin/languages_controller.rb +0 -64
- data/app/controllers/admin/layoutpages_controller.rb +0 -12
- data/app/controllers/admin/pages_controller.rb +0 -251
- data/app/controllers/admin/pictures_controller.rb +0 -143
- data/app/controllers/admin/trash_controller.rb +0 -28
- data/app/controllers/admin/users_controller.rb +0 -73
- data/app/controllers/admin_controller.rb +0 -76
- data/app/controllers/alchemy_controller.rb +0 -245
- data/app/controllers/attachments_controller.rb +0 -28
- data/app/controllers/elements_controller.rb +0 -16
- data/app/controllers/messages_controller.rb +0 -113
- data/app/controllers/pages_controller.rb +0 -150
- data/app/controllers/pictures_controller.rb +0 -63
- data/app/helpers/admin/attachments_helper.rb +0 -7
- data/app/helpers/admin/elements_helper.rb +0 -112
- data/app/helpers/admin/pages_helper.rb +0 -38
- data/app/helpers/admin/pictures_helper.rb +0 -26
- data/app/helpers/alchemy_helper.rb +0 -379
- data/app/helpers/contents_helper.rb +0 -69
- data/app/helpers/elements_helper.rb +0 -170
- data/app/helpers/essences_helper.rb +0 -167
- data/app/helpers/layout_helper.rb +0 -37
- data/app/helpers/pages_helper.rb +0 -503
- data/app/mailers/messages.rb +0 -15
- data/app/mailers/notifications.rb +0 -23
- data/app/models/attachment.rb +0 -80
- data/app/models/cell.rb +0 -59
- data/app/models/content.rb +0 -145
- data/app/models/element.rb +0 -476
- data/app/models/essence_audio.rb +0 -17
- data/app/models/essence_date.rb +0 -20
- data/app/models/essence_file.rb +0 -17
- data/app/models/essence_flash.rb +0 -15
- data/app/models/essence_html.rb +0 -19
- data/app/models/essence_picture.rb +0 -27
- data/app/models/essence_richtext.rb +0 -61
- data/app/models/essence_text.rb +0 -38
- data/app/models/essence_video.rb +0 -17
- data/app/models/folded_page.rb +0 -3
- data/app/models/language.rb +0 -83
- data/app/models/message.rb +0 -69
- data/app/models/page.rb +0 -545
- data/app/models/picture.rb +0 -98
- data/app/models/user.rb +0 -70
- data/app/models/user_session.rb +0 -10
- data/app/sweepers/content_sweeper.rb +0 -20
- data/app/sweepers/pages_sweeper.rb +0 -47
- data/app/sweepers/pictures_sweeper.rb +0 -21
- data/app/views/_contact.html.erb +0 -3
- data/app/views/_intro.html.erb +0 -3
- data/app/views/_news.html.erb +0 -3
- data/app/views/_search.html.erb +0 -3
- data/app/views/_standard.html.erb +0 -1
- data/app/views/admin/attachments/_files_list.html.erb +0 -24
- data/app/views/admin/attachments/index.html.erb +0 -30
- data/app/views/admin/clipboard/index.html.erb +0 -19
- data/app/views/admin/clipboard/insert.js.erb +0 -14
- data/app/views/admin/clipboard/remove.js.erb +0 -10
- data/app/views/admin/elements/_new_element_form.html.erb +0 -25
- data/app/views/admin/elements/new.html.erb +0 -33
- data/app/views/admin/index.html.erb +0 -102
- data/app/views/admin/infos.html.erb +0 -5
- data/app/views/admin/languages/_form.html.erb +0 -34
- data/app/views/admin/languages/_language.html.erb +0 -35
- data/app/views/admin/languages/destroy.js.erb +0 -1
- data/app/views/admin/languages/index.html.erb +0 -41
- data/app/views/admin/layoutpages/index.html.erb +0 -75
- data/app/views/admin/leave.html.erb +0 -11
- data/app/views/admin/login.html.erb +0 -46
- data/app/views/admin/logout.html.erb +0 -5
- data/app/views/admin/pages/_create_language_form.html.erb +0 -43
- data/app/views/admin/pages/configure.html.erb +0 -71
- data/app/views/admin/pages/edit.html.erb +0 -185
- data/app/views/admin/pages/flush.js.erb +0 -2
- data/app/views/admin/pages/index.html.erb +0 -108
- data/app/views/admin/pages/locked.html.erb +0 -3
- data/app/views/admin/partials/_mainnavigation_entry.html.erb +0 -27
- data/app/views/admin/partials/_pagination_links.html.erb +0 -5
- data/app/views/admin/partials/_per_page_links.html.erb +0 -17
- data/app/views/admin/partials/_sub_navigation.html.erb +0 -14
- data/app/views/admin/partials/_upload_form.html.erb +0 -119
- data/app/views/admin/pictures/_pictures_list.html.erb +0 -12
- data/app/views/admin/pictures/index.html.erb +0 -89
- data/app/views/admin/pictures/show_in_window.html.erb +0 -1
- data/app/views/admin/signup.html.erb +0 -16
- data/app/views/admin/users/_table.html.erb +0 -54
- data/app/views/admin/users/index.html.erb +0 -41
- data/app/views/alchemy/error_notice.js.erb +0 -1
- data/app/views/alchemy/permission_denied.js.erb +0 -2
- data/app/views/elements/_searchresult_editor.html.erb +0 -1
- data/app/views/elements/_searchresult_view.html.erb +0 -49
- data/app/views/elements/_sitemap_editor.html.erb +0 -3
- data/app/views/elements/show.html.erb +0 -6
- data/app/views/essences/_essence_audio_editor.html.erb +0 -1
- data/app/views/essences/_essence_flash_editor.html.erb +0 -1
- data/app/views/essences/_essence_richtext_editor.html.erb +0 -9
- data/app/views/essences/_essence_video_editor.html.erb +0 -1
- data/app/views/layouts/login.html.erb +0 -59
- data/app/views/layouts/pages.html.erb +0 -29
- data/app/views/notifications/admin_user_created.text.erb +0 -13
- data/app/views/notifications/registered_user_created.text.erb +0 -10
- data/app/views/page_layouts/_newsletter_layout.html.erb +0 -1
- data/config/initializers/authorization.rb +0 -4
- data/config/initializers/fast_gettext.rb +0 -3
- data/config/locales/de.yml +0 -377
- data/config/locales/en.yml +0 -371
- data/lib/alchemy/controller.rb +0 -79
- data/lib/rails/generators/alchemy/plugin/templates/gettext.rb +0 -2
- data/lib/tasks/gettext.rake +0 -120
- data/lib/translation_extras/alchemy_core_modules.rb +0 -11
- data/locale/alchemy.pot +0 -1749
- data/locale/de/alchemy.po +0 -1795
- data/locale/en/alchemy.po +0 -1745
- data/locale/missing_translations.rb +0 -4
- data/locale/model_attributes.rb +0 -56
- data/spec/helpers/contents_helper_spec.rb +0 -27
- data/vendor/assets/javascripts/jquery-1.6.2.min.js +0 -18
- data/vendor/assets/javascripts/jquery-ui-custom-1.8.16.min.js +0 -550
- data/vendor/assets/javascripts/swfupload/fileprogress.js +0 -203
- data/vendor/assets/javascripts/swfupload/handlers.js +0 -171
- data/vendor/assets/javascripts/tiny_mce/jquery.tinymce.js +0 -1
@@ -8,19 +8,23 @@ if (typeof(Alchemy) === 'undefined') {
|
|
8
8
|
|
9
9
|
getOverlaySpinner : function (options) {
|
10
10
|
var defaults = {
|
11
|
-
x: '
|
12
|
-
y: '
|
11
|
+
x: '400',
|
12
|
+
y: '300'
|
13
13
|
};
|
14
14
|
var settings = $.extend({}, defaults, options);
|
15
|
+
var $spinner_container = $('<div class="spinner_container"/>').css({width: settings.x, height: settings.y});
|
15
16
|
var $spinner = $('<img src="/assets/alchemy/ajax_loader.gif" />');
|
16
|
-
|
17
|
-
var top = ((settings.y - 32) / 2) - 16;
|
18
|
-
top = top < 0 ? 0 : top;
|
17
|
+
$spinner_container.append($spinner);
|
19
18
|
$spinner.css({
|
20
|
-
|
21
|
-
|
19
|
+
position: 'absolute',
|
20
|
+
width: 32,
|
21
|
+
height: 32,
|
22
|
+
left: '50%',
|
23
|
+
top: '50%',
|
24
|
+
marginLeft: '-16px',
|
25
|
+
marginTop: '-16px'
|
22
26
|
});
|
23
|
-
return $
|
27
|
+
return $spinner_container;
|
24
28
|
},
|
25
29
|
|
26
30
|
AjaxErrorHandler : function($dialog, status, textStatus, errorThrown) {
|
@@ -49,7 +53,7 @@ if (typeof(Alchemy) === 'undefined') {
|
|
49
53
|
modal: false,
|
50
54
|
title: title,
|
51
55
|
width: $(window).width() - 504,
|
52
|
-
height: $(window).height() -
|
56
|
+
height: $(window).height() - 78,
|
53
57
|
minWidth: 600,
|
54
58
|
minHeight: 300,
|
55
59
|
show: "fade",
|
@@ -140,7 +144,7 @@ if (typeof(Alchemy) === 'undefined') {
|
|
140
144
|
}
|
141
145
|
},
|
142
146
|
|
143
|
-
openElementsWindow : function (path, options) {
|
147
|
+
openElementsWindow : function (path, options, callback) {
|
144
148
|
var $dialog = $('<div style="display: none" id="alchemyElementWindow"></div>');
|
145
149
|
var closeCallback = function() {
|
146
150
|
$dialog.dialog("destroy");
|
@@ -168,6 +172,7 @@ if (typeof(Alchemy) === 'undefined') {
|
|
168
172
|
success: function(data, textStatus, XMLHttpRequest) {
|
169
173
|
$dialog.html(data);
|
170
174
|
Alchemy.ButtonObserver('#alchemyElementWindow .button');
|
175
|
+
callback.call();
|
171
176
|
},
|
172
177
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
173
178
|
Alchemy.AjaxErrorHandler($dialog, XMLHttpRequest.status, textStatus, errorThrown);
|
@@ -303,16 +308,16 @@ if (typeof(Alchemy) === 'undefined') {
|
|
303
308
|
}
|
304
309
|
var $dialog = $('<div style="display:none" id="alchemyOverlay"></div>');
|
305
310
|
$dialog.appendTo('body');
|
306
|
-
$dialog.html(Alchemy.getOverlaySpinner({x: size_x, y: size_y}));
|
307
|
-
|
311
|
+
$dialog.html(Alchemy.getOverlaySpinner({x: size_x === 'auto' ? 400 : size_x, y: size_y === 'auto' ? 300 : size_y}));
|
308
312
|
Alchemy.CurrentWindow = $dialog.dialog({
|
309
|
-
modal: modal,
|
310
|
-
minWidth: size_x,
|
311
|
-
minHeight: size_y
|
313
|
+
modal: modal,
|
314
|
+
minWidth: size_x === 'auto' ? 400 : size_x,
|
315
|
+
minHeight: size_y === 'auto' ? 300 : size_y,
|
312
316
|
title: title,
|
313
317
|
resizable: resizable,
|
314
318
|
show: "fade",
|
315
319
|
hide: "fade",
|
320
|
+
width: size_x,
|
316
321
|
open: function (event, ui) {
|
317
322
|
$.ajax({
|
318
323
|
url: action_url,
|
@@ -320,6 +325,16 @@ if (typeof(Alchemy) === 'undefined') {
|
|
320
325
|
$dialog.html(data);
|
321
326
|
$dialog.css({overflow: overflow ? 'visible' : 'auto'});
|
322
327
|
$dialog.dialog('widget').css({overflow: overflow ? 'visible' : 'hidden'});
|
328
|
+
if (size_x === 'auto') {
|
329
|
+
$dialog.dialog('widget').css({
|
330
|
+
left: (($(window).width() / 2) - ($dialog.width() / 2))
|
331
|
+
});
|
332
|
+
}
|
333
|
+
if (size_y === 'auto') {
|
334
|
+
$dialog.dialog('widget').css({
|
335
|
+
top: ($(window).height() - $dialog.dialog('widget').height()) / 2
|
336
|
+
});
|
337
|
+
}
|
323
338
|
Alchemy.SelectBox('#alchemyOverlay select');
|
324
339
|
Alchemy.ButtonObserver('#alchemyOverlay .button');
|
325
340
|
},
|
@@ -407,7 +422,7 @@ if (typeof(Alchemy) === 'undefined') {
|
|
407
422
|
hide: "fade",
|
408
423
|
open: function (event, ui) {
|
409
424
|
$.ajax({
|
410
|
-
url:
|
425
|
+
url: Alchemy.routes.admin_trash_path(page_id),
|
411
426
|
success: function(data, textStatus, XMLHttpRequest) {
|
412
427
|
$dialog.html(data);
|
413
428
|
// Need this for DragnDrop elements into elements window.
|
@@ -428,7 +443,7 @@ if (typeof(Alchemy) === 'undefined') {
|
|
428
443
|
refreshTrashWindow: function(page_id) {
|
429
444
|
if ($('#alchemyTrashWindow').length > 0) {
|
430
445
|
$('#alchemyTrashWindow').html(Alchemy.getOverlaySpinner({x: 380, y: 270}));
|
431
|
-
$.get(
|
446
|
+
$.get(Alchemy.routes.admin_trash_path(page_id), function(html) {
|
432
447
|
$('#alchemyTrashWindow').html(html);
|
433
448
|
});
|
434
449
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require alchemy/alchemy.preview
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
http://0.0.0.0:3000/javascripts/alchemy/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css
|
3
|
-
http://localhost:3000/javascripts/alchemy/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css
|
4
|
-
*/
|
5
|
-
|
6
|
-
/* Alchemy TinyMCE Overlay */
|
1
|
+
@import "alchemy/defaults";
|
7
2
|
|
8
3
|
/* Reset */
|
9
4
|
|
@@ -14,9 +9,8 @@
|
|
14
9
|
border: 0;
|
15
10
|
padding: 0;
|
16
11
|
margin: 0;
|
17
|
-
font
|
18
|
-
|
19
|
-
color: #333;
|
12
|
+
font: $default-font-style;
|
13
|
+
color: $text-color;
|
20
14
|
text-decoration: none;
|
21
15
|
font-weight: normal;
|
22
16
|
width: auto;
|
@@ -31,14 +25,8 @@
|
|
31
25
|
.alchemy {
|
32
26
|
position: absolute;
|
33
27
|
direction: ltr;
|
34
|
-
border:
|
35
|
-
-
|
36
|
-
-moz-box-shadow: 0px 0px 8px rgba(0, 3, 51, 0.2);
|
37
|
-
-o-box-shadow: 0px 0px 8px rgba(0, 3, 51, 0.2);
|
38
|
-
box-shadow: 0px 0px 8px rgba(0, 3, 51, 0.2);
|
39
|
-
-moz-border-radius: 3px;
|
40
|
-
-webkit-border-radius: 3px;
|
41
|
-
border-radius: 3px;
|
28
|
+
border: $default-border;
|
29
|
+
@include rounded-corner;
|
42
30
|
}
|
43
31
|
|
44
32
|
.alchemy .mceWrapper {
|
@@ -58,9 +46,7 @@
|
|
58
46
|
background: #888;
|
59
47
|
top: 0;
|
60
48
|
left: 0;
|
61
|
-
opacity
|
62
|
-
-ms-filter: 'alpha(opacity=50)';
|
63
|
-
filter: alpha(opacity=50)
|
49
|
+
@include opacity(50);
|
64
50
|
}
|
65
51
|
|
66
52
|
.alchemy_modalBlocker {
|
@@ -70,9 +56,7 @@
|
|
70
56
|
width: 100%;
|
71
57
|
height: 100%;
|
72
58
|
background-color: #f4f4f4;
|
73
|
-
opacity
|
74
|
-
-ms-filter: 'alpha(opacity=60)';
|
75
|
-
filter: alpha(opacity=60);
|
59
|
+
@include opacity(50);
|
76
60
|
display: none
|
77
61
|
}
|
78
62
|
|
@@ -92,7 +76,7 @@
|
|
92
76
|
a.mceMove {
|
93
77
|
width: 100%;
|
94
78
|
height: 29px;
|
95
|
-
background: #c6dbe7
|
79
|
+
background: #c6dbe7;
|
96
80
|
color: #333333;
|
97
81
|
font-weight: bold;
|
98
82
|
border-bottom: 2px solid #ededed;
|
@@ -204,8 +188,7 @@ a.mceMove {
|
|
204
188
|
.alchemy .mceStatusbar .mceBottom span {
|
205
189
|
display: block;
|
206
190
|
left: 7px;
|
207
|
-
font
|
208
|
-
font-size: 12px;
|
191
|
+
font: $default-font-style;
|
209
192
|
line-height: 23px
|
210
193
|
}
|
211
194
|
|
@@ -219,7 +202,7 @@ a.mceMove {
|
|
219
202
|
|
220
203
|
.alchemy .mceClose {
|
221
204
|
right: 8px;
|
222
|
-
background: url(
|
205
|
+
background: image-url("alchemy/ui-icons_666666_256x240.png") -96px -128px;
|
223
206
|
width: 16px;
|
224
207
|
height: 16px;
|
225
208
|
top: 6px;
|
@@ -235,7 +218,7 @@ a.mceMove {
|
|
235
218
|
right: 28px;
|
236
219
|
width: 16px;
|
237
220
|
height: 16px;
|
238
|
-
background: url(
|
221
|
+
background: image-url("alchemy/ui-icons_666666_256x240.png") -49px -80px;
|
239
222
|
top: 6px;
|
240
223
|
}
|
241
224
|
|
@@ -244,7 +227,7 @@ a.mceMove {
|
|
244
227
|
right: 28px;
|
245
228
|
width: 16px;
|
246
229
|
height: 16px;
|
247
|
-
background: url(
|
230
|
+
background: image-url("alchemy/ui-icons_666666_256x240.png") -32px -80px;
|
248
231
|
top: 6px;
|
249
232
|
}
|
250
233
|
|
@@ -349,7 +332,7 @@ a.mceMove {
|
|
349
332
|
bottom: 1px;
|
350
333
|
right: 1px;
|
351
334
|
cursor: se-resize;
|
352
|
-
background: url(
|
335
|
+
background: image-url("alchemy/ui-icons_666666_256x240.png") no-repeat -80px -224px;
|
353
336
|
width: 14px;
|
354
337
|
height: 14px;
|
355
338
|
}
|
@@ -361,7 +344,6 @@ a.mceMove {
|
|
361
344
|
bottom: 10px;
|
362
345
|
width: 80px;
|
363
346
|
height: 31px;
|
364
|
-
background: url(<%= image_tag "shading.png" %>) repeat-x 0 -75px;
|
365
347
|
line-height: 31px;
|
366
348
|
vertical-align: middle;
|
367
349
|
text-align: center;
|
@@ -401,7 +383,7 @@ a.mceMove {
|
|
401
383
|
}
|
402
384
|
|
403
385
|
.alchemy .mceAlert .mceIcon {
|
404
|
-
background: url(
|
386
|
+
background: image-url("alchemy/icons.png") 0 -88px;
|
405
387
|
}
|
406
388
|
|
407
389
|
.alchemy .mceConfirm .mceOk {
|
@@ -416,5 +398,5 @@ a.mceMove {
|
|
416
398
|
}
|
417
399
|
|
418
400
|
.alchemy .mceConfirm .mceIcon {
|
419
|
-
background: url(
|
401
|
+
background: image-url("alchemy/icons.png") 0 -88px;
|
420
402
|
}
|
@@ -141,20 +141,8 @@ $default-border: 1px solid #AFAFAF;
|
|
141
141
|
-webkit-border-radius: $radius;
|
142
142
|
}
|
143
143
|
|
144
|
-
@mixin opacity
|
145
|
-
|
146
|
-
|
147
|
-
filter: alpha(opacity
|
148
|
-
}
|
149
|
-
|
150
|
-
@mixin opacity-50 {
|
151
|
-
$opacity: 0.5;
|
152
|
-
opacity: $opacity;
|
153
|
-
filter: alpha(opacity = $opacity*100);
|
154
|
-
}
|
155
|
-
|
156
|
-
@mixin opacity-95 {
|
157
|
-
$opacity: 0.95;
|
158
|
-
opacity: $opacity;
|
159
|
-
filter: alpha(opacity = $opacity*100);
|
144
|
+
@mixin opacity($opacity) {
|
145
|
+
opacity: $opacity/100;
|
146
|
+
filter: alpha(opacity = $opacity);
|
147
|
+
-ms-filter: 'alpha(opacity=$opacity)';
|
160
148
|
}
|
@@ -44,7 +44,7 @@ div#flash_notices {
|
|
44
44
|
|
45
45
|
div.flash {
|
46
46
|
@include rounded-corner;
|
47
|
-
@include opacity
|
47
|
+
@include opacity(95);
|
48
48
|
padding: 8px 8px 8px 30px;
|
49
49
|
font-weight: bold;
|
50
50
|
border-width: 1px;
|
@@ -52,7 +52,7 @@ div.flash {
|
|
52
52
|
z-index: 1000;
|
53
53
|
margin: $default-margin;
|
54
54
|
position: relative;
|
55
|
-
|
55
|
+
min-height: 1.3em;
|
56
56
|
}
|
57
57
|
|
58
58
|
div.flash span.icon {
|
@@ -87,18 +87,18 @@ div.flash.warning {
|
|
87
87
|
}
|
88
88
|
|
89
89
|
div.login_signup_box {
|
90
|
-
width:
|
91
|
-
padding:
|
92
|
-
border:
|
93
|
-
background-color:
|
90
|
+
width: 360px;
|
91
|
+
padding: 4*$default-padding;
|
92
|
+
border: $default-border;
|
93
|
+
background-color: $medium-gray;
|
94
94
|
@include rounded-corner;
|
95
|
-
-webkit-box-shadow: 1px 1px 8px rgba(0, 3, 51, 0.5);
|
96
|
-
-moz-box-shadow: 1px 1px 8px rgba(0, 3, 51, 0.5);
|
97
|
-
-o-box-shadow: 1px 1px 8px rgba(0, 3, 51, 0.5);
|
98
|
-
box-shadow: 1px 1px 8px rgba(0, 3, 51, 0.5);
|
99
95
|
margin: 2em auto;
|
100
96
|
}
|
101
97
|
|
98
|
+
div.login_signup_box select {
|
99
|
+
width: 220px;
|
100
|
+
}
|
101
|
+
|
102
102
|
/* @end */
|
103
103
|
|
104
104
|
/* @group Pagination */
|
@@ -162,58 +162,65 @@ div.archive_pagination_links a:active {
|
|
162
162
|
}
|
163
163
|
|
164
164
|
div.pagination {
|
165
|
-
|
165
|
+
clear: both;
|
166
|
+
zoom: 1;
|
167
|
+
text-align: right;
|
166
168
|
line-height: 24px;
|
167
169
|
height: 24px;
|
168
170
|
width: 100%;
|
169
|
-
margin-
|
171
|
+
margin-top: 4*$default-padding;
|
170
172
|
}
|
171
173
|
|
172
|
-
div.pagination a,
|
173
|
-
div.pagination span,
|
174
|
-
div.pagination em {
|
175
|
-
@include button-styles;
|
174
|
+
div.pagination a, div.pagination span, div.pagination em {
|
176
175
|
font-size: 12px;
|
177
176
|
height: 25px;
|
178
177
|
line-height: 25px;
|
179
|
-
padding:
|
178
|
+
padding: $default-padding;
|
180
179
|
}
|
181
180
|
|
182
181
|
div.pagination a:hover {
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
text-shadow: 0 1px 1px #fff;
|
187
|
-
text-decoration: none;
|
182
|
+
color: #000;
|
183
|
+
text-shadow: none;
|
184
|
+
text-decoration: underline;
|
188
185
|
}
|
189
186
|
|
190
187
|
div.pagination .current {
|
191
|
-
|
188
|
+
@include button-styles;
|
189
|
+
background: $button-hover-bg-color;
|
192
190
|
color: $text-color;
|
193
191
|
border: 1px solid #888;
|
194
192
|
text-shadow: 0px 1px 1px #fff;
|
193
|
+
cursor: default;
|
195
194
|
}
|
196
195
|
|
197
196
|
div.pagination .previous_page {
|
198
|
-
margin-right:
|
197
|
+
margin-right: 2*$default-padding;
|
199
198
|
}
|
200
199
|
|
201
200
|
div.pagination .next_page {
|
202
|
-
margin-left:
|
201
|
+
margin-left: 2*$default-padding;
|
203
202
|
}
|
204
203
|
|
205
204
|
div.pagination .disabled {
|
206
205
|
color: #c0c0c0;
|
207
206
|
}
|
208
207
|
|
208
|
+
div.pagination span.gap {
|
209
|
+
border: none;
|
210
|
+
background: transparent;
|
211
|
+
cursor: default;
|
212
|
+
}
|
213
|
+
|
209
214
|
#assign_image_list div.pagination {
|
210
215
|
margin-bottom: 8px;
|
216
|
+
text-align: center;
|
211
217
|
}
|
212
218
|
|
213
219
|
/* @end */
|
214
220
|
|
215
221
|
#login table tbody tr td.label {
|
216
222
|
width: 155px;
|
223
|
+
text-align: right;
|
217
224
|
}
|
218
225
|
|
219
226
|
#alchemy_greeting h1 {
|
@@ -222,10 +229,6 @@ div.pagination .disabled {
|
|
222
229
|
font-size: 1.2em;
|
223
230
|
}
|
224
231
|
|
225
|
-
td.submit {
|
226
|
-
text-align: right;
|
227
|
-
}
|
228
|
-
|
229
232
|
form#login.new_user_session {
|
230
233
|
text-align: right;
|
231
234
|
}
|
@@ -468,12 +471,12 @@ div.widget p {
|
|
468
471
|
/* @end */
|
469
472
|
|
470
473
|
div#alchemy_greeting {
|
471
|
-
width:
|
474
|
+
width: 100%;
|
472
475
|
margin-right: auto;
|
473
476
|
margin-left: auto;
|
474
477
|
padding: 2*$default-padding;
|
475
478
|
margin-top: 1em;
|
476
|
-
text-align:
|
479
|
+
text-align: center;
|
477
480
|
}
|
478
481
|
|
479
482
|
#alchemy_greeting p {
|
@@ -508,13 +511,6 @@ a.drop_down_select img {
|
|
508
511
|
margin-bottom: 4px;
|
509
512
|
}
|
510
513
|
|
511
|
-
.new_alchemy_element form .selectbox {
|
512
|
-
float: left;
|
513
|
-
line-height: normal;
|
514
|
-
margin-left: 8px;
|
515
|
-
width: 200px;
|
516
|
-
}
|
517
|
-
|
518
514
|
.js_filter_field_box {
|
519
515
|
position: relative;
|
520
516
|
float: right;
|
@@ -571,7 +567,7 @@ div.edit_source_buttons {
|
|
571
567
|
clear: both;
|
572
568
|
}
|
573
569
|
|
574
|
-
table
|
570
|
+
table td.rights {
|
575
571
|
width: 60px;
|
576
572
|
}
|
577
573
|
|
@@ -759,6 +755,7 @@ div.tip {
|
|
759
755
|
border: $default-border;
|
760
756
|
border-bottom-style: none;
|
761
757
|
height: 22px;
|
758
|
+
margin-right: 1px;
|
762
759
|
}
|
763
760
|
|
764
761
|
#sub_navigation span.page_status_and_name .flag {
|
@@ -799,6 +796,7 @@ div.tip {
|
|
799
796
|
position: absolute;
|
800
797
|
right: 3px;
|
801
798
|
top: 3px;
|
799
|
+
line-height: 10px;
|
802
800
|
}
|
803
801
|
|
804
802
|
#sub_navigation a {
|
@@ -883,6 +881,10 @@ div.tip {
|
|
883
881
|
margin-top: 2px;
|
884
882
|
}
|
885
883
|
|
884
|
+
#main_menu a label {
|
885
|
+
display: block;
|
886
|
+
}
|
887
|
+
|
886
888
|
#main_navi a.main_navi_entry.active {
|
887
889
|
background: #baced9;
|
888
890
|
color: $text-color;
|
@@ -1087,7 +1089,7 @@ span.page_status.restricted {
|
|
1087
1089
|
|
1088
1090
|
span.page_status.not_restricted {
|
1089
1091
|
background: image-url('alchemy/icons.png') -290px -39px;
|
1090
|
-
@include opacity
|
1092
|
+
@include opacity(30);
|
1091
1093
|
}
|
1092
1094
|
|
1093
1095
|
span.page_status.visible {
|
@@ -1096,7 +1098,7 @@ span.page_status.visible {
|
|
1096
1098
|
|
1097
1099
|
span.page_status.not_visible {
|
1098
1100
|
background: image-url('alchemy/icons.png') -160px -39px;
|
1099
|
-
@include opacity
|
1101
|
+
@include opacity(30);
|
1100
1102
|
}
|
1101
1103
|
|
1102
1104
|
span.page_status.public {
|
@@ -1105,7 +1107,7 @@ span.page_status.public {
|
|
1105
1107
|
|
1106
1108
|
span.page_status.not_public {
|
1107
1109
|
background: image-url('alchemy/icons.png') -224px -39px;
|
1108
|
-
@include opacity
|
1110
|
+
@include opacity(30);
|
1109
1111
|
}
|
1110
1112
|
|
1111
1113
|
#sideboard div.sideboard_widget img {
|
@@ -1186,11 +1188,10 @@ a.folder_link {
|
|
1186
1188
|
|
1187
1189
|
/* @group page_editing */
|
1188
1190
|
|
1189
|
-
|
1191
|
+
/*#page_names td {
|
1190
1192
|
height: 22px;
|
1191
1193
|
padding-bottom: 4px;
|
1192
|
-
|
1193
|
-
}
|
1194
|
+
}*/
|
1194
1195
|
|
1195
1196
|
#page_names textarea {
|
1196
1197
|
height: 78px;
|
@@ -1232,33 +1233,6 @@ div#page_editing_menu {
|
|
1232
1233
|
|
1233
1234
|
h2#sitemap_heading {
|
1234
1235
|
padding: 0;
|
1235
|
-
margin: 16px 16px 0;
|
1236
|
-
}
|
1237
|
-
|
1238
|
-
#page_status_options .firstcol {
|
1239
|
-
float: left;
|
1240
|
-
}
|
1241
|
-
|
1242
|
-
#page_status_options .firstcol label {
|
1243
|
-
width: 80px;
|
1244
|
-
margin-right: 10px;
|
1245
|
-
}
|
1246
|
-
|
1247
|
-
#page_status_options .secondcol {
|
1248
|
-
float: left;
|
1249
|
-
margin-left: 16px;
|
1250
|
-
}
|
1251
|
-
|
1252
|
-
#page_status_options .secondcol label {
|
1253
|
-
width: 120px;
|
1254
|
-
margin-right: 5px;
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
#page_status_options .thirdcol {
|
1258
|
-
float: right;
|
1259
|
-
font-size: 11px;
|
1260
|
-
text-align: right;
|
1261
|
-
width: 90px;
|
1262
1236
|
}
|
1263
1237
|
|
1264
1238
|
div#userinfo {
|
@@ -1304,6 +1278,11 @@ div#user_list_legend {
|
|
1304
1278
|
float: none;
|
1305
1279
|
margin: 0;
|
1306
1280
|
display: inline-block;
|
1281
|
+
line-height: 5px;
|
1282
|
+
}
|
1283
|
+
|
1284
|
+
#toolbar div.button_with_label form label {
|
1285
|
+
margin-top: 5px;
|
1307
1286
|
}
|
1308
1287
|
|
1309
1288
|
#toolbar div.search_field {
|
@@ -1370,7 +1349,7 @@ button.icon_button.small:hover {
|
|
1370
1349
|
color: $dark-gray;
|
1371
1350
|
border: 1px solid #888;
|
1372
1351
|
text-shadow: 0 1px 4px #fff;
|
1373
|
-
text-decoration: none;
|
1352
|
+
text-decoration: none;
|
1374
1353
|
}
|
1375
1354
|
|
1376
1355
|
button.icon_button:hover {
|
@@ -1474,8 +1453,8 @@ span.icon.module {
|
|
1474
1453
|
margin-bottom: 4px;
|
1475
1454
|
}
|
1476
1455
|
|
1477
|
-
span.module.
|
1478
|
-
background-position:
|
1456
|
+
span.module.dashboard {
|
1457
|
+
background-position: -240px 0;
|
1479
1458
|
}
|
1480
1459
|
|
1481
1460
|
span.module.pages {
|
@@ -1556,26 +1535,22 @@ div.table_right span.tools a.icon_button img {
|
|
1556
1535
|
|
1557
1536
|
table {
|
1558
1537
|
border-style: none;
|
1559
|
-
border-spacing: 0
|
1538
|
+
border-spacing: 0 $default-padding;
|
1560
1539
|
padding: 0;
|
1561
1540
|
font-size: inherit;
|
1562
|
-
}
|
1563
|
-
|
1564
|
-
table.window_form {
|
1565
1541
|
width: 100%;
|
1566
1542
|
}
|
1567
1543
|
|
1568
|
-
table.
|
1544
|
+
table.window_form {
|
1569
1545
|
width: 100%;
|
1570
1546
|
}
|
1571
1547
|
|
1572
|
-
table
|
1573
|
-
table.list th {
|
1548
|
+
table td, table th {
|
1574
1549
|
padding: $default-padding;
|
1575
1550
|
white-space: nowrap;
|
1576
1551
|
}
|
1577
1552
|
|
1578
|
-
table
|
1553
|
+
table th {
|
1579
1554
|
text-align: left;
|
1580
1555
|
height: 22px;
|
1581
1556
|
vertical-align: top;
|
@@ -1585,23 +1560,23 @@ th.login_status {
|
|
1585
1560
|
width: 16px;
|
1586
1561
|
}
|
1587
1562
|
|
1588
|
-
table
|
1589
|
-
background-color: white;
|
1590
|
-
}
|
1591
|
-
|
1592
|
-
table.list tr.even td {
|
1563
|
+
table tr.odd td {
|
1593
1564
|
background-color: #eaf3f9;
|
1594
1565
|
}
|
1595
1566
|
|
1596
|
-
.even {
|
1597
|
-
background-color:
|
1567
|
+
table tr.even td {
|
1568
|
+
background-color: white;
|
1598
1569
|
}
|
1599
1570
|
|
1600
|
-
.
|
1571
|
+
li.even {
|
1601
1572
|
background-color: #fff;
|
1602
1573
|
}
|
1603
1574
|
|
1604
|
-
|
1575
|
+
li.odd {
|
1576
|
+
background-color: #eaf3f9;
|
1577
|
+
}
|
1578
|
+
|
1579
|
+
ul.list li.table_row {
|
1605
1580
|
display: block;
|
1606
1581
|
margin: 0 0 8px;
|
1607
1582
|
background-color: #ffffff;
|
@@ -1626,29 +1601,8 @@ ul#layoutpages.list li {
|
|
1626
1601
|
}
|
1627
1602
|
|
1628
1603
|
ul#sitemap.list {
|
1629
|
-
padding: 0
|
1630
|
-
}
|
1631
|
-
|
1632
|
-
/*#sitemap .drop_hover {
|
1633
|
-
background: url(/images/alchemy/gui/insertpage.png) no-repeat bottom left;
|
1634
|
-
outline: 1px dotted #999;
|
1635
|
-
}
|
1636
|
-
|
1637
|
-
#sitemap .drop_top {
|
1638
|
-
background-position: top left;
|
1639
|
-
padding-top: 16px;
|
1640
|
-
}
|
1641
|
-
|
1642
|
-
#sitemap .drop_bottom {
|
1643
|
-
background-position: bottom left;
|
1644
|
-
padding-bottom: 16px;
|
1645
|
-
}
|
1646
|
-
|
1647
|
-
#sitemap .drop_insert {
|
1648
|
-
background-position: 24px 100%;
|
1649
|
-
padding-bottom: 16px;
|
1604
|
+
padding: 0;
|
1650
1605
|
}
|
1651
|
-
*/
|
1652
1606
|
|
1653
1607
|
ul.list li {
|
1654
1608
|
list-style-type: none;
|
@@ -1666,7 +1620,7 @@ ul.list li.legend {
|
|
1666
1620
|
float: left;
|
1667
1621
|
}
|
1668
1622
|
|
1669
|
-
.list div.detail_row {
|
1623
|
+
ul.list div.detail_row {
|
1670
1624
|
background-color: $medium-gray;
|
1671
1625
|
font-size: 10px;
|
1672
1626
|
margin-top: 3px;
|
@@ -1674,12 +1628,12 @@ ul.list li.legend {
|
|
1674
1628
|
overflow: hidden;
|
1675
1629
|
}
|
1676
1630
|
|
1677
|
-
.list div.detail_row div {
|
1631
|
+
ul.list div.detail_row div {
|
1678
1632
|
padding-top: 1px;
|
1679
1633
|
padding-bottom: 1px;
|
1680
1634
|
}
|
1681
1635
|
|
1682
|
-
.list span.right {
|
1636
|
+
ul.list span.right {
|
1683
1637
|
float: right;
|
1684
1638
|
}
|
1685
1639
|
|
@@ -1713,8 +1667,7 @@ h2#sitemap_heading span.page_infos {
|
|
1713
1667
|
|
1714
1668
|
/* @group image_upload */
|
1715
1669
|
|
1716
|
-
table
|
1717
|
-
table.list td.icon .icon {
|
1670
|
+
table td.tools .icon, table td.icon .icon {
|
1718
1671
|
width: 16px;
|
1719
1672
|
height: 16px;
|
1720
1673
|
-webkit-user-select: none;
|
@@ -1722,7 +1675,8 @@ table.list td.icon .icon {
|
|
1722
1675
|
user-select: none;
|
1723
1676
|
margin-top: 0;
|
1724
1677
|
background-repeat: no-repeat;
|
1725
|
-
display:
|
1678
|
+
display: inline;
|
1679
|
+
display: inline-block;
|
1726
1680
|
margin-right: 4px;
|
1727
1681
|
}
|
1728
1682
|
|
@@ -1731,7 +1685,7 @@ input#search_input_field {
|
|
1731
1685
|
text-align: left;
|
1732
1686
|
@include rounded-search-field;
|
1733
1687
|
padding: 3px 24px 2px;
|
1734
|
-
height:
|
1688
|
+
height: 18px;
|
1735
1689
|
}
|
1736
1690
|
|
1737
1691
|
input.button,
|
@@ -1852,23 +1806,37 @@ a.small.button.with_icon span.icon {
|
|
1852
1806
|
left: -1px;
|
1853
1807
|
}
|
1854
1808
|
|
1855
|
-
table
|
1809
|
+
table tr td.tools {
|
1856
1810
|
width: 40px;
|
1857
1811
|
background-color: $light-gray;
|
1858
1812
|
white-space: nowrap;
|
1859
1813
|
}
|
1860
1814
|
|
1861
|
-
td.input,
|
1862
|
-
td.label {
|
1815
|
+
td.input, td.label {
|
1863
1816
|
padding-top: 2px;
|
1864
1817
|
vertical-align: top;
|
1865
1818
|
}
|
1866
1819
|
|
1820
|
+
td.input, td.submit, td.select {
|
1821
|
+
text-align: right;
|
1822
|
+
padding-right: 0;
|
1823
|
+
}
|
1824
|
+
|
1825
|
+
td.value {
|
1826
|
+
text-indent: 4px;
|
1827
|
+
}
|
1828
|
+
|
1867
1829
|
td.label {
|
1868
1830
|
white-space: nowrap;
|
1869
1831
|
width: 80px;
|
1870
|
-
padding:
|
1871
|
-
line-height:
|
1832
|
+
padding: $default-padding 2*$default-padding 0 0;
|
1833
|
+
line-height: 6*$default-padding;
|
1834
|
+
}
|
1835
|
+
|
1836
|
+
td.heading {
|
1837
|
+
padding: $default-padding 0;
|
1838
|
+
font-weight: bold;
|
1839
|
+
text-decoration: underline;
|
1872
1840
|
}
|
1873
1841
|
|
1874
1842
|
td.input input[type="checkbox"], td.input input[type="radio"] {
|
@@ -1883,18 +1851,17 @@ td.label.very_long {
|
|
1883
1851
|
width: 230px;
|
1884
1852
|
}
|
1885
1853
|
|
1886
|
-
table
|
1887
|
-
float: left;
|
1854
|
+
table tr td.tools a {
|
1888
1855
|
width: 19px;
|
1889
1856
|
height: 19px;
|
1890
1857
|
margin-right: 2px;
|
1891
1858
|
}
|
1892
1859
|
|
1893
|
-
table
|
1860
|
+
table tr td.tools.long {
|
1894
1861
|
width: 60px;
|
1895
1862
|
}
|
1896
1863
|
|
1897
|
-
table
|
1864
|
+
table tr td.icon {
|
1898
1865
|
background-color: $light-gray;
|
1899
1866
|
width: 20px;
|
1900
1867
|
text-align: center;
|
@@ -1917,6 +1884,14 @@ td.date {
|
|
1917
1884
|
width: 150px;
|
1918
1885
|
}
|
1919
1886
|
|
1887
|
+
table td.right, table th.right {
|
1888
|
+
text-align: right;
|
1889
|
+
}
|
1890
|
+
|
1891
|
+
table td.center, table th.center {
|
1892
|
+
text-align: center;
|
1893
|
+
}
|
1894
|
+
|
1920
1895
|
.list li.table_row div.table_right span{
|
1921
1896
|
float: left;
|
1922
1897
|
text-align: left;
|
@@ -1949,8 +1924,7 @@ td.role {
|
|
1949
1924
|
}
|
1950
1925
|
|
1951
1926
|
#archive_all {
|
1952
|
-
padding:
|
1953
|
-
overflow: visible;
|
1927
|
+
padding: 4*$default-padding;
|
1954
1928
|
}
|
1955
1929
|
|
1956
1930
|
#archive_all .padding_left_right {
|
@@ -1961,17 +1935,13 @@ td.role {
|
|
1961
1935
|
.inplace-edit {
|
1962
1936
|
background-color: $light-gray;
|
1963
1937
|
position: absolute;
|
1964
|
-
left: -
|
1965
|
-
top:
|
1938
|
+
left: -5px;
|
1939
|
+
top: -8px;
|
1966
1940
|
width: 204px;
|
1967
1941
|
z-index: 10;
|
1968
|
-
height:
|
1942
|
+
height: 60px;
|
1969
1943
|
border: $default-border;
|
1970
1944
|
@include rounded-corner;
|
1971
|
-
-webkit-box-shadow: #444 0px 1px 8px;
|
1972
|
-
-moz-box-shadow: #444 0px 1px 8px;
|
1973
|
-
-o-box-shadow: #444 0px 1px 8px;
|
1974
|
-
box-shadow: #444 0px 1px 8px;
|
1975
1945
|
}
|
1976
1946
|
|
1977
1947
|
.inplace-edit input.save-button {
|
@@ -1997,6 +1967,7 @@ td.role {
|
|
1997
1967
|
position: absolute;
|
1998
1968
|
left: 4px;
|
1999
1969
|
top: 4px;
|
1970
|
+
height: 18px;
|
2000
1971
|
}
|
2001
1972
|
|
2002
1973
|
div.spinner {
|
@@ -2108,8 +2079,7 @@ textarea.thin_border {
|
|
2108
2079
|
height: auto;
|
2109
2080
|
}
|
2110
2081
|
|
2111
|
-
.thin_border,
|
2112
|
-
.input_field {
|
2082
|
+
.thin_border, .input_field {
|
2113
2083
|
margin: 0;
|
2114
2084
|
@include rounded-corner;
|
2115
2085
|
background: #fff;
|
@@ -2117,9 +2087,8 @@ textarea.thin_border {
|
|
2117
2087
|
width: 210px;
|
2118
2088
|
font-size: 12px;
|
2119
2089
|
line-height: 19px;
|
2120
|
-
height:
|
2121
|
-
padding
|
2122
|
-
padding-right: 4px;
|
2090
|
+
height: 25px;
|
2091
|
+
padding: 1px $default-padding;
|
2123
2092
|
}
|
2124
2093
|
|
2125
2094
|
.thin_border.dirty {
|
@@ -2530,13 +2499,13 @@ div.button_with_label.active label{
|
|
2530
2499
|
|
2531
2500
|
div.button_with_label.disabled {
|
2532
2501
|
position: relative;
|
2533
|
-
@include opacity
|
2502
|
+
@include opacity(50);
|
2534
2503
|
cursor: default;
|
2535
2504
|
}
|
2536
2505
|
|
2537
2506
|
.icon_button.disabled span {
|
2538
2507
|
position: relative;
|
2539
|
-
@include opacity
|
2508
|
+
@include opacity(30);
|
2540
2509
|
cursor: default;
|
2541
2510
|
}
|
2542
2511
|
|
@@ -2553,7 +2522,7 @@ div.button_with_label.disabled:before {
|
|
2553
2522
|
width: 100%;
|
2554
2523
|
height: 100%;
|
2555
2524
|
background-color: transparent;
|
2556
|
-
@include opacity
|
2525
|
+
@include opacity(50);
|
2557
2526
|
}
|
2558
2527
|
|
2559
2528
|
div.button_with_label.disabled a:hover,
|
@@ -2577,11 +2546,6 @@ div.button_with_label .disabledButton {
|
|
2577
2546
|
z-index: 1;
|
2578
2547
|
}
|
2579
2548
|
|
2580
|
-
#per_page_links {
|
2581
|
-
text-align: center;
|
2582
|
-
float: left;
|
2583
|
-
}
|
2584
|
-
|
2585
2549
|
div.button_with_label a.icon_button {
|
2586
2550
|
float: none;
|
2587
2551
|
margin-right: auto;
|
@@ -2594,7 +2558,7 @@ div#toolbar label,
|
|
2594
2558
|
div#overlay_toolbar label {
|
2595
2559
|
font-size: 10px;
|
2596
2560
|
text-shadow: #fff 0 1px 2px;
|
2597
|
-
margin-top:
|
2561
|
+
margin-top: 2px;
|
2598
2562
|
display: block;
|
2599
2563
|
line-height: 13px;
|
2600
2564
|
}
|
@@ -2723,26 +2687,10 @@ div#image_assign_filter_and_image_sizing {
|
|
2723
2687
|
height: 40px;
|
2724
2688
|
}
|
2725
2689
|
|
2726
|
-
label.sup {
|
2727
|
-
position: relative;
|
2728
|
-
bottom: 3px;
|
2729
|
-
}
|
2730
|
-
|
2731
|
-
/*div.assign_image_list_detail {
|
2732
|
-
background-color: #ffffff;
|
2733
|
-
text-align: center;
|
2734
|
-
float: left;
|
2735
|
-
margin: 0 6px 6px 0;
|
2736
|
-
padding: $default-padding;
|
2737
|
-
position: relative;
|
2738
|
-
overflow: hidden;
|
2739
|
-
border: 1px solid #c0c0c0;
|
2740
|
-
@include rounded-corner;
|
2741
|
-
}*/
|
2742
|
-
|
2743
2690
|
#assign_image_list {
|
2744
2691
|
padding: 2*$default-padding;
|
2745
2692
|
overflow: hidden;
|
2693
|
+
text-align: center;
|
2746
2694
|
}
|
2747
2695
|
|
2748
2696
|
/* @group Picture Thumbnails */
|
@@ -2751,17 +2699,33 @@ label.sup {
|
|
2751
2699
|
padding: $default-padding;
|
2752
2700
|
margin: 2px 1px 2px 2px;
|
2753
2701
|
background-color: #fff;
|
2754
|
-
float:
|
2702
|
+
float: none;
|
2703
|
+
display: inline;
|
2704
|
+
display: inline-block;
|
2755
2705
|
border: 1px solid #c0c0c0;
|
2756
2706
|
position: relative;
|
2757
2707
|
@include rounded-corner;
|
2758
2708
|
}
|
2759
2709
|
|
2760
|
-
|
2710
|
+
#picture_archive {
|
2711
|
+
padding: 2*$default-padding;
|
2712
|
+
border: $default-border;
|
2713
|
+
@include rounded-corner;
|
2714
|
+
margin: -2*$default-padding;
|
2715
|
+
background-color: $medium-gray;
|
2716
|
+
}
|
2717
|
+
|
2718
|
+
#pictures, #picture_archive .pagination {
|
2719
|
+
text-align: center;
|
2720
|
+
}
|
2721
|
+
|
2722
|
+
#pictures .picture_thumbnail {
|
2761
2723
|
margin: 0 16px 16px 0;
|
2724
|
+
display: inline-block;
|
2725
|
+
float: none;
|
2762
2726
|
}
|
2763
2727
|
|
2764
|
-
#
|
2728
|
+
#pictures .picture_thumbnail:hover .picture_tool_delete {
|
2765
2729
|
display: block;
|
2766
2730
|
}
|
2767
2731
|
|
@@ -2773,6 +2737,7 @@ div#archive_all .picture_thumbnail {
|
|
2773
2737
|
text-align: center;
|
2774
2738
|
vertical-align: middle;
|
2775
2739
|
padding: 0;
|
2740
|
+
line-height: 0;
|
2776
2741
|
}
|
2777
2742
|
|
2778
2743
|
.picture_thumbnail.small .thumbnail_background {
|
@@ -2790,7 +2755,7 @@ div#archive_all .picture_thumbnail {
|
|
2790
2755
|
height: 180px;
|
2791
2756
|
}
|
2792
2757
|
|
2793
|
-
#
|
2758
|
+
#pictures .picture_thumbnail .thumbnail_background {
|
2794
2759
|
cursor: -webkit-zoom-in;
|
2795
2760
|
cursor: -moz-zoom-in;
|
2796
2761
|
cursor: -o-zoom-in;
|
@@ -2964,10 +2929,6 @@ div#errors {
|
|
2964
2929
|
width: 123px;
|
2965
2930
|
}
|
2966
2931
|
|
2967
|
-
input#page_name {
|
2968
|
-
width: 126px;
|
2969
|
-
}
|
2970
|
-
|
2971
2932
|
input.with_border {
|
2972
2933
|
margin: 0;
|
2973
2934
|
padding: 1px;
|
@@ -2996,7 +2957,7 @@ input#user_admin {
|
|
2996
2957
|
|
2997
2958
|
#alchemy div#overlay_toolbar div#image_assign_filter_and_image_sizing form {
|
2998
2959
|
float: right;
|
2999
|
-
width:
|
2960
|
+
width: 290px;
|
3000
2961
|
height: 25px;
|
3001
2962
|
margin-top: 2px;
|
3002
2963
|
padding: 0 !important;
|
@@ -3160,13 +3121,13 @@ div.elements_for_page {
|
|
3160
3121
|
}
|
3161
3122
|
|
3162
3123
|
a.close_elements_from_page_selector {
|
3163
|
-
|
3124
|
+
position: absolute;
|
3125
|
+
right: 8px;
|
3126
|
+
top: 8px;
|
3164
3127
|
font-size: 0;
|
3165
|
-
float: right;
|
3166
3128
|
padding-right: 2px;
|
3167
3129
|
width: 11px;
|
3168
3130
|
height: 15px;
|
3169
|
-
margin-top: 5px;
|
3170
3131
|
background: image-url('alchemy/icons.png') no-repeat 0 -72px;
|
3171
3132
|
cursor: pointer;
|
3172
3133
|
}
|
@@ -3244,16 +3205,8 @@ div.assign_file_file_icon img {
|
|
3244
3205
|
width: 195px;
|
3245
3206
|
}
|
3246
3207
|
|
3247
|
-
|
3248
|
-
padding-
|
3249
|
-
padding-bottom: 2px;
|
3250
|
-
padding-right: 8px;
|
3251
|
-
height: 25px;
|
3252
|
-
}
|
3253
|
-
|
3254
|
-
#alchemy .ui-dialog-content td.label.right {
|
3255
|
-
text-align: right;
|
3256
|
-
width: 40px;
|
3208
|
+
td.label.middle {
|
3209
|
+
padding-left: 2*$default-padding;
|
3257
3210
|
}
|
3258
3211
|
|
3259
3212
|
.elements_for_page .alchemy_selectbox {
|
@@ -3261,11 +3214,6 @@ div.assign_file_file_icon img {
|
|
3261
3214
|
width: 217px;
|
3262
3215
|
}
|
3263
3216
|
|
3264
|
-
table.window_form td.input {
|
3265
|
-
padding-top: 2px;
|
3266
|
-
padding-bottom: 2px;
|
3267
|
-
}
|
3268
|
-
|
3269
3217
|
#alchemy .ui-dialog-content p {
|
3270
3218
|
min-height: 21px;
|
3271
3219
|
}
|
@@ -3278,9 +3226,8 @@ select#url_protocol.medium {
|
|
3278
3226
|
margin: 0;
|
3279
3227
|
}
|
3280
3228
|
|
3281
|
-
#alchemy .ui-dialog-content input.auto_resize,
|
3282
|
-
|
3283
|
-
width: 100%;
|
3229
|
+
#alchemy .ui-dialog-content input.auto_resize, #alchemy .ui-dialog-content textarea.auto_resize {
|
3230
|
+
width: 98%;
|
3284
3231
|
}
|
3285
3232
|
|
3286
3233
|
#alchemy .ui-dialog-content td.medium {
|
@@ -3440,11 +3387,14 @@ a.icon.remove {
|
|
3440
3387
|
margin-right: 4px;
|
3441
3388
|
}
|
3442
3389
|
|
3390
|
+
a#uploadswitcher, a.underline {
|
3391
|
+
text-decoration: underline;
|
3392
|
+
}
|
3393
|
+
|
3443
3394
|
#uploadProgressContainer {
|
3444
|
-
overflow: hidden;
|
3445
|
-
|
3446
|
-
|
3447
|
-
padding: 0 8px;
|
3395
|
+
overflow-x: hidden;
|
3396
|
+
overflow-y: auto;
|
3397
|
+
height: 234px;
|
3448
3398
|
}
|
3449
3399
|
|
3450
3400
|
#uploadProgressContainer .progressWrapper {
|
@@ -3513,8 +3463,14 @@ a.icon.remove {
|
|
3513
3463
|
right: 8px;
|
3514
3464
|
}
|
3515
3465
|
|
3516
|
-
#
|
3466
|
+
#swf_upload_container {
|
3467
|
+
height: 60px;
|
3468
|
+
}
|
3469
|
+
|
3470
|
+
#swf_upload_container .button {
|
3517
3471
|
float: right;
|
3472
|
+
margin-top: 4*$default-margin;
|
3473
|
+
font-size: 11px;
|
3518
3474
|
}
|
3519
3475
|
|
3520
3476
|
object.swfupload {
|