mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
80cbee66f6
This commit customizes all New Page template designs for every single theme. The changes are organized as follow: When the used blocks are not the default ones: - the new sequence of block is listed in the `new_page_templates` manifest entry. - the blocks are updated in the `new_page_template_sections_..._...` XML templates accordingly. After the potential block sequence updates, the `new_page_template.xml` then first contains the general customization of blocks (those that apply across all new page templates) then the customization for each category of page. Customizations for a specific page are directly below category-wide customizations of the given block when both exist. task-3381714 closes odoo/design-themes#692 Related: odoo/odoo#126719 Signed-off-by: Romain Derie (rde) <rde@odoo.com> Co-authored-by: Benoit Socias <bso@odoo.com> Co-authored-by: Arthur Detroux (ard) <ard@odoo.com>
41 lines
1.5 KiB
Python
41 lines
1.5 KiB
Python
{
|
|
'name': 'Graphene Theme',
|
|
'description': 'Light colours, thin text, clean and sharp design.',
|
|
'category': 'Theme/Corporate',
|
|
'summary': 'Service, Corporate, Design, Technology, Robotics, Computers, IT, Blogs',
|
|
'sequence': 110,
|
|
'version': '2.0.0',
|
|
'data': [
|
|
'data/ir_asset.xml',
|
|
'views/images_library.xml',
|
|
'views/customizations.xml',
|
|
'views/new_page_template.xml',
|
|
],
|
|
'images': [
|
|
'static/description/graphene_poster.jpg',
|
|
'static/description/graphene_screenshot.jpg',
|
|
],
|
|
'images_preview_theme': {
|
|
'website.s_cover_default_image': '/theme_graphene/static/src/img/pictures/bg_image_08.jpg',
|
|
'website.s_text_image_default_image': '/theme_graphene/static/src/img/pictures/content_02.jpg',
|
|
'website.s_parallax_default_image': '/theme_graphene/static/src/img/pictures/content_12.jpg',
|
|
'website.s_picture_default_image': '/theme_graphene/static/src/img/pictures/content_04.jpg',
|
|
},
|
|
'configurator_snippets': {
|
|
'homepage': ['s_cover', 's_text_image', 's_numbers', 's_picture', 's_comparisons'],
|
|
},
|
|
'new_page_templates': {
|
|
'about': {
|
|
'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],
|
|
},
|
|
},
|
|
'depends': ['theme_common'],
|
|
'license': 'LGPL-3',
|
|
'live_test_url': 'https://theme-graphene.odoo.com',
|
|
'assets': {
|
|
'website.assets_editor': [
|
|
'theme_graphene/static/src/js/tour.js',
|
|
],
|
|
}
|
|
}
|