Added sets.csv download, added missing minifig image error, added auto download of nil and nil_mf images, started proper fix for error in set numbers

This commit is contained in:
2024-04-24 20:24:04 +02:00
parent f87332a7f8
commit 525169ef77
4 changed files with 72 additions and 30 deletions

View File

@@ -68,7 +68,11 @@
<div style="display: flex; justify-content: center;">
<div style="display: flex; align-items: center;">
{% if fig[4] == None %}
<img src="/static/nil_mf.jpg" class="lightbox-trigger" style="height: 100px; width: auto;" alt="{{ fig[2] }}" loading="lazy">
{% else %}
<img src="{{ '/static/minifigs/' + fig[0] + '.jpg' }}" class="lightbox-trigger" style="height: 100px; width: auto;" alt="{{ fig[2] }}" loading="lazy">
{% endif %}
<span style="font-size: 50px; margin-left: 10px;">X {{ fig[3] }}</span>
</div>
</div>