Première version affichage des vhcs

This commit is contained in:
Ambulance Clerc
2022-11-09 18:07:18 +01:00
parent 0e8f4ab529
commit 5c52baa2cd
11 changed files with 77 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="{% static 'vehicles/style.css' %}">
</head>
<body>
<div class="main_container">
{% for vhc in list_vhc %}
{% with 'vehicles/images/ocvs_rtw_'|add:vhc.nStatus|add:'.png' as image_static %}
<div class="child">
<img width="350px" src="{% static image_static %}" >
{{vhc.sName}}
</div>
{% endwith %}
{% endfor %}
</div>
</body>
</html>