summaryrefslogtreecommitdiff
path: root/addons/website_slides_survey/static
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-02-20 10:16:58 +0000
committerAurélien Warnon <awa@odoo.com>2019-02-21 06:57:05 +0000
commitc2629d114b409077075e2ffdcef3eb908daf6f29 (patch)
treeb548e6f79c20b5af1819e8d619fe5a1d79870d15 /addons/website_slides_survey/static
parent9f969fbcb0bd83e07b63799bee5219b7fd84ca4e (diff)
[FIX] website_slides: add various design and UX fixes
- slidesChannelDropdownSort : dropdown items back to visible (was white on white) - Featured lesson : change icon to bullhorn instead of + icon - Pass certification fullscreen button : btn primary - set max height to fullscreen content to 100% minus header - Fix 'infographic' slide type image view - change image for 'Furniture Technical Specifications' course - fix fullscreen presentation mode: The condition to add the iframe that contains the presentation of the document was wrong and, so, never met. Those conditions are evaluated in javascript and not in python as it's part of t-name template linked to a javascript widget. Commit linked to task ID 1941250 and PR #31279.
Diffstat (limited to 'addons/website_slides_survey/static')
-rw-r--r--addons/website_slides_survey/static/src/scss/website_slides.scss3
-rw-r--r--addons/website_slides_survey/static/src/xml/website_slides_fullscreen.xml2
2 files changed, 1 insertions, 4 deletions
diff --git a/addons/website_slides_survey/static/src/scss/website_slides.scss b/addons/website_slides_survey/static/src/scss/website_slides.scss
index fd1506e345b..3cef87764d8 100644
--- a/addons/website_slides_survey/static/src/scss/website_slides.scss
+++ b/addons/website_slides_survey/static/src/scss/website_slides.scss
@@ -1,10 +1,7 @@
.o_wslides_fullscreen_certification {
- background-color: #f6f6f6;
display: flex;
justify-content: center;
align-items: center;
- width: 400px;
- height: 300px;
position: absolute;
top: 50%;
left: 50%;
diff --git a/addons/website_slides_survey/static/src/xml/website_slides_fullscreen.xml b/addons/website_slides_survey/static/src/xml/website_slides_fullscreen.xml
index f6171db9a13..c56cf727dfc 100644
--- a/addons/website_slides_survey/static/src/xml/website_slides_fullscreen.xml
+++ b/addons/website_slides_survey/static/src/xml/website_slides_fullscreen.xml
@@ -3,7 +3,7 @@
<t t-extend="website.slides.fullscreen">
<t t-jquery=".o_wslides_fullscreen_content" t-operation="append">
<div class="o_wslides_fullscreen_certification" t-if="slide.slide_type == 'certification'">
- <a t-att-href="'/slides/slide/' + slide.slug" target="new">Pass Certification</a>
+ <a class="btn btn-primary" t-att-href="'/slides/slide/' + slide.slug" target="new"><i class="fa fa-trophy"/> Pass Certification</a>
</div>
</t>
</t>