parent
9f68c950ec
commit
bd9612f172
7 changed files with 113 additions and 68 deletions
@ -0,0 +1,18 @@ |
||||
# Generated by Django 2.0.7 on 2018-12-13 15:11 |
||||
|
||||
from django.db import migrations, models |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('config', '0012_auto_20181210_1729'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AddField( |
||||
model_name='config', |
||||
name='MAIN_PAGE_VIDEO_PREVIEW_IMG', |
||||
field=models.ImageField(blank=True, null=True, upload_to=''), |
||||
), |
||||
] |
||||
@ -1,13 +1,10 @@ |
||||
<div class="section section_video"> |
||||
<div class="section__center center center_sm" style="text-align: center;"> |
||||
<iframe class="main-video" style="display: inline-block;" |
||||
width="100%" |
||||
height="360" |
||||
src="{{ config.MAIN_PAGE_VIDEO_URL }}" |
||||
frameborder="0" |
||||
allow="autoplay; encrypted-media" |
||||
allowfullscreen |
||||
></iframe> |
||||
<div class="title">Пробный урок</div> |
||||
<img class="main-video-preview" style="width: 640px; height: 360px;" |
||||
src="{{ config.MAIN_PAGE_VIDEO_PREVIEW_IMG.url }}"/> |
||||
<a href="#" class="btn js-video-modal btn_stroke-black" style="margin: 20px;" |
||||
data-video-url="{{ config.MAIN_PAGE_VIDEO_URL }}" data-trial-lesson="1">Смотреть бесплатно</a> |
||||
<div>Много развивающих видео на нашем <a href="{{ config.SERVICE_YOUTUBE_URL }}">YouTube канале</a></div> |
||||
</div> |
||||
</div> |
||||
|
||||
Loading…
Reference in new issue