From 46066fda9ca37ff20a3cfeabc783443a51eff5a3 Mon Sep 17 00:00:00 2001 From: gzbender Date: Thu, 30 May 2019 16:59:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D0=B0=D0=BF=20=D0=B2=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D1=86=D0=B5=20=D0=B2=D0=B8=D0=B4=D0=B5=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/school/livelesson_detail.html | 22 +++++------ .../blocks/popup_school_lesson_ended.html | 15 ++----- web/src/js/app.js | 1 - web/src/js/modules/content.js | 39 +++++++++++++++++++ web/src/js/pages/live-lesson.js | 1 + web/src/js/utils.js | 13 +++++-- web/src/sass/_common.sass | 12 ++++++ web/webpack.config.js | 1 + 8 files changed, 77 insertions(+), 27 deletions(-) create mode 100644 web/src/js/modules/content.js create mode 100644 web/src/js/pages/live-lesson.js diff --git a/apps/school/templates/school/livelesson_detail.html b/apps/school/templates/school/livelesson_detail.html index d7a8dcdb..555cb6ef 100644 --- a/apps/school/templates/school/livelesson_detail.html +++ b/apps/school/templates/school/livelesson_detail.html @@ -17,11 +17,12 @@ {% block head %} {% if livelesson.stream_index %} - + {% endif %} {% endblock head %} {% block content %} +{% include 'templates/blocks/popup_school_lesson_ended.html' %}
@@ -33,10 +34,6 @@ width="720" height="400" webkitallowfullscreen mozallowfullscreen allowfullscreen> - - {% include 'templates/blocks/popup_school_lesson_ended.html' %} Если видео не загрузилось, - уменьшите качество видео или обновите страницу @@ -64,9 +61,11 @@ {% endblock content %} {% block foot %} - + + {% if livelesson.stream_index %} {% endif %} {% endblock foot %} diff --git a/project/templates/blocks/popup_school_lesson_ended.html b/project/templates/blocks/popup_school_lesson_ended.html index 12404388..65e901de 100644 --- a/project/templates/blocks/popup_school_lesson_ended.html +++ b/project/templates/blocks/popup_school_lesson_ended.html @@ -1,15 +1,6 @@ {% load static %} -