← back to FashionCrawler
fashioncrawler/resources/templates/grailed_subtemplate.html.j2
18 lines
{% for index, row in grailed.iterrows() %}
<div class="data-box" class="centered">
<div class="item-image-box">
<img class="item-image" src="{{ row['Image Link'] }}" alt="Item Image" >
</div>
<div class="divider"></div>
{# maybe use the dataframe colummn names here instead of typing them #}
<div class="item-details-box">
<p id="item-title"><strong>Title: </strong>{{ row['Title'] }}</p>
<p id="item-price"><strong>Price: </strong>{{ row['Price'] }}</p>
<p id="item-designer"><strong>Designer: </strong>{{ row['Designer'] }}</p>
<p id="item-size"><strong>Size: </strong>{{ row['Size'] }}</p>
<p id="item-posted-time"><strong>Posted Time: </strong>{{ row['Posted Time'] }}</p>
<p id="item-listing-link"><strong>Listing Link: </strong><a href="{{ row['Listing Link'] }}">{{ row['Listing Link'] }}</a></p>
</div>
</div>
{% endfor %}