Compare commits

..

No commits in common. "65cbebd40abaab77eff803b2e5cc3e8e0dc541cf" and "0e32d96bbee9ef976941f73c83f2a1cad1e489fa" have entirely different histories.

7 changed files with 19 additions and 83 deletions

View File

@ -3,6 +3,7 @@
<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

@ -1,36 +0,0 @@
body {
background: #A6CD9E !important;
}
.background {
background-color: #7D9599;
position: absolute;
width: 100%;
height: 80%;
}
.background-intervention {
background-color: #A0C2C8;
position: absolute;
box-shadow: 0 0 30px 1px black;
border-radius: 5%;
margin: 2% 0 0 20%;
width: 60%;
height: 70%;
}
.logoCalendar {
position: absolute;
margin: 1% 0 0 5%;
width: 5%;
}
h1 {
position: absolute;
margin: 5% 0 0 11%;
}
.from {
position: absolute;
margin: 15% 15% 15% 15%;
}

View File

@ -1,5 +1,5 @@
body { body {
background: url("../image/fond.png") center center / cover no-repeat !important; background: url("../image/fond.png") center center / cover no-repeat;
} }
.logo { .logo {
@ -28,14 +28,14 @@ body {
margin: 27% 0 0 36%; margin: 27% 0 0 36%;
height: 10%; height: 10%;
} }
#profile { .profile {
position: absolute; position: absolute;
border-radius: 2%; border-radius: 2%;
margin: 20% 0 0 42%; margin: 20% 0 0 42%;
width: 22%; width: 22%;
height: 5%; height: 5%;
} }
#password { .password {
position: absolute; position: absolute;
border-radius: 2%; border-radius: 2%;
margin: 27% 0 0 42%; margin: 27% 0 0 42%;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@ -18,7 +18,7 @@ class AuthenticationController extends AbstractController
// last username entered by the user // last username entered by the user
$lastUsername = $authenticationUtils->getLastUsername(); $lastUsername = $authenticationUtils->getLastUsername();
return $this->render('login/index.html.twig', [ return $this->render('authentication/index.html.twig', [
'last_username' => $lastUsername, 'last_username' => $lastUsername,
'error' => $error, 'error' => $error,
]); ]);

View File

@ -1,26 +1,10 @@
<!DOCTYPE html> {# templates/user/add.html.twig #}
<html lang="fr, en"> {% extends 'base.html.twig' %}
<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">
<meta name="viewport" content="width=device-width, initial-scale=1"> {% block title %}Ajouter une intervention {% endblock %}
{% block stylesheets %} {% block body %}
{% endblock %} <h1>Ajouter une intervention</h1>
</head>
<body>
<div class="background"></div>
<img class="logoCalendar" src="{{ asset('styles/image/calendar.png') }}" alt="Logo Calendrier">
<h1>Créer Une Intervention</h1>
<div class="background-intervention"> {{ form(form) }}
<div class="from"> {{ form(form) }} </div> {% endblock %}
</div>
</body>
</html>

View File

@ -11,6 +11,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
{% block stylesheets %} {% block stylesheets %}
{% endblock %} {% endblock %}
</head> </head>
@ -24,26 +25,12 @@
<img class="logoProfile" src="{{ asset('styles/image/profile.png') }}" alt="Logo Profil"> <img class="logoProfile" src="{{ asset('styles/image/profile.png') }}" alt="Logo Profil">
<img class="logoPassword" src="{{ asset('styles/image/password.png') }}" alt="Logo Password"> <img class="logoPassword" src="{{ asset('styles/image/password.png') }}" alt="Logo Password">
<form method="post"> <label>
{% if error %} <input class="profile" type="email" placeholder="Adresse mail">
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div> <input class="password" type="password" placeholder="Mot de passe">
{% endif %} <input type="checkbox" id="remember">
<label class="remember" for="remember">Se souvenir de moi</label>
{% if app.user %} </label>
<div class="mb-3">
Vous êtes connecté en tant que {{ app.user.userIdentifier }}, <a href="{{ path('app_logout') }}">Déconnexion</a>
</div>
{% endif %}
<label>
<input id="profile" type="email" placeholder="Adresse mail" value="{{ last_username }}" name="_username" class="form-control" autocomplete="email" required autofocus>
<input id="password" type="password" placeholder="Mot de passe" name="_password" class="form-control" autocomplete="current-password" required>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
<input type="checkbox" name="remember" id="remember">
<label class="remember" for="remember">Se souvenir de moi</label>
</label>
</form>
<button class="login"> Connexion </button> <button class="login"> Connexion </button>