modif véhicules
This commit is contained in:
18
vehicles/migrations/0010_alter_vehicles_infos_ntype.py
Normal file
18
vehicles/migrations/0010_alter_vehicles_infos_ntype.py
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 4.0 on 2022-11-10 11:29
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('vehicles', '0009_alter_vehicles_infos_dtend'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='vehicles_infos',
|
||||||
|
name='nType',
|
||||||
|
field=models.CharField(choices=[('1', 'Technique'), ('2', 'Matériel'), ('3', 'Péremption')], default=1, max_length=1, verbose_name='Type'),
|
||||||
|
),
|
||||||
|
]
|
Binary file not shown.
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="child_box" style="height: 70%;">
|
<div class="child_box" style="height: 70%;">
|
||||||
<div style="width: 46%; padding: 2px;height: var(--main-child-container-height);">
|
<div style="width: 48%;height: var(--main-child-container-height);">
|
||||||
<b>Infos techniques</b>
|
<b>Infos techniques</b>
|
||||||
{% for info in vhc.get_all_infos_tech %}
|
{% for info in vhc.get_all_infos_tech %}
|
||||||
<div style="margin-top: 15px">
|
<div style="margin-top: 15px">
|
||||||
@@ -30,10 +30,10 @@
|
|||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 46%;padding: 2px;height: var(--main-child-container-height);">
|
<div style="width: 48%;height: var(--main-child-container-height);">
|
||||||
<b>Matériels manquants</b>
|
<b>Matériels manquants</b>
|
||||||
{% for info in vhc.get_all_infos_mat %}
|
{% for info in vhc.get_all_infos_mat %}
|
||||||
<div style="margin-top: 15px">
|
<div style="margin-top: 15px; color: red">
|
||||||
{{info.sDesc}}
|
{{info.sDesc}}
|
||||||
<br><span style="font-style: italic;text-transform:uppercase;">{{info.get_Start_formated}} {{info.get_Author_formated}}</span>
|
<br><span style="font-style: italic;text-transform:uppercase;">{{info.get_Start_formated}} {{info.get_Author_formated}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user