diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-02-24 13:13:12 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-02-24 13:47:36 +0100 |
| commit | 6610d05549e347fbb548e606fa66cfb113df9e67 (patch) | |
| tree | fc750ca544b5caa135791c0eaeb10dfee17eefa3 /addons/website/static/src/xml/website.gallery.xml | |
| parent | 58c5ff1d4f64f16d43106e6b00f0b94fe63506c2 (diff) | |
[REF] web_editor,website,mass_mailing: JS/XML update
* Adapt DOM selectors
* Refactore dialog XMLs to have odoo styling
* New editor options (background-position, ...)
* Various improvements
Diffstat (limited to 'addons/website/static/src/xml/website.gallery.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.gallery.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/website/static/src/xml/website.gallery.xml b/addons/website/static/src/xml/website.gallery.xml index 36a81cd9bf5..2e879f0f7d5 100644 --- a/addons/website/static/src/xml/website.gallery.xml +++ b/addons/website/static/src/xml/website.gallery.xml @@ -10,7 +10,7 @@ --> <t t-name="website.gallery.dialog.upload"> - <div class="modal website_modal fade" > + <div class="modal o_website_modal fade" > <div class="modal-dialog" style="max-width: 50%;"> <div class="modal-content"> <div class="modal-header"> @@ -69,9 +69,9 @@ <a class="carousel-control right" t-attf-href="##{id}" data-slide="next"><span class="fa fa-chevron-right" /></a> </div> <!-- carousel-id --> <script type="text/javascript"> - (function() { + (function () { $(".slideshow").css("height", Math.round(window.innerHeight*0.7)); - $(window).on("resize", function() { $(".slideshow").css("height", Math.round(window.innerHeight*0.7)); }); + $(window).on("resize", function () { $(".slideshow").css("height", Math.round(window.innerHeight*0.7)); }); })(); </script> </t> @@ -88,7 +88,7 @@ --> <t t-name="website.gallery.slideshow.lightbox"> - <div class="modal website_modal fade" aria-labbelledby="Image Gallery Dialog" aria-hidden="true"> + <div class="modal o_website_modal fade" aria-labbelledby="Image Gallery Dialog" aria-hidden="true"> <div class="modal-dialog modal-lg" role="Picture Gallery" t-attf-style="min-width: #{dim.min_width}px ; min-height: #{dim.min_height}px ; max-width: #{dim.max_width}px ; max-height: #{dim.max_height}px ; height: #{dim.height}px ;"> |
