diff --git a/.idea/HegreEtConfort.iml b/.idea/HegreEtConfort.iml index af6cce8..f4221e4 100644 --- a/.idea/HegreEtConfort.iml +++ b/.idea/HegreEtConfort.iml @@ -3,7 +3,6 @@ - diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..5584008 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/assets/styles/css/intervention.css b/assets/styles/css/intervention.css index 07e7e76..100a4ac 100644 --- a/assets/styles/css/intervention.css +++ b/assets/styles/css/intervention.css @@ -2,83 +2,175 @@ body { background: #A6CD9E !important; } + .background { background-color: #7D9599; position: absolute; - width: 100%; - height: 87%; + width: 23%; + height: 100%; } .background-intervention { - background-color: #A0C2C8; + background-color: #7D9599; position: absolute; - box-shadow: 0 0 15px 0 black; - border-radius: 5%; + box-shadow: 0 0 8px 0 black; - margin: 7% 0 0 15%; + margin: 7% 0 0 26.5%; width: 70%; height: 70%; } + .logoCalendar { position: absolute; - margin: 1% 0 0 5%; - width: 5%; + margin: 5% 0 0 2%; + width: 4.5%; } -.titre { +.intervention { position: absolute; - margin: 2% 0 0 11%; + margin: 10.5% 0 0 2%; + font-size: 175%; + width: 50%; color: white; } +.logoChauffagiste { + position: absolute; + margin: 15% 0 0 2%; + width: 4.5%; +} +.chauffagiste { + position: absolute; + margin: 20% 0 0 2%; + font-size: 175%; + width: 20%; + color: white; +} +.logoModifier { + position: absolute; + margin: 25% 0 0 2%; + width: 4.5%; +} +.modifier { + position: absolute; + margin: 30% 0 0 2%; + font-size: 175%; + width: 20%; + color: white; +} +.logoHegre { + position: absolute; + margin: 41% 0 0 0; + width: 10%; +} + + #nom { position: absolute; margin: 2% 0 0 5%; - width: 45%; + font-size: 160%; + width: 90%; + height: 10%; } -#echecs { + + +#adresse { position: absolute; - margin: 6% 0 0 5%; + margin: 10% 0 0 3%; + width: 65%; } + + +#pannes { + position: absolute; + margin: 15% 0 0 3%; + width: 65%; +} + #employesCompetences { position: absolute; - margin: 10% 0 0 5%; + margin: 20% 0 0 3%; + width: 65%; } + #piece { position: absolute; - margin: 14% 0 0 5%; + margin: 25% 0 0 3%; + width: 65%; } + #vehicule { position: absolute; - margin: 18.5% 0 0 5%; + margin: 30% 0 0 3%; + width: 20%; + height: 5%; + + text-align: center; + background-color: white; } #vehicule1 { position: absolute; - margin: 19% 0 0 21.5%; + margin: 30.7% 0 0 25%; } #oui { position: absolute; - margin: 18.5% 0 0 24%; + margin: 30.3% 0 0 27%; } #vehicule2 { position: absolute; - margin: 19% 0 0 30%; + margin: 30.7% 0 0 32%; } #non { position: absolute; - margin: 18.5% 0 0 33%; + margin: 30.3% 0 0 34%; +} + + +#description { + position: absolute; + margin: 35% 0 0 3%; + width: 40%; + height: 25%; +} +#liste { + position: absolute; + margin: 45% 0 0 44%; } #date { position: absolute; - margin: 2% 0 0 70%; + margin: 10% 0 0 75%; + width: 20%; + height: 5%; + + text-align: center; + border-radius: 3%; + background-color: white; } #calendar { position: absolute; - margin: 18.5% 0 0 33%; + margin: 15% 0 0 75%; } -.from { + + + + +.applique { position: absolute; - margin: 65% 15% 15% 15%; + margin: 40% 0 0 80%; + width: 15%; + height: 15%; + + border-radius: 3%; + background-color: white; +} +.supprimer { + position: absolute; + margin: 40% 0 0 62%; + width: 15%; + height: 15%; + + border-radius: 3%; + background-color: white; } \ No newline at end of file diff --git a/assets/styles/image/chauffagiste.png b/assets/styles/image/chauffagiste.png new file mode 100644 index 0000000..d9e321c Binary files /dev/null and b/assets/styles/image/chauffagiste.png differ diff --git a/assets/styles/image/modifier.png b/assets/styles/image/modifier.png new file mode 100644 index 0000000..afa3e78 Binary files /dev/null and b/assets/styles/image/modifier.png differ diff --git a/templates/intervention/new.html.twig b/templates/intervention/new.html.twig index f1ff396..bb564a5 100644 --- a/templates/intervention/new.html.twig +++ b/templates/intervention/new.html.twig @@ -1,11 +1,79 @@ -{% extends 'base.html.twig' %} + + + + + Créer une intervention + + + -{% block title %}New Intervention{% endblock %} + -{% block body %} -

Create new Intervention

+ + +
+ Logo Calendrier + Créer une intervention + Logo Chauffagiste +

Choisissez un chauffagiste

+ +

Modifier l'intervention

+ - {{ include('intervention/_form.html.twig') }} - back to list -{% endblock %} +
+ + + + + + + + + +

Véhicule nécessaire

+ + + + + +

Jour de l'intervention

+ + + + + + + + + + + + + Retour à la liste +
+ +