diff options
| author | Laurent Stukkens (LTU) <ltu@odoo.com> | 2020-07-17 11:00:27 +0000 |
|---|---|---|
| committer | Laurent Stukkens (LTU) <ltu@odoo.com> | 2020-08-18 17:40:21 +0000 |
| commit | 8b6985eeed0a15ec673d96299b3ed331c684e62d (patch) | |
| tree | 19f3fa335d47831b09e8251ee406b17f23347b9c /addons/website/static/src/xml/website.gallery.xml | |
| parent | 8fb2ac4e6518842ac2a9f85b7710953c0089b8e3 (diff) | |
[MOV] website: move JS Qweb templates to snippets directory
* Prior to this commit, Snippets XML Qweb templates files were located
under website/static/src/xml/.
* After this commit, Snippets XML Qweb templates files will be named
AAA.xml (with AAA being the revision number) and located under the
related Snippet directory '/website/static/src/snippets/SNIPPET_DIRECTORY/'
task-2276740
PR #53175
Diffstat (limited to 'addons/website/static/src/xml/website.gallery.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.gallery.xml | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/addons/website/static/src/xml/website.gallery.xml b/addons/website/static/src/xml/website.gallery.xml deleted file mode 100644 index c2fbf19762f..00000000000 --- a/addons/website/static/src/xml/website.gallery.xml +++ /dev/null @@ -1,68 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<templates xml:space="preserve"> - <!-- - ======================================================================== - Gallery Slideshow - - This template is used to display a slideshow of images inside a - bootstrap carousel. - - ======================================================================== - --> - <t t-name="website.gallery.slideshow"> - <div t-attf-id="#{id}" class="carousel slide" data-ride="carousel" t-attf-data-interval="#{interval}" style="margin: 0 12px;"> - <div class="carousel-inner" style="padding: 0;"> - <t t-foreach="images" t-as="image"> - <div t-attf-class="carousel-item #{image_index == index and 'active' or None}"> - <img t-attf-class="#{attrClass || 'img img-fluid d-block'}" t-att-src="image.src" t-att-style="attrStyle" t-att-alt="image.alt" data-name="Image"/> - </div> - </t> - </div> - - <ul class="carousel-indicators"> - <li class="o_indicators_left text-center d-none" aria-label="Previous" title="Previous"> - <i class="fa fa-chevron-left"/> - </li> - <t t-foreach="images" t-as="image"> - <li t-attf-data-target="##{id}" t-att-data-slide-to="image_index" t-att-class="image_index == index and 'active' or None" t-attf-style="background-image: url(#{image.src})"></li> - </t> - <li class="o_indicators_right text-center d-none" aria-label="Next" title="Next"> - <i class="fa fa-chevron-right"/> - </li> - </ul> - - <a class="carousel-control-prev" t-attf-href="##{id}" data-slide="prev" aria-label="Previous" title="Previous"> - <span class="fa fa-chevron-left fa-2x text-white"></span> - <span class="sr-only">Previous</span> - </a> - <a class="carousel-control-next" t-attf-href="##{id}" data-slide="next" aria-label="Next" title="Next"> - <span class="fa fa-chevron-right fa-2x text-white"></span> - <span class="sr-only">Next</span> - </a> - </div> - </t> - - <!-- - ======================================================================== - Gallery Slideshow LightBox - - This template is used to display a lightbox with a slideshow. - - This template wraps website.gallery.slideshow in a bootstrap modal - dialog. - ======================================================================== - --> - <t t-name="website.gallery.slideshow.lightbox"> - <div role="dialog" class="modal o_technical_modal fade s_gallery_lightbox p-0" aria-labbelledby="Image Gallery Dialog"> - <div class="modal-dialog m-0" role="Picture Gallery" - t-attf-style=""> - <div class="modal-content bg-transparent"> - <main class="modal-body o_slideshow bg-transparent"> - <button type="button" class="close text-white" data-dismiss="modal" style="position: absolute; right: 10px; top: 10px;"><span role="img" aria-label="Close">&times;</span><span class="sr-only">Close</span></button> - <t t-call="website.gallery.slideshow"></t> - </main> - </div> - </div> - </div> - </t> -</templates> |
