diff --git a/README.md b/README.md index 7408977cda..e01fed8a35 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ addon | version | maintainers | summary [website_form_require_legal](website_form_require_legal/) | 19.0.1.0.1 | | Add possibility to require confirm legal terms. [website_forum_subscription](website_forum_subscription/) | 19.0.1.0.0 | | Adds a button to allow subscription from the website [website_google_tag_manager](website_google_tag_manager/) | 19.0.1.0.0 | | Add support for Google Tag Manager +[website_snippet_big_button](website_snippet_big_button/) | 19.0.1.0.0 | | A snippet that adds two big buttons [website_snippet_marginless_gallery](website_snippet_marginless_gallery/) | 19.0.1.0.0 | | Add a snippet to have a marginless image gallery [//]: # (end addons) diff --git a/setup/_metapackage/pyproject.toml b/setup/_metapackage/pyproject.toml index e7861730ad..02081d7fd4 100644 --- a/setup/_metapackage/pyproject.toml +++ b/setup/_metapackage/pyproject.toml @@ -1,11 +1,12 @@ [project] name = "odoo-addons-oca-website" -version = "19.0.20260810.0" +version = "19.0.20260811.0" dependencies = [ "odoo-addon-website_cookiefirst==19.0.*", "odoo-addon-website_form_require_legal==19.0.*", "odoo-addon-website_forum_subscription==19.0.*", "odoo-addon-website_google_tag_manager==19.0.*", + "odoo-addon-website_snippet_big_button==19.0.*", "odoo-addon-website_snippet_marginless_gallery==19.0.*", ] classifiers=[ diff --git a/website_snippet_big_button/README.rst b/website_snippet_big_button/README.rst new file mode 100644 index 0000000000..8247b7220b --- /dev/null +++ b/website_snippet_big_button/README.rst @@ -0,0 +1,99 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +=================== +Big Buttons Snippet +=================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:41dfb92b8ca151f59944a8c355c5827198848cb08d5ff6fc2ace4673d00a4a43 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github + :target: https://github.com/OCA/website/tree/19.0/website_snippet_big_button + :alt: OCA/website +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/website-19-0/website-19-0-website_snippet_big_button + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module was written to extend the functionality of website to +support inserting a block with a "like" and "not like" button and allow +you to customize their links, to provide a better UX for your visitors. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +- Edit any website page. +- Open **Blocks** and locate **Big Buttons** in the **Content** + category. +- Click **Big Buttons** to add it to the page. +- Click anywhere on a button to edit its link. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Grupo ESOC Ingeniería de Servicios +* S.L.U. +* Tecnativa + +Contributors +------------ + +- `Tecnativa `__: + + - Jairo Llopis + - Cristina Martin R. + - Pilar Vargas + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/website `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/website_snippet_big_button/__init__.py b/website_snippet_big_button/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/website_snippet_big_button/__manifest__.py b/website_snippet_big_button/__manifest__.py new file mode 100644 index 0000000000..2c0fae8412 --- /dev/null +++ b/website_snippet_big_button/__manifest__.py @@ -0,0 +1,24 @@ +# Copyright 2015-2016 Tecnativa - Jairo Llopis +# Copyright 2019 Tecnativa - Cristina Martin R. +# Copyright 2022 Tecnativa - Guillermo Gallego +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). +{ + "name": "Big Buttons Snippet", + "summary": "A snippet that adds two big buttons", + "version": "19.0.1.0.0", + "category": "Website", + "website": "https://github.com/OCA/website", + "author": "Grupo ESOC Ingeniería de Servicios, S.L.U., " + "Tecnativa, " + "Odoo Community Association (OCA)", + "license": "LGPL-3", + "application": False, + "installable": True, + "depends": ["website"], + "data": ["templates/snippets.xml"], + "assets": { + "web.assets_frontend": [ + "/website_snippet_big_button/static/src/scss/website_snippet_big_button.scss" + ] + }, +} diff --git a/website_snippet_big_button/i18n/ca.po b/website_snippet_big_button/i18n/ca.po new file mode 100644 index 0000000000..476db26d16 --- /dev/null +++ b/website_snippet_big_button/i18n/ca.po @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_snippet_big_button +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-02-17 18:45+0000\n" +"Last-Translator: claudiagn \n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want another thing\n" +" \n" +" Continue searching" +msgstr "" +"Vull una altra cosa\n" +" \n" +" Segueix buscant" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want this\n" +" \n" +" Request budget" +msgstr "" +"Vull això\n" +" \n" +" Sol·licita pressupost" diff --git a/website_snippet_big_button/i18n/es.po b/website_snippet_big_button/i18n/es.po new file mode 100644 index 0000000000..542ed7b236 --- /dev/null +++ b/website_snippet_big_button/i18n/es.po @@ -0,0 +1,59 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_snippet_big_button +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-24 04:17+0000\n" +"PO-Revision-Date: 2020-10-06 17:16+0000\n" +"Last-Translator: claudiagn \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want another thing\n" +" \n" +" Continue searching" +msgstr "" +"Quiero otra cosa\n" +" \n" +" Sigue buscando" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want this\n" +" \n" +" Request budget" +msgstr "" +"Quiero esto\n" +" \n" +" Solicita presupuesto" + +#~ msgid "Continue searching" +#~ msgstr "Seguir buscando" + +#~ msgid "I want another thing" +#~ msgstr "Quiero otra cosa" + +#~ msgid "I want this" +#~ msgstr "Quiero esto" + +#~ msgid "Request budget" +#~ msgstr "Solicitar presupuesto" diff --git a/website_snippet_big_button/i18n/fr.po b/website_snippet_big_button/i18n/fr.po new file mode 100644 index 0000000000..ca3ffca049 --- /dev/null +++ b/website_snippet_big_button/i18n/fr.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_snippet_big_button +# +# Translators: +# Pascal ZIMMERMANN , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-25 04:21+0000\n" +"PO-Revision-Date: 2021-06-21 13:16+0000\n" +"Last-Translator: Yann Papouin \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want another thing\n" +" \n" +" Continue searching" +msgstr "" +"Je veux une autre chose\n" +" \n" +" Continuer de chercher" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want this\n" +" \n" +" Request budget" +msgstr "" +"Je veux cela\n" +" \n" +" Budget demandé" + +#~ msgid "Continue searching" +#~ msgstr "Continuer la recherche" + +#~ msgid "I want another thing" +#~ msgstr "Je veux autre chose" diff --git a/website_snippet_big_button/i18n/hr.po b/website_snippet_big_button/i18n/hr.po new file mode 100644 index 0000000000..118dfefab6 --- /dev/null +++ b/website_snippet_big_button/i18n/hr.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_snippet_big_button +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-11-13 18:34+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 3.8\n" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want another thing\n" +" \n" +" Continue searching" +msgstr "" +"Trebam još nešto\n" +" \n" +" Nastavi pretragu" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want this\n" +" \n" +" Request budget" +msgstr "" diff --git a/website_snippet_big_button/i18n/it.po b/website_snippet_big_button/i18n/it.po new file mode 100644 index 0000000000..9dedb6a258 --- /dev/null +++ b/website_snippet_big_button/i18n/it.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_snippet_big_button +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-14 15:36+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want another thing\n" +" \n" +" Continue searching" +msgstr "" +"Cerco un'altra cosa\n" +" \n" +" Continuare la " +"ricerca" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want this\n" +" \n" +" Request budget" +msgstr "" +"Cerco questo\n" +" " +"\n" +" Richiesta budget" diff --git a/website_snippet_big_button/i18n/pt_BR.po b/website_snippet_big_button/i18n/pt_BR.po new file mode 100644 index 0000000000..f24c532cfb --- /dev/null +++ b/website_snippet_big_button/i18n/pt_BR.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_snippet_big_button +# +# Translators: +# Armando Vulcano Junior , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-10-13 00:48+0000\n" +"PO-Revision-Date: 2019-09-02 21:23+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.8\n" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want another thing\n" +" \n" +" Continue searching" +msgstr "" +"Quero outra coisa\n" +" \n" +" Continue pesquisando" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want this\n" +" \n" +" Request budget" +msgstr "" +"Quero isto\n" +" \n" +" Solicitar orçamento" + +#~ msgid "Continue searching" +#~ msgstr "Continue procurando" + +#~ msgid "I want another thing" +#~ msgstr "Eu quero outra coisa" + +#~ msgid "I want this" +#~ msgstr "Eu quero isso" + +#~ msgid "Request budget" +#~ msgstr "Solicitar orçamento" diff --git a/website_snippet_big_button/i18n/sl.po b/website_snippet_big_button/i18n/sl.po new file mode 100644 index 0000000000..d2177f4290 --- /dev/null +++ b/website_snippet_big_button/i18n/sl.po @@ -0,0 +1,59 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_snippet_big_button +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-24 04:17+0000\n" +"PO-Revision-Date: 2020-03-30 22:13+0000\n" +"Last-Translator: Matjaz Mozetic \n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 3.10\n" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want another thing\n" +" \n" +" Continue searching" +msgstr "" +"želim še nekaj\n" +" \n" +" Išči dalje" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want this\n" +" \n" +" Request budget" +msgstr "" +"To želim\n" +" \n" +" Zahtevaj proračun" + +#~ msgid "Continue searching" +#~ msgstr "Nadaljuj z iskanjem" + +#~ msgid "I want another thing" +#~ msgstr "Želim nekaj drugega" + +#~ msgid "I want this" +#~ msgstr "Želim to" + +#~ msgid "Request budget" +#~ msgstr "Zahtevaj proračun" diff --git a/website_snippet_big_button/i18n/website_snippet_big_button.pot b/website_snippet_big_button/i18n/website_snippet_big_button.pot new file mode 100644 index 0000000000..0525a348b4 --- /dev/null +++ b/website_snippet_big_button/i18n/website_snippet_big_button.pot @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_snippet_big_button +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 19.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want another thing\n" +" \n" +" Continue searching" +msgstr "" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button +msgid "" +"I want this\n" +" \n" +" Request budget" +msgstr "" + +#. module: website_snippet_big_button +#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.snippets +msgid "Big Buttons" +msgstr "" diff --git a/website_snippet_big_button/pyproject.toml b/website_snippet_big_button/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/website_snippet_big_button/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/website_snippet_big_button/readme/CONTRIBUTORS.md b/website_snippet_big_button/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..c09d565ada --- /dev/null +++ b/website_snippet_big_button/readme/CONTRIBUTORS.md @@ -0,0 +1,4 @@ +- [Tecnativa](https://www.tecnativa.com): + - Jairo Llopis + - Cristina Martin R. + - Pilar Vargas diff --git a/website_snippet_big_button/readme/DESCRIPTION.md b/website_snippet_big_button/readme/DESCRIPTION.md new file mode 100644 index 0000000000..880bfff7b5 --- /dev/null +++ b/website_snippet_big_button/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This module was written to extend the functionality of website to +support inserting a block with a "like" and "not like" button and allow +you to customize their links, to provide a better UX for your visitors. diff --git a/website_snippet_big_button/readme/USAGE.md b/website_snippet_big_button/readme/USAGE.md new file mode 100644 index 0000000000..dff15ff8cc --- /dev/null +++ b/website_snippet_big_button/readme/USAGE.md @@ -0,0 +1,6 @@ +To use this module, you need to: + +- Edit any website page. +- Open **Blocks** and locate **Big Buttons** in the **Content** category. +- Click **Big Buttons** to add it to the page. +- Click anywhere on a button to edit its link. \ No newline at end of file diff --git a/website_snippet_big_button/static/description/icon.png b/website_snippet_big_button/static/description/icon.png new file mode 100644 index 0000000000..1291ca45bb Binary files /dev/null and b/website_snippet_big_button/static/description/icon.png differ diff --git a/website_snippet_big_button/static/description/icon.svg b/website_snippet_big_button/static/description/icon.svg new file mode 100644 index 0000000000..494fe4e084 --- /dev/null +++ b/website_snippet_big_button/static/description/icon.svg @@ -0,0 +1,101 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/website_snippet_big_button/static/description/index.html b/website_snippet_big_button/static/description/index.html new file mode 100644 index 0000000000..28d6b32fa8 --- /dev/null +++ b/website_snippet_big_button/static/description/index.html @@ -0,0 +1,450 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Big Buttons Snippet

+ +

Beta License: LGPL-3 OCA/website Translate me on Weblate Try me on Runboat

+

This module was written to extend the functionality of website to +support inserting a block with a “like” and “not like” button and allow +you to customize their links, to provide a better UX for your visitors.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  • Edit any website page.
  • +
  • Open Blocks and locate Big Buttons in the Content +category.
  • +
  • Click Big Buttons to add it to the page.
  • +
  • Click anywhere on a button to edit its link.
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Grupo ESOC Ingeniería de Servicios
  • +
  • S.L.U.
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+
    +
  • Tecnativa:
      +
    • Jairo Llopis
    • +
    • Cristina Martin R.
    • +
    • Pilar Vargas
    • +
    +
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/website project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+
+ + diff --git a/website_snippet_big_button/static/src/scss/website_snippet_big_button.scss b/website_snippet_big_button/static/src/scss/website_snippet_big_button.scss new file mode 100644 index 0000000000..ae6bc66ccd --- /dev/null +++ b/website_snippet_big_button/static/src/scss/website_snippet_big_button.scss @@ -0,0 +1,21 @@ +// Copyright 2015-2019 Jairo Llopis +// Copyright 2019 Tecnativa - Cristina Martin R. +// License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). + +.big-buttons { + .btn { + white-space: normal; + } + + a { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: space-around; + + > .d-block { + white-space: normal; + } + } +} diff --git a/website_snippet_big_button/templates/snippets.xml b/website_snippet_big_button/templates/snippets.xml new file mode 100644 index 0000000000..37fd86714b --- /dev/null +++ b/website_snippet_big_button/templates/snippets.xml @@ -0,0 +1,38 @@ + + + + + +