update car list with images
This commit is contained in:
parent
55a7ec1158
commit
190efbe72e
Binary file not shown.
BIN
static/.DS_Store
vendored
BIN
static/.DS_Store
vendored
Binary file not shown.
BIN
static/images/.DS_Store
vendored
BIN
static/images/.DS_Store
vendored
Binary file not shown.
BIN
static/images/cars/2G1F93D33C9198388.png
Normal file
BIN
static/images/cars/2G1F93D33C9198388.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
BIN
static/images/cars/3GCNY9EF5LG275234.png
Normal file
BIN
static/images/cars/3GCNY9EF5LG275234.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
BIN
static/images/cars/5LMCJ2D93NUL03460.png
Normal file
BIN
static/images/cars/5LMCJ2D93NUL03460.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
BIN
static/images/cars/JN8AY2NY9E9073687.png
Normal file
BIN
static/images/cars/JN8AY2NY9E9073687.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load i18n custom_filters humanize %}
|
{% load static i18n custom_filters humanize %}
|
||||||
{%block title%} {%trans 'Stocks'%} {%endblock%}
|
{%block title%} {%trans 'Stocks'%} {%endblock%}
|
||||||
{% block customCSS %}
|
{% block customCSS %}
|
||||||
<style>
|
<style>
|
||||||
@ -196,6 +196,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="align-middle white-space-nowrap ps-1">
|
<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>
|
<a class="fw-bold" href="{% url 'car_detail' car.slug %}">{{ car.vin }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="align-middle white-space-nowrap">
|
<td class="align-middle white-space-nowrap">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user