Sfoglia il codice sorgente

embed card validation

Juan Carlos 5 anni fa
parent
commit
20bcfb88ee

+ 5 - 5
marktplatz/templates/marktplatz/product_detail_card.html

@@ -5,9 +5,9 @@
 {% block script %}
 {% load email_obfuscator %}
 <link href="{% static 'featherlight.min.css' %}" type="text/css" rel="stylesheet" />
-<script src="{% static 'featherlight.min.js' %}" type="text/javascript" charset="utf-8"></script>
+<script src="{% static 'featherlight.min.js' %}" ></script>
 <link href="{% static 'featherlight.gallery.min.css' %}" type="text/css" rel="stylesheet" />
-<script src="{% static 'featherlight.gallery.min.js' %}" type="text/javascript" charset="utf-8"></script>
+<script src="{% static 'featherlight.gallery.min.js' %}" ></script>
 
 <script>
 	$(document).ready(function(){
@@ -66,7 +66,7 @@
 
 				<div class="col-sm-6">
 
-					<h2 class="titlepro" style="margin-top: 7px;color: font-weight: bold">{{ product.name }}
+					<h2 class="titlepro" style="margin-top: 7px; font-weight: bold">{{ product.name }}
 					      <small class="text-muted">{% if product.year %} {{ product.year }}, {% endif %}  {% for country in product.country %} {{ country.name }}, {% endfor %} {% if product.city %} {{ product.city }} {% endif %}</small>
 					</h2>
 
@@ -74,7 +74,7 @@
 
 
 					<div class="image-detail" style="">
-					<img href="{{product.media_set.first.image_big.url}}" align="middle" src="{{product.media_set.first.image_norm.url }}" class="gallery img-fluid img-responsive"  alt="" style="width: 100%;height: auto;vertical-align: middle;">
+					<img href="{{product.media_set.first.image_big.url}}"  src="{{product.media_set.first.image_norm.url }}" class="gallery img-fluid img-responsive"  alt="" style="width: 100%;height: auto;vertical-align: middle;">
 
 					</div>
 
@@ -154,7 +154,7 @@
 </div>
 
 
-<div clas="container">
+<div class="container">
 
 	<div class="row" style="margin-top: 10px">