Usability improvements

remotes/origin/hasaccess
nikita 8 years ago
parent ea9558957c
commit 0355cebbe8
  1. 4
      apps/school/templates/school/livelesson_detail.html
  2. 6
      project/templates/lilcity/edit_index.html

@ -13,13 +13,13 @@
<iframe class="lesson__video_frame" src="https://player.vimeo.com/video/{{ livelesson.stream_index }}" frameborder="0" webkitallowfullscreen
mozallowfullscreen allowfullscreen>
</iframe>
<a href="#" class="center center_sm" onclick="location.reload();">Если видео не загрузилось обновите страницу</a>
<a href="#" onclick="location.reload();">Если видео не загрузилось обновите страницу</a>
<iframe class="lesson__chat_frame" src="https://vimeo.com/live-chat/{{ livelesson.stream_index }}" frameborder="0"></iframe>
{% else %}
{% if livelesson.cover %}
<img class="video__pic" src="{{ livelesson.cover.image.url }}"/>
{% else %}
{% endif %}
{% endif %}
</a>

@ -53,7 +53,11 @@
<use xlink:href="{% static 'img/sprite.svg' %}#icon-eye"></use>
</svg>
</button>
<button id="course-redactor__publish-button" class="header__btn btn" disabled>ОПУБЛИКОВАТЬ</button>
{% if live == 'true' %}
<button id="course-redactor__publish-button" class="header__btn btn" disabled>Сохранить</button>
{% else %}
<button id="course-redactor__publish-button" class="header__btn btn" disabled>На модерацию</button>
{% endif %}
</div>
{% include 'templates/blocks/user_menu.html' %}
</div>

Loading…
Cancel
Save