Première version affichage des vhcs
This commit is contained in:
26
vehicles/templates/vhc/vhc.html
Normal file
26
vehicles/templates/vhc/vhc.html
Normal 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>
|
Reference in New Issue
Block a user