0.0.157
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% load static %}
|
||||
<div class="container_sections_buttons">
|
||||
<div class="container_sections_buttons{% if main %} main{% else %} not_main{% endif %}">
|
||||
<div class="cut-width sections_btns">
|
||||
<div class="container_content_sections_buttons">
|
||||
{% for section in sections %}
|
||||
|
||||
@@ -5,7 +5,12 @@
|
||||
<div class="one_slide_container{% if forloop.counter0 == 0 %} show{% else %} hide{% endif %}" data-id-slide="{{ forloop.counter }}">
|
||||
<div class="picture_slider_container" {% if slide.bg_color %}style="background: {{ slide.bg_color }}" {% endif %}>
|
||||
{% if slide.picture %}
|
||||
<img class="picture_slider" src="{{ MEDIA_URL }}{{ slide.picture }}" alt="{{ slide.name }}" />
|
||||
<picture>
|
||||
<source media="(min-width:800px)" srcset="{{ MEDIA_URL }}{{ slide.picture }}">
|
||||
<source media="(max-width:800px)" srcset="{% static "images/image_f_800_slider.png" %}">
|
||||
<img class="picture_slider" src="{{ MEDIA_URL }}{{ slide.picture }}" alt="{{ slide.name }}" />
|
||||
</picture>
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if slide.name or slide.description %}
|
||||
|
||||
Reference in New Issue
Block a user