update car list with images

This commit is contained in:
Marwan Alwali 2025-06-19 20:56:51 +03:00
parent 55a7ec1158
commit 190efbe72e
9 changed files with 4 additions and 1 deletions

BIN
.DS_Store vendored

Binary file not shown.

Binary file not shown.

BIN
static/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load i18n custom_filters humanize %}
{% load static i18n custom_filters humanize %}
{%block title%} {%trans 'Stocks'%} {%endblock%}
{% block customCSS %}
<style>
@ -196,6 +196,9 @@
</div>
</td>
<td class="align-middle white-space-nowrap ps-1">
<div class="avatar avatar-2xl avatar-bordered me-4">
<img class="rounded-circle" src="{% static 'images/cars/'%}{{ car.vin }}.png" alt="{{ car.vin }}" width="50" height="50">
</div>
<a class="fw-bold" href="{% url 'car_detail' car.slug %}">{{ car.vin }}</a>
</td>
<td class="align-middle white-space-nowrap">