summaryrefslogtreecommitdiff
path: root/addons/website_slides/static/src/xml/slide_quiz.xml
diff options
context:
space:
mode:
authorqmo-odoo <qmo@odoo.com>2019-02-22 09:47:39 +0000
committerjem-odoo <jem@openerp.com>2019-03-12 15:31:40 +0000
commitfd78a40836dad044bfb8c0ab30fcb37fc8ecf9af (patch)
treeb784b1227767b66a0fb041cd85a8d96989ebc8ea /addons/website_slides/static/src/xml/slide_quiz.xml
parentc9f832d9f032b6af51807b387b325b5c2b8aad00 (diff)
[REF] website_slides: revamp fullscreen widget
This commit makes the 'Fullscreen' page a complete odoo widgets. We decided to split it into some sub widget: - Fullscreen: will be the master piece, handle communication of components, displaying slide content, setting slide as completed, handling server RPC calls, .... - Sidebar: responsible for slide navigation, based on the table of content. (prev, next, keyboard naviguation, ...) - VideoPlayer: display content for Youtube video and handling player event to auto set as completed, ... The DOM of this page is still rendered serverside. DOM was cleaned in order to be less complex and less deep. CSS style was also reviewed to decrease line of code. Fullscreen is now completely using Quiz widget with events triggered. Task-1942852
Diffstat (limited to 'addons/website_slides/static/src/xml/slide_quiz.xml')
-rw-r--r--addons/website_slides/static/src/xml/slide_quiz.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_slides/static/src/xml/slide_quiz.xml b/addons/website_slides/static/src/xml/slide_quiz.xml
index f512985a3af..0af500914c5 100644
--- a/addons/website_slides/static/src/xml/slide_quiz.xml
+++ b/addons/website_slides/static/src/xml/slide_quiz.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-name="slide.slide.quiz">
- <div class="o_wslides_fs_quiz_container">
+ <div class="o_wslides_fs_quiz_container h-100 w-100">
<div class="mx-5">
<div t-foreach="widget.quiz.questions" t-as="question"
class="o_wslides_js_lesson_quiz_question mt-3" t-att-data-question-id="question.id" t-att-data-title="question.question">