Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF] theme_*: convert default images to WebP format #805

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
26 changes: 13 additions & 13 deletions theme_anelusia/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,21 @@
'views/new_page_template.xml',
],
'images': [
'static/description/anelusia_description.jpg',
'static/description/anelusia_screenshot.jpg',
'static/description/anelusia_description.webp',
'static/description/anelusia_screenshot.webp',
],
'images_preview_theme': {
'website.library_image_10': '/theme_anelusia/static/src/img/snippets/library_image_03.jpg',
'website.library_image_05': '/theme_anelusia/static/src/img/snippets/library_image_13.jpg',
'website.library_image_08': '/theme_anelusia/static/src/img/snippets/library_image_14.jpg',
'website.library_image_13': '/theme_anelusia/static/src/img/snippets/library_image_10.jpg',
'website.library_image_03': '/theme_anelusia/static/src/img/snippets/library_image_05.jpg',
'website.library_image_02': '/theme_anelusia/static/src/img/snippets/library_image_16.jpg',
'website.s_cover_default_image': '/theme_anelusia/static/src/img/snippets/s_cover.jpg',
'website.s_media_list_default_image_1': '/theme_anelusia/static/src/img/snippets/s_media_list_1.jpg',
'website.s_image_text_default_image': '/theme_anelusia/static/src/img/snippets/s_image_text.jpg',
'website.s_media_list_default_image_2': '/theme_anelusia/static/src/img/snippets/s_media_list_2.jpg',
'website.s_text_image_default_image': '/theme_anelusia/static/src/img/snippets/s_text_image.jpg',
'website.library_image_10': '/theme_anelusia/static/src/img/snippets/library_image_03.webp',
'website.library_image_05': '/theme_anelusia/static/src/img/snippets/library_image_13.webp',
'website.library_image_08': '/theme_anelusia/static/src/img/snippets/library_image_14.webp',
'website.library_image_13': '/theme_anelusia/static/src/img/snippets/library_image_10.webp',
'website.library_image_03': '/theme_anelusia/static/src/img/snippets/library_image_05.webp',
'website.library_image_02': '/theme_anelusia/static/src/img/snippets/library_image_16.webp',
'website.s_cover_default_image': '/theme_anelusia/static/src/img/snippets/s_cover.webp',
'website.s_media_list_default_image_1': '/theme_anelusia/static/src/img/snippets/s_media_list_1.webp',
'website.s_image_text_default_image': '/theme_anelusia/static/src/img/snippets/s_image_text.webp',
'website.s_media_list_default_image_2': '/theme_anelusia/static/src/img/snippets/s_media_list_2.webp',
'website.s_text_image_default_image': '/theme_anelusia/static/src/img/snippets/s_text_image.webp',
},
'configurator_snippets': {
'homepage': ['s_text_cover', 's_images_wall', 's_color_blocks_2', 's_references', 's_media_list','s_key_images', 's_call_to_action'],
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/s_banner.jpg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/s_cover.jpg
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/s_picture.jpg
Diff not rendered.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/s_popup.jpg
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/uiface_1.jpg
Diff not rendered.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/uiface_2.jpg
Diff not rendered.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/uiface_3.jpg
Diff not rendered.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/uiface_4.jpg
Diff not rendered.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/uiface_5.jpg
Diff not rendered.
Binary file not shown.
Binary file removed theme_anelusia/static/src/img/snippets/uiface_6.jpg
Diff not rendered.
Binary file not shown.
14 changes: 7 additions & 7 deletions theme_anelusia/views/images_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,37 @@ Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
<record id="image_content_02" model="theme.ir.attachment">
<field name="key">theme_common.image_content_02</field>
<field name="name">theme_common.image_content_02</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_02.jpg</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_02.webp</field>
</record>
<record id="image_content_03" model="theme.ir.attachment">
<field name="key">theme_common.image_content_03</field>
<field name="name">theme_common.image_content_03</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_03.jpg</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_03.webp</field>
</record>
<record id="image_content_07" model="theme.ir.attachment">
<field name="key">theme_common.image_content_07</field>
<field name="name">theme_common.image_content_07</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_07.jpg</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_07.webp</field>
</record>
<record id="image_content_09" model="theme.ir.attachment">
<field name="key">theme_common.image_content_09</field>
<field name="name">theme_common.image_content_09</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_09.jpg</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_09.webp</field>
</record>
<record id="image_content_10" model="theme.ir.attachment">
<field name="key">theme_common.image_content_10</field>
<field name="name">theme_common.image_content_10</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_10.jpg</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_10.webp</field>
</record>
<record id="image_content_11" model="theme.ir.attachment">
<field name="key">theme_common.image_content_11</field>
<field name="name">theme_common.image_content_11</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_11.jpg</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_11.webp</field>
</record>
<record id="image_content_12" model="theme.ir.attachment">
<field name="key">theme_common.image_content_12</field>
<field name="name">theme_common.image_content_12</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_12.jpg</field>
<field name="url">/theme_anelusia/static/src/img/content/content_img_12.webp</field>
</record>

</odoo>
Loading