-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (81 loc) · 4.22 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{% extends 'base.html' %}
<!-- Title Page -->
<!-- <section class="bg-title-page p-t-50 p-b-40 flex-col-c-m" style="background-image: url(images/heading-pages-02.jpg);">
<h2 class="l-text2 t-center">
Women
</h2>
<p class="m-text13 t-center">
New Arrivals Women Collection 2018
</p>
</section> -->
{% block title %}
Home
{% endblock %}
<!-- Content page -->
{% block section %}
<section class="bgwhite p-t-55 p-b-65">
<div class="container">
{% if 'No' in all_goods %}
<b>{{ all_goods }}</b>
{% else %}
<div class="row">
<div class="col-sm-6 col-md-8 col-lg-9 p-b-50">
<!-- -->
<!-- Product -->
<div class="row">
{% for goods in all_goods %}
<div class="col-sm-12 col-md-6 col-lg-4 p-b-50">
<!-- Block2 -->
<div class="block2">
<div class="block2-img wrap-pic-w of-hidden pos-relative block2-labelnew">
<img src="{{ url_for('static', filename='img/'+goods.image) }}"
alt="IMG-PRODUCT">
<div class="block2-overlay trans-0-4">
<a href="#" class="block2-btn-addwishlist hov-pointer trans-0-4">
<i class="icon-wishlist icon_heart_alt" aria-hidden="true"></i>
<i class="icon-wishlist icon_heart dis-none" aria-hidden="true"></i>
</a>
<div class="block2-btn-addcart w-size1 trans-0-4" id="{{ goods.id }}">
<!-- Button -->
<button class="flex-c-m size1 bg4 bo-rad-23 hov1 s-text1 trans-0-4">
Add to Cart
</button>
</div>
</div>
</div>
<div class="block2-txt p-t-20">
<a href="#" class="block2-name dis-block s-text3 p-b-5">
{{ goods.name }}
</a>
<span class="block2-price m-text6 p-r-5">
{{ goods.quantity }} Items left
${{ goods.price }}.00
</span>
</div>
</div>
</div>
{% endfor %}
</div>
<!-- Pagination -->
<div class="pagination flex-m flex-w p-t-26">
<a href="#" class="#">view all</a>
</div>
</div>
{% endif %}
</div>
</div>
</section>
{% endblock %}
{% block js %}
<script type="text/javascript"
src="{{ url_for('static', filename='vendor/daterangepicker/moment.min.js') }}"></script>
<script type="text/javascript"
src="{{ url_for('static', filename='vendor/daterangepicker/daterangepicker.js') }}"></script>
<!--===============================================================================================-->
<script type="text/javascript" src="{{ url_for('static', filename='vendor/slick/slick.min.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static', filename='js/slick-custom.js') }}"></script>
<!--===============================================================================================-->
<script type="text/javascript"
src="{{ url_for('static', filename='vendor/sweetalert/sweetalert.min.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static', filename='js/add.js') }}"> </script>
{% endblock %}