#5 Added ability to get a quick overview of all of the product stats on one page.
This commit is contained in:
17
templates/stats.html
Normal file
17
templates/stats.html
Normal file
@ -0,0 +1,17 @@
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/products.css') }}">
|
||||
|
||||
<div class="product-container">
|
||||
{% if data != None %}
|
||||
{% for stat in data %}
|
||||
<a href="/stats/product/{{stat.productID}}" class="product product-link">
|
||||
<div class="product-title">{{stat.userID}}</div>
|
||||
<div class="product-content-container">
|
||||
<div class="product-details">
|
||||
<div class="product-price">£{{stat.productID}}</div>
|
||||
<div class="product-description hide-overflow ">{{stat.viewDate}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
Reference in New Issue
Block a user