forgeos_cms 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +2 -0
- data/README.textile +42 -0
- data/app/assets/images/forgeos/admin/favicon.gif +0 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/carousels.js +56 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/menus.js +93 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/overlay.js +86 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/trees.js +8 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/widget_actualities.js +117 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/carousels.js +131 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/menus.js +294 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/overlays.js +71 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/trees.js +94 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/widget_actualities.js +23 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/widget_faq.js +13 -0
- data/app/assets/stylesheets/forgeos/admin/base.css.sass +2 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_cms/_all.css.sass +1 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_cms/_blocks.css.sass +220 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/bubble-quantity-products.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/check-checked.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/check-unchecked.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/context.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/create.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/dark-blue-minus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/dark-blue-plus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/dot.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/f.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/fminus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/fminus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/folder.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/fplus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/fplus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/lastli.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/lastli_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/li.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/remove.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/rename.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/style.css.sass +219 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/throbber.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/brown-minus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/brown-plus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/bubble-quantity-products.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/context.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/create.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/dot.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/f.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/fminus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/fminus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/fplus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/fplus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/lastli.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/lastli_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/li.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/remove.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/rename.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/style.css.sass +138 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/throbber.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/big-drag-and-drop.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/bubble-quantity-products.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/check-checked.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/check-unchecked.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/context.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/create.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/dark-blue-minus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/dark-blue-plus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/dot.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/drag-drop.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/f.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/fminus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/fminus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/folder.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/fplus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/fplus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/lastli.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/lastli_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/li.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/remove.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/rename.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/style.css.sass +186 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/throbber.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/brown-minus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/brown-plus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/bubble-quantity-products.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/context.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/create.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/dot.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/f.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/fminus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/fminus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/fplus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/fplus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/lastli.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/lastli_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/li.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/remove.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/rename.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/style.css.sass +138 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/throbber.gif +0 -0
- data/app/controllers/actualities_controller.rb +11 -0
- data/app/controllers/admin/actualities_controller.rb +100 -0
- data/app/controllers/admin/base_controller.rb +11 -0
- data/app/controllers/admin/carousels_controller.rb +101 -0
- data/app/controllers/admin/import_controller.rb +20 -0
- data/app/controllers/admin/menus_controller.rb +104 -0
- data/app/controllers/admin/newsletters_controller.rb +110 -0
- data/app/controllers/admin/pages_controller.rb +169 -0
- data/app/controllers/admin/static_content_blocks_controller.rb +174 -0
- data/app/controllers/admin/statistics_controller.rb +29 -0
- data/app/controllers/admin/widget_actualities_controller.rb +101 -0
- data/app/controllers/admin/widget_faqs_controller.rb +71 -0
- data/app/controllers/admin/widgets_controller.rb +83 -0
- data/app/controllers/forgeos/application_controller.rb +21 -0
- data/app/controllers/newsletters_controller.rb +11 -0
- data/app/controllers/pages_controller.rb +24 -0
- data/app/controllers/search_controller.rb +7 -0
- data/app/helpers/application_helper.rb +43 -0
- data/app/helpers/menu_helper.rb +46 -0
- data/app/helpers/routes_helper.rb +19 -0
- data/app/models/actuality.rb +21 -0
- data/app/models/block.rb +65 -0
- data/app/models/block_category.rb +7 -0
- data/app/models/carousel.rb +14 -0
- data/app/models/carousel_item.rb +12 -0
- data/app/models/category_link.rb +2 -0
- data/app/models/comment.rb +6 -0
- data/app/models/external_link.rb +5 -0
- data/app/models/faq.rb +10 -0
- data/app/models/link_page.rb +2 -0
- data/app/models/menu.rb +30 -0
- data/app/models/menu_category.rb +7 -0
- data/app/models/menu_link.rb +57 -0
- data/app/models/newsletter.rb +5 -0
- data/app/models/page.rb +85 -0
- data/app/models/page_category.rb +11 -0
- data/app/models/page_col.rb +14 -0
- data/app/models/page_link.rb +17 -0
- data/app/models/page_sweeper.rb +54 -0
- data/app/models/static_content_block.rb +2 -0
- data/app/models/static_content_category.rb +2 -0
- data/app/models/widget.rb +2 -0
- data/app/models/widget_actuality.rb +19 -0
- data/app/models/widget_category.rb +2 -0
- data/app/models/widget_faq.rb +12 -0
- data/app/views/actualities/rss.rxml +20 -0
- data/app/views/admin/actualities/_form.html.haml +38 -0
- data/app/views/admin/actualities/_tabs.html.haml +5 -0
- data/app/views/admin/actualities/edit.html.haml +3 -0
- data/app/views/admin/actualities/index.html.haml +10 -0
- data/app/views/admin/actualities/index.json.erb +34 -0
- data/app/views/admin/actualities/new.html.haml +3 -0
- data/app/views/admin/blocks/_associated_pages.html.haml +33 -0
- data/app/views/admin/blocks/_tabs.html.haml +8 -0
- data/app/views/admin/carousels/_attachments_popups.html.haml +81 -0
- data/app/views/admin/carousels/_form.html.haml +95 -0
- data/app/views/admin/carousels/_form_item.html.haml +54 -0
- data/app/views/admin/carousels/_item.html.haml +25 -0
- data/app/views/admin/carousels/edit.html.haml +1 -0
- data/app/views/admin/carousels/new.html.haml +1 -0
- data/app/views/admin/carousels/show.html.haml +40 -0
- data/app/views/admin/categories/_block.html.haml +4 -0
- data/app/views/admin/categories/_list_blocks.html.haml +13 -0
- data/app/views/admin/categories/_list_pages.html.haml +13 -0
- data/app/views/admin/categories/_page.html.haml +2 -0
- data/app/views/admin/dashboard/index.html.haml +19 -0
- data/app/views/admin/menu_links/_show.html.haml +8 -0
- data/app/views/admin/menus/_empty_menu_link.html.haml +45 -0
- data/app/views/admin/menus/_form.html.haml +27 -0
- data/app/views/admin/menus/_form_menu_links.html.haml +60 -0
- data/app/views/admin/menus/_lang_switcher.html.haml +2 -0
- data/app/views/admin/menus/_tabs.html.haml +5 -0
- data/app/views/admin/menus/_types_popups.html.haml +21 -0
- data/app/views/admin/menus/edit.html.haml +1 -0
- data/app/views/admin/menus/index.html.haml +13 -0
- data/app/views/admin/menus/index.json.erb +31 -0
- data/app/views/admin/menus/new.html.haml +1 -0
- data/app/views/admin/menus/show.html.haml +22 -0
- data/app/views/admin/newsletters/_form.html.haml +19 -0
- data/app/views/admin/newsletters/_tabs.html.haml +3 -0
- data/app/views/admin/newsletters/edit.html.haml +2 -0
- data/app/views/admin/newsletters/index.html.haml +14 -0
- data/app/views/admin/newsletters/index.json.erb +22 -0
- data/app/views/admin/newsletters/new.html.haml +2 -0
- data/app/views/admin/pages/_block_popup.html.haml +18 -0
- data/app/views/admin/pages/_blocks.html.haml +29 -0
- data/app/views/admin/pages/_codes.html.haml +33 -0
- data/app/views/admin/pages/_form.html.haml +15 -0
- data/app/views/admin/pages/_general.html.haml +64 -0
- data/app/views/admin/pages/_seo.html.haml +31 -0
- data/app/views/admin/pages/_tabs.html.haml +5 -0
- data/app/views/admin/pages/_tabs_show.html.haml +9 -0
- data/app/views/admin/pages/edit.html.haml +1 -0
- data/app/views/admin/pages/index.html.haml +13 -0
- data/app/views/admin/pages/index.json.erb +37 -0
- data/app/views/admin/pages/new.html.haml +2 -0
- data/app/views/admin/pages/show.html.haml +100 -0
- data/app/views/admin/static_content_blocks/_form.html.haml +41 -0
- data/app/views/admin/static_content_blocks/edit.html.haml +1 -0
- data/app/views/admin/static_content_blocks/index.html.haml +16 -0
- data/app/views/admin/static_content_blocks/index.json.erb +28 -0
- data/app/views/admin/static_content_blocks/new.html.haml +1 -0
- data/app/views/admin/static_content_blocks/show.html.haml +23 -0
- data/app/views/admin/statistics/index.html.haml +57 -0
- data/app/views/admin/users/_tabs.html.haml +3 -0
- data/app/views/admin/widget_actualities/_form.html.haml +87 -0
- data/app/views/admin/widget_actualities/_form_item.html.haml +28 -0
- data/app/views/admin/widget_actualities/_item.html.haml +11 -0
- data/app/views/admin/widget_actualities/_tabs.html.haml +8 -0
- data/app/views/admin/widget_actualities/edit.html.haml +2 -0
- data/app/views/admin/widget_actualities/new.html.haml +2 -0
- data/app/views/admin/widget_actualities/show.html.haml +39 -0
- data/app/views/admin/widget_faqs/_form.html.haml +68 -0
- data/app/views/admin/widget_faqs/_tabs.html.haml +8 -0
- data/app/views/admin/widget_faqs/edit.html.haml +2 -0
- data/app/views/admin/widget_faqs/new.html.haml +2 -0
- data/app/views/admin/widgets/_tabs.html.haml +8 -0
- data/app/views/admin/widgets/index.html.haml +28 -0
- data/app/views/admin/widgets/index.json.erb +27 -0
- data/app/views/layouts/admin/_menu.html.haml +0 -0
- data/app/views/layouts/application.html.haml +21 -0
- data/app/views/pages/_linked_pages.html.haml +4 -0
- data/app/views/pages/_page.html.haml +15 -0
- data/app/views/pages/show.html.haml +9 -0
- data/app/views/search/index.html.haml +8 -0
- data/config/locales/activerecord/en.yml +48 -0
- data/config/locales/activerecord/fr.yml +77 -0
- data/config/locales/admin/actuality/en.yml +30 -0
- data/config/locales/admin/actuality/fr.yml +30 -0
- data/config/locales/admin/block/en.yml +38 -0
- data/config/locales/admin/block/fr.yml +38 -0
- data/config/locales/admin/carousel/en.yml +24 -0
- data/config/locales/admin/carousel/fr.yml +24 -0
- data/config/locales/admin/menu/en.yml +33 -0
- data/config/locales/admin/menu/fr.yml +38 -0
- data/config/locales/admin/newsletter/en.yml +30 -0
- data/config/locales/admin/newsletter/fr.yml +30 -0
- data/config/locales/admin/page/en.yml +77 -0
- data/config/locales/admin/page/fr.yml +77 -0
- data/config/locales/admin/section/en.yml +23 -0
- data/config/locales/admin/section/fr.yml +23 -0
- data/config/locales/admin/static_content_block/en.yml +43 -0
- data/config/locales/admin/static_content_block/fr.yml +42 -0
- data/config/locales/admin/widget/en.yml +34 -0
- data/config/locales/admin/widget/fr.yml +34 -0
- data/config/locales/admin/widget_actuality/en.yml +23 -0
- data/config/locales/admin/widget_actuality/fr.yml +23 -0
- data/config/locales/admin/widget_faq/en.yml +22 -0
- data/config/locales/admin/widget_faq/fr.yml +30 -0
- data/config/locales/common/en.yml +208 -0
- data/config/locales/common/fr.yml +209 -0
- data/config/routes.rb +73 -0
- data/db/fixtures/menu_link_translations.yml +5 -0
- data/db/fixtures/menu_links.yml +5 -0
- data/db/fixtures/menus.yml +3 -0
- data/db/fixtures/page_translations.yml +19 -0
- data/db/fixtures/pages.yml +5 -0
- data/db/fixtures/people.yml +11 -0
- data/db/migrate/20091009134405_create_actualities.rb +18 -0
- data/db/migrate/20091009134503_create_blocks.rb +15 -0
- data/db/migrate/20091009134510_create_blocks_pages.rb +13 -0
- data/db/migrate/20091009134518_create_carousel_items.rb +17 -0
- data/db/migrate/20091009134729_create_pages.rb +18 -0
- data/db/migrate/20091009134736_create_pages_links.rb +12 -0
- data/db/migrate/20091027153116_create_menus.rb +14 -0
- data/db/migrate/20091027153659_create_menu_links.rb +19 -0
- data/db/migrate/20091208113459_create_page_translations.rb +9 -0
- data/db/migrate/20091208113460_create_block_translations.rb +9 -0
- data/db/migrate/20091208113461_create_menu_link_translations.rb +9 -0
- data/db/migrate/20091208170256_remove_translations_to_page.rb +10 -0
- data/db/migrate/20091208170257_remove_translations_to_block.rb +9 -0
- data/db/migrate/20091208170258_remove_translations_to_menu_link.rb +9 -0
- data/db/migrate/20100203102853_add_actuality_translations.rb +9 -0
- data/db/migrate/20100203102914_add_carousel_item_translations.rb +9 -0
- data/db/migrate/20100203125804_remove_translated_columns_to_actualities.rb +9 -0
- data/db/migrate/20100203125820_remove_translated_columns_to_carousel_items.rb +10 -0
- data/db/migrate/20100405095844_create_page_cols_table.rb +12 -0
- data/db/migrate/20100405101416_create_blocks_page_cols.rb +13 -0
- data/db/migrate/20100407093551_create_table_translation_for_page_cols.rb +13 -0
- data/db/migrate/20100413134832_add_index_on_menu_links.rb +11 -0
- data/db/migrate/20100501150819_add_code_to_pages.rb +13 -0
- data/db/migrate/20100511161012_create_faqs.rb +13 -0
- data/db/migrate/20100526163534_add_popup_to_menu_link.rb +9 -0
- data/db/migrate/20100929183346_change_answer_type.rb +9 -0
- data/db/migrate/20101015095242_update_actualities.rb +11 -0
- data/db/migrate/20101216155044_create_newsletter.rb +12 -0
- data/db/migrate/20110310092311_add_indexes_to_menu.rb +9 -0
- data/db/migrate/20110408133955_add_summary_to_menu_link_translations.rb +7 -0
- data/lib/forgeos/admin_menu.rb +14 -0
- data/lib/forgeos/cms.rb +8 -0
- data/lib/forgeos/cms/engine.rb +8 -0
- data/lib/forgeos/cms/statistics.rb +16 -0
- data/lib/forgeos_cms.rb +3 -0
- data/lib/tasks/install.rake +9 -0
- data/lib/tasks/upgrade.rake +22 -0
- data/recipes/deploy.rb +14 -0
- metadata +375 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
jQuery(document).ready(function(){
|
2
|
+
jQuery('.create-actuality').live('click', function() {
|
3
|
+
create_actuality('item_' + false_id);
|
4
|
+
return false;
|
5
|
+
});
|
6
|
+
|
7
|
+
jQuery('.update-actuality').live('click', function() {
|
8
|
+
update_actuality('item_' + actuality_id);
|
9
|
+
return false;
|
10
|
+
});
|
11
|
+
|
12
|
+
jQuery('.duplicate-actuality').live('click', function() {
|
13
|
+
duplicate_actuality('item_' + false_id);
|
14
|
+
return false;
|
15
|
+
});
|
16
|
+
|
17
|
+
// Edition mode in widget actuality item edit
|
18
|
+
jQuery('.block-container.widget-modify.actuality .back-link').live('click',function(){
|
19
|
+
jQuery('.lightbox-actuality').dialog('close');
|
20
|
+
empty_actuality_overlay_fields();
|
21
|
+
return false;
|
22
|
+
});
|
23
|
+
});
|
@@ -0,0 +1,13 @@
|
|
1
|
+
jQuery(document).ready(function(){
|
2
|
+
jQuery('.add-faq-item').live('click',function(e){
|
3
|
+
e.preventDefault();
|
4
|
+
var list = jQuery('.faq_ul');
|
5
|
+
var new_id = list.find('li').size() + 1;
|
6
|
+
list.append('<li id="faq_'+new_id+'">'+jQuery('#faq_item_pattern').html().replace(new RegExp('EMPTY_ID','g'),new_id)+'</li>');
|
7
|
+
var item = list.find('li:last');
|
8
|
+
item.find('textarea').addClass('mceEditor');
|
9
|
+
tmce_load_children('#'+item.attr('id'));
|
10
|
+
jQuery('html,body').animate({scrollTop: jQuery('#faq_'+new_id).offset().top},'slow');
|
11
|
+
return false;
|
12
|
+
});
|
13
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
@import forgeos/admin/forgeos_cms/blocks
|
@@ -0,0 +1,220 @@
|
|
1
|
+
#page_content_tbl, #page_content
|
2
|
+
width: 650px !important
|
3
|
+
#blocks-header
|
4
|
+
a
|
5
|
+
padding: 0 10px
|
6
|
+
&:hover, &.selected
|
7
|
+
color: $white
|
8
|
+
background-color: $lightGray
|
9
|
+
.blocks-tree.hidden
|
10
|
+
display: none
|
11
|
+
.block-container.widget-modify
|
12
|
+
min-height: 4em
|
13
|
+
height: auto !important
|
14
|
+
height: 4em
|
15
|
+
position: relative
|
16
|
+
overflow: hidden
|
17
|
+
background:
|
18
|
+
color: transparent !important
|
19
|
+
border: 0 !important
|
20
|
+
.inner_block-container
|
21
|
+
width: 87%
|
22
|
+
background:
|
23
|
+
color: #E0E0E0
|
24
|
+
border: 1px solid #F3F3F3
|
25
|
+
+borderCorner()
|
26
|
+
overflow: hidden
|
27
|
+
.block-type
|
28
|
+
padding: 0 4px
|
29
|
+
.handler
|
30
|
+
height: 4em
|
31
|
+
.inner
|
32
|
+
height: 24em
|
33
|
+
div
|
34
|
+
padding: 5px
|
35
|
+
&.open
|
36
|
+
height: 13em
|
37
|
+
.block-type .handler
|
38
|
+
height: 15em
|
39
|
+
.inner
|
40
|
+
height: 24em
|
41
|
+
.block-type .edit
|
42
|
+
height: 15em
|
43
|
+
+left()
|
44
|
+
padding: 0
|
45
|
+
width: 5px
|
46
|
+
margin-right: 5px
|
47
|
+
.block-type
|
48
|
+
text-align: center
|
49
|
+
width: 115px
|
50
|
+
font-size: .8em
|
51
|
+
.block-name
|
52
|
+
margin-left: 125px
|
53
|
+
min-height: 4em
|
54
|
+
height: auto !important
|
55
|
+
height: 4em
|
56
|
+
padding: 0 10px 10px
|
57
|
+
p
|
58
|
+
color: $lightGray
|
59
|
+
padding: 0
|
60
|
+
margin: 0
|
61
|
+
.widget_actuality_content
|
62
|
+
margin-top: 12px
|
63
|
+
.widget-list .ui-state-highlight
|
64
|
+
height: 60px
|
65
|
+
.widget-actions
|
66
|
+
position: absolute
|
67
|
+
right: 0px
|
68
|
+
top: 0
|
69
|
+
display: none
|
70
|
+
padding: 20px
|
71
|
+
.block-container.widget-modify
|
72
|
+
&:hover .widget-actions
|
73
|
+
+block()
|
74
|
+
.editing
|
75
|
+
display: none
|
76
|
+
.widget-picture
|
77
|
+
height: 50px
|
78
|
+
line-height: 3em
|
79
|
+
padding: 5px
|
80
|
+
img
|
81
|
+
width: 50px
|
82
|
+
height: 50px
|
83
|
+
border: 1px solid $contentHeaderBorder
|
84
|
+
a
|
85
|
+
color: $blueLink
|
86
|
+
font-size: .9em
|
87
|
+
text-decoration: underline
|
88
|
+
*
|
89
|
+
+left()
|
90
|
+
.change-picture
|
91
|
+
margin-left: 5px
|
92
|
+
.carousel-image
|
93
|
+
width: 50px
|
94
|
+
height: 50px
|
95
|
+
.block-container.widget-modify
|
96
|
+
.block-type label
|
97
|
+
+block()
|
98
|
+
text-align: left
|
99
|
+
margin: 8px
|
100
|
+
padding-left: 20px
|
101
|
+
&.picture-title
|
102
|
+
margin-top: 40px
|
103
|
+
.block-name
|
104
|
+
input.text
|
105
|
+
+block()
|
106
|
+
width: 99%
|
107
|
+
font-size: 0.7em
|
108
|
+
border: 1px solid $lightGray
|
109
|
+
+borderCorner()
|
110
|
+
padding: 2px
|
111
|
+
font-weight: bold
|
112
|
+
textarea
|
113
|
+
display: block
|
114
|
+
width: 99%
|
115
|
+
font-size: 0.9em
|
116
|
+
border: 1px solid $lightGray
|
117
|
+
+borderCorner()
|
118
|
+
padding: 2px
|
119
|
+
margin-bottom: .8em
|
120
|
+
.widget-url
|
121
|
+
border: 1px solid $lightGray
|
122
|
+
+borderCorner()
|
123
|
+
background: #E6E6E6
|
124
|
+
height: 1.2em
|
125
|
+
margin: 5px 0
|
126
|
+
width: 100%
|
127
|
+
span
|
128
|
+
color: $lightGray
|
129
|
+
padding: 2px
|
130
|
+
font-size: 0.8em
|
131
|
+
+left()
|
132
|
+
+block()
|
133
|
+
input
|
134
|
+
+block()
|
135
|
+
width: 90%
|
136
|
+
float: right
|
137
|
+
border: 0
|
138
|
+
.actions
|
139
|
+
color: $lightGray
|
140
|
+
font-size: .8em
|
141
|
+
line-height: 1.8em
|
142
|
+
.action-button
|
143
|
+
margin: 0 .5em 0 0
|
144
|
+
line-height: 1em
|
145
|
+
font-size: 1em
|
146
|
+
p.widget_actuality_title
|
147
|
+
padding-top: 7px
|
148
|
+
color: $blueLink
|
149
|
+
font-weight: bold
|
150
|
+
p.widget_actuality_content
|
151
|
+
padding: 9px 10px 10px 0px
|
152
|
+
.view-tree
|
153
|
+
li
|
154
|
+
margin-right: 1px
|
155
|
+
margin: 2px 0 !important
|
156
|
+
padding-left: 5px !important
|
157
|
+
&.last
|
158
|
+
margin-right: 0
|
159
|
+
padding-right: 16px
|
160
|
+
|
161
|
+
&.open
|
162
|
+
background: url("fminus_rtl.gif") right 6px no-repeat
|
163
|
+
margin-right: 0
|
164
|
+
padding-right: 16px
|
165
|
+
|
166
|
+
&.closed
|
167
|
+
background: url("fplus_rtl.gif") right 4px no-repeat
|
168
|
+
margin-right: 0
|
169
|
+
padding-right: 16px
|
170
|
+
a
|
171
|
+
cursor: default
|
172
|
+
padding: 0px 5px 0px 24px
|
173
|
+
+borderCorner()
|
174
|
+
width: auto
|
175
|
+
color: #557383 !important
|
176
|
+
font-weight: bold
|
177
|
+
font-size: 1em
|
178
|
+
height: 20px
|
179
|
+
position: relative
|
180
|
+
line-height: 20px
|
181
|
+
&.clicked
|
182
|
+
background-color: #8fc864 !important
|
183
|
+
span
|
184
|
+
// background-image: url("/stylesheets/jstree/themes/association_page/check-checked.png")
|
185
|
+
height: 16px
|
186
|
+
width: 16px
|
187
|
+
font-size: 0.7em
|
188
|
+
background-repeat: no-repeat
|
189
|
+
background-position: 0 0
|
190
|
+
text-align: center
|
191
|
+
color: #75491B
|
192
|
+
right: 5px
|
193
|
+
position: absolute
|
194
|
+
top: 2px
|
195
|
+
&.page
|
196
|
+
background-color: #b0e0f1
|
197
|
+
background-position: 0 -1198px
|
198
|
+
&:hover, &.hover
|
199
|
+
color: #FFF !important
|
200
|
+
span.clicked
|
201
|
+
padding: 0px 3px 0px 20px
|
202
|
+
&.clicked
|
203
|
+
-moz-border-radius: 3px
|
204
|
+
margin: 2px 0 !important
|
205
|
+
#form_actuality
|
206
|
+
background-color: #FFFFFF
|
207
|
+
#actualities
|
208
|
+
.block-container
|
209
|
+
p.widget_actuality_title
|
210
|
+
padding-top: 9px
|
211
|
+
color: $blueLink
|
212
|
+
font-weight: bold
|
213
|
+
p.widget_actuality_content
|
214
|
+
padding: 9px 10px 10px 0px
|
215
|
+
#blocks
|
216
|
+
.block-container
|
217
|
+
.block-name
|
218
|
+
padding: 2px
|
219
|
+
.block-type
|
220
|
+
padding: 3px
|
data/app/assets/stylesheets/forgeos/jstree/themes/association_page/bubble-quantity-products.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,219 @@
|
|
1
|
+
.tree-association_page
|
2
|
+
.locked li a
|
3
|
+
color: gray
|
4
|
+
|
5
|
+
ul
|
6
|
+
width: 87%
|
7
|
+
|
8
|
+
li
|
9
|
+
width: 100%
|
10
|
+
|
11
|
+
&.last
|
12
|
+
.rtl
|
13
|
+
background-position: right 1px
|
14
|
+
|
15
|
+
ul
|
16
|
+
background-position: right 1px
|
17
|
+
|
18
|
+
li
|
19
|
+
background-position: right 8px
|
20
|
+
|
21
|
+
&.last
|
22
|
+
background-image: url("lastli_rtl.gif")
|
23
|
+
background-position: right top
|
24
|
+
|
25
|
+
.no_dots
|
26
|
+
background: transparent
|
27
|
+
|
28
|
+
ul
|
29
|
+
background: transparent
|
30
|
+
|
31
|
+
li.leaf
|
32
|
+
background-image: none
|
33
|
+
background-color: transparent
|
34
|
+
|
35
|
+
li
|
36
|
+
&.open
|
37
|
+
background: url("dark-blue-minus.png") 0 0 no-repeat
|
38
|
+
|
39
|
+
&.closed
|
40
|
+
background: url("dark-blue-plus.png") 0 1px no-repeat
|
41
|
+
|
42
|
+
|
43
|
+
#jstree-dragged.tree-association_page li li.open
|
44
|
+
background: url("dark-blue-plus.png") 0 1px no-repeat
|
45
|
+
|
46
|
+
|
47
|
+
.tree-association_page .rtl li
|
48
|
+
margin-right: 1px
|
49
|
+
|
50
|
+
&.last
|
51
|
+
margin-right: 0
|
52
|
+
padding-right: 16px
|
53
|
+
|
54
|
+
&.open
|
55
|
+
background: url("fminus_rtl.gif") right 6px no-repeat
|
56
|
+
margin-right: 0
|
57
|
+
padding-right: 16px
|
58
|
+
|
59
|
+
&.closed
|
60
|
+
background: url("fplus_rtl.gif") right 4px no-repeat
|
61
|
+
margin-right: 0
|
62
|
+
padding-right: 16px
|
63
|
+
|
64
|
+
|
65
|
+
#jstree-dragged.tree-association_page .rtl li li.open
|
66
|
+
background: url("fplus_rtl.gif") right 4px no-repeat
|
67
|
+
margin-right: 0
|
68
|
+
padding-right: 16px
|
69
|
+
|
70
|
+
|
71
|
+
.tree-association_page
|
72
|
+
li
|
73
|
+
a
|
74
|
+
padding: 0px 5px 0px 24px
|
75
|
+
width: auto
|
76
|
+
color: #557383 !important
|
77
|
+
font-weight: bold
|
78
|
+
font-size: 1em
|
79
|
+
height: 20px
|
80
|
+
position: relative
|
81
|
+
|
82
|
+
span
|
83
|
+
height: 13px
|
84
|
+
width: 19px
|
85
|
+
font-size: 0.7em
|
86
|
+
background-image: url("check-unchecked.png")
|
87
|
+
background-repeat: no-repeat
|
88
|
+
background-position: 0 0
|
89
|
+
text-align: center
|
90
|
+
color: #75491B
|
91
|
+
right: 5px
|
92
|
+
position: absolute
|
93
|
+
top: 2px
|
94
|
+
|
95
|
+
&.clicked a.page span
|
96
|
+
background-image: url("check-checked.png")
|
97
|
+
|
98
|
+
span.clicked
|
99
|
+
padding: 0px 3px 0px 20px
|
100
|
+
|
101
|
+
a.loading
|
102
|
+
background-image: url("throbber.gif")
|
103
|
+
|
104
|
+
.rtl li
|
105
|
+
a, span
|
106
|
+
padding: 1px 23px 1px 4px
|
107
|
+
background-position: right 1px
|
108
|
+
margin-right: 1px
|
109
|
+
|
110
|
+
a
|
111
|
+
&:hover, &.hover
|
112
|
+
padding: 0px 23px 0px 3px
|
113
|
+
background-position: right 0px
|
114
|
+
margin-right: 0px
|
115
|
+
|
116
|
+
&.clicked
|
117
|
+
padding: 0px 23px 0px 3px
|
118
|
+
background-position: right 0px
|
119
|
+
margin-right: 0px
|
120
|
+
|
121
|
+
&:hover
|
122
|
+
padding: 0px 23px 0px 3px
|
123
|
+
background-position: right 0px
|
124
|
+
margin-right: 0px
|
125
|
+
|
126
|
+
span.clicked
|
127
|
+
padding: 0px 23px 0px 3px
|
128
|
+
background-position: right 0px
|
129
|
+
margin-right: 0px
|
130
|
+
padding: 0px 21px 0px 3px
|
131
|
+
|
132
|
+
|
133
|
+
.tree-association_page-context
|
134
|
+
width: 160px
|
135
|
+
background: #F0F0F0 url("context.gif") 22px 0 repeat-y
|
136
|
+
border: 1px solid silver
|
137
|
+
position: absolute
|
138
|
+
|
139
|
+
a
|
140
|
+
display: block
|
141
|
+
text-decoration: none
|
142
|
+
color: black
|
143
|
+
line-height: 20px
|
144
|
+
background-repeat: no-repeat
|
145
|
+
background-position: 2px center
|
146
|
+
padding: 1px 0 1px 25px
|
147
|
+
background-color: transparent
|
148
|
+
border: 1px solid #f0f0f0
|
149
|
+
border-width: 0 1px
|
150
|
+
margin: 0
|
151
|
+
|
152
|
+
&.disabled:hover
|
153
|
+
display: block
|
154
|
+
text-decoration: none
|
155
|
+
color: black
|
156
|
+
line-height: 20px
|
157
|
+
background-repeat: no-repeat
|
158
|
+
background-position: 2px center
|
159
|
+
padding: 1px 0 1px 25px
|
160
|
+
background-color: transparent
|
161
|
+
border: 1px solid #f0f0f0
|
162
|
+
border-width: 0 1px
|
163
|
+
margin: 0
|
164
|
+
|
165
|
+
&:hover
|
166
|
+
background-color: #e7f4f9
|
167
|
+
border: 1px solid #d8f0fa
|
168
|
+
padding: 0 0 0 25px
|
169
|
+
margin: 0
|
170
|
+
|
171
|
+
&.disabled
|
172
|
+
color: silver
|
173
|
+
opacity: 0.5
|
174
|
+
-ms-filter: 'alpha(opacity=50)'
|
175
|
+
filter: alpha(opacity=50)
|
176
|
+
zoom: 1
|
177
|
+
|
178
|
+
&:hover
|
179
|
+
color: silver
|
180
|
+
opacity: 0.5
|
181
|
+
-ms-filter: 'alpha(opacity=50)'
|
182
|
+
filter: alpha(opacity=50)
|
183
|
+
zoom: 1
|
184
|
+
|
185
|
+
.separator
|
186
|
+
background: #FFFFFF
|
187
|
+
border-top: 1px solid #E0E0E0
|
188
|
+
font-size: 1px
|
189
|
+
height: 1px
|
190
|
+
line-height: 1px
|
191
|
+
margin: 0 2px 0 24px
|
192
|
+
min-height: 1px
|
193
|
+
display: block
|
194
|
+
|
195
|
+
|
196
|
+
.tree-association_page li li
|
197
|
+
padding-left: 15px
|
198
|
+
|
199
|
+
|
200
|
+
.leaf
|
201
|
+
-moz-border-radius: 3px
|
202
|
+
margin: 2px 0 !important
|
203
|
+
padding-left: 5px !important
|
204
|
+
|
205
|
+
.page
|
206
|
+
background-color: #b0e0f1
|
207
|
+
background-position: 0 -1198px
|
208
|
+
|
209
|
+
&.clicked
|
210
|
+
-moz-border-radius: 3px
|
211
|
+
margin: 2px 0 !important
|
212
|
+
|
213
|
+
.page
|
214
|
+
background-color: #8fc864
|
215
|
+
|
216
|
+
|
217
|
+
.page.leaf a
|
218
|
+
&:hover, &.hover
|
219
|
+
color: #FFF !important
|