forked from divanov11/ecom_steps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% extends 'store/main.html' %} | ||
{% load static %} | ||
{% block content %} | ||
<div class="row"> | ||
{% for product in products %} | ||
<div class="col-lg-4"> | ||
<img class="thumbnail" src="{% static 'images/placeholder.png' %}"> | ||
<div class="box-element product"> | ||
<h6><strong>{{product.name}}</strong></h6> | ||
<hr> | ||
|
||
<button class="btn btn-outline-secondary add-btn">Add to Cart</button> | ||
<a class="btn btn-outline-success" href="#">View</a> | ||
<h4 style="display: inline-block; float: right"><strong>${{product.price}}</strong></h4> | ||
|
||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
{% endblock content %} |