make client images inactive, i.m. without any links

remotes/origin/ESHOP_deployment
FUNNYDMAN 7 years ago
parent b073155efc
commit 7904795a30
  1. 2
      asserts/css/main.css
  2. 7
      asserts/js/common.js
  3. BIN
      media/clients/veeam/veeam.png
  4. BIN
      media/clients/veeam/veeam_zxeSgFU.png
  5. 4
      templates/index/index.html

@ -6247,7 +6247,7 @@ body input:focus:required:invalid, body textarea:focus:required:invalid {
margin: 10px margin: 10px
} }
.content .certificate__item { .content .certificate {
outline: 0 outline: 0
} }

@ -49,13 +49,6 @@
}); });
// Magnific popup
$('.certificate__item').magnificPopup({
type: 'image'
// other options
});
// звезды // звезды
var stars = $('.stars'); var stars = $('.stars');
stars.barrating({ stars.barrating({

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

@ -63,13 +63,13 @@
<ul class="clients__list"> <ul class="clients__list">
{% for client in clients %} {% for client in clients %}
<li> <li>
<a href="{% if client.image %} {{ client.image.url }}{% endif %}" class="certificate__item"> <div class="certificate">
{% if client.preview %} {% if client.preview %}
<img src="{{ client.preview.url }}" alt="{{ client.name }}"> <img src="{{ client.preview.url }}" alt="{{ client.name }}">
{% else %} {% else %}
<h3>{{ client.name }}</h3> <h3>{{ client.name }}</h3>
{% endif %} {% endif %}
</a> </div>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>

Loading…
Cancel
Save