This commit is contained in:
Giovanny BRUNET 2024-12-20 11:59:45 +01:00
commit 21cab16529
6 changed files with 207 additions and 32 deletions

View File

@ -3,7 +3,6 @@
<component name="NewModuleRootManager"> <component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="App\" /> <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="App\" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="App\Tests\" /> <sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="App\Tests\" />
<excludeFolder url="file://$MODULE_DIR$/vendor/composer" /> <excludeFolder url="file://$MODULE_DIR$/vendor/composer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/cache" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/cache" />

View File

@ -0,0 +1,16 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true">
<option name="myValues">
<value>
<list size="2">
<item index="0" class="java.lang.String" itemvalue="placeholder" />
<item index="1" class="java.lang.String" itemvalue="type" />
</list>
</value>
</option>
<option name="myCustomValuesEnabled" value="true" />
</inspection_tool>
</profile>
</component>

View File

@ -2,83 +2,175 @@ body {
background: #A6CD9E !important; background: #A6CD9E !important;
} }
.background { .background {
background-color: #7D9599; background-color: #7D9599;
position: absolute; position: absolute;
width: 100%; width: 23%;
height: 87%; height: 100%;
} }
.background-intervention { .background-intervention {
background-color: #A0C2C8; background-color: #7D9599;
position: absolute; position: absolute;
box-shadow: 0 0 15px 0 black; box-shadow: 0 0 8px 0 black;
border-radius: 5%;
margin: 7% 0 0 15%; margin: 7% 0 0 26.5%;
width: 70%; width: 70%;
height: 70%; height: 70%;
} }
.logoCalendar { .logoCalendar {
position: absolute; position: absolute;
margin: 1% 0 0 5%; margin: 5% 0 0 2%;
width: 5%; width: 4.5%;
} }
.titre { .intervention {
position: absolute; position: absolute;
margin: 2% 0 0 11%; margin: 10.5% 0 0 2%;
font-size: 175%;
width: 50%;
color: white; 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 { #nom {
position: absolute; position: absolute;
margin: 2% 0 0 5%; margin: 2% 0 0 5%;
width: 45%; font-size: 160%;
width: 90%;
height: 10%;
} }
#echecs {
#adresse {
position: absolute; 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 { #employesCompetences {
position: absolute; position: absolute;
margin: 10% 0 0 5%; margin: 20% 0 0 3%;
width: 65%;
} }
#piece { #piece {
position: absolute; position: absolute;
margin: 14% 0 0 5%; margin: 25% 0 0 3%;
width: 65%;
} }
#vehicule { #vehicule {
position: absolute; position: absolute;
margin: 18.5% 0 0 5%; margin: 30% 0 0 3%;
width: 20%;
height: 5%;
text-align: center;
background-color: white;
} }
#vehicule1 { #vehicule1 {
position: absolute; position: absolute;
margin: 19% 0 0 21.5%; margin: 30.7% 0 0 25%;
} }
#oui { #oui {
position: absolute; position: absolute;
margin: 18.5% 0 0 24%; margin: 30.3% 0 0 27%;
} }
#vehicule2 { #vehicule2 {
position: absolute; position: absolute;
margin: 19% 0 0 30%; margin: 30.7% 0 0 32%;
} }
#non { #non {
position: absolute; 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 { #date {
position: absolute; 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 { #calendar {
position: absolute; position: absolute;
margin: 18.5% 0 0 33%; margin: 15% 0 0 75%;
} }
.from {
.applique {
position: absolute; 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;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -1,11 +1,79 @@
{% extends 'base.html.twig' %} <!DOCTYPE html>
<html lang="fr, en">
<head>
<meta charset="UTF-8">
<title>Créer une intervention</title>
<link href="{{ asset('styles/css/intervention.css') }}" rel='stylesheet'>
<link rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
{% block title %}New Intervention{% endblock %} <meta name="viewport" content="width=device-width, initial-scale=1">
{% block body %} </head>
<h1>Create new Intervention</h1> <body>
<div class="background"></div>
<img class="logoCalendar" src="{{ asset('styles/image/calendar.png') }}" alt="Logo Calendrier">
<a href="{{ path('app_intervention_index') }}" class="intervention">Créer une intervention</a>
<img class="logoChauffagiste" src="{{ asset('styles/image/chauffagiste.png') }}" alt="Logo Chauffagiste">
<h1 class="chauffagiste">Choisissez un chauffagiste</h1>
<img class="logoModifier" src="{{ asset('styles/image/modifier.png') }}">
<h1 class="modifier">Modifier l'intervention</h1>
<img class="logoHegre" src="{{ asset('styles/image/LogoHegreConfort_SansFond.png') }}">
{{ include('intervention/_form.html.twig') }}
<a href="{{ path('app_intervention_index') }}">back to list</a> <div class="background-intervention">
{% endblock %} <input required id="nom" placeholder="Nom de l'intervention">
<select required type="select" name="pannes" id="pannes">
<option value="pan1">pan1</option>
<option value="pan2">pan2</option>
<option value="pan3">pan3</option>
<option value="pan4">pan4</option>
<option value="pan5">pan5</option>
<option value="pan6">pan6</option>
</select>
<select required type="select" name="pannes" id="employesCompetences">
<option value="emp1">employé1 - sa compétence</option>
<option value="emp2">employé2 - sa compétence</option>
<option value="emp3">employé3 - sa compétence</option>
<option value="emp4">employé4 - sa compétence</option>
<option value="emp5">employé5 - sa compétence</option>
<option value="emp6">employé6 - sa compétence</option>
</select>
<!-- <input required id="employesCompetences" placeholder="Liste des employés et de leurs compétences"> -->
<select required type="select" name="piece" id="piece">
<option value="pièce1">Pièce affecter 1</option>
<option value="pièce2">Pièce affecter 2</option>
<option value="pièce3">Pièce affecter 3</option>
<option value="pièce4">Pièce affecter 4</option>
<option value="pièce5">Pièce affecter 5</option>
<option value="pièce6">Pièce affecter 6</option>
</select>
<p id="vehicule">Véhicule nécessaire</p>
<input type="checkbox" name="vehicule1" id="vehicule1">
<label for=”vehicule1” id="oui"> Oui </label>
<input type="checkbox" name="vehicule2" id="vehicule2">
<label for=”vehicule2” id="non"> Non </label>
<p id="date">Jour de l'intervention</p>
<input type="date" id="calendar">
<input type="text" id="description" placeholder="Description">
<input type="text" id="adresse" placeholder="Adresse">
<button type="submit" class="applique"> Appliquée </button>
<button type="reset" class="supprimer"> Supprimer </button>
<!-- {{ include('intervention/_form.html.twig') }} -->
<a href="{{ path('app_intervention_index') }}" id="liste">Retour à la liste</a>
</div>
</body>
</html>