ajout calendrier secrétaire

This commit is contained in:
ragueneaul 2024-12-12 16:55:20 +01:00
parent d7375d3302
commit 44d12014e3
10 changed files with 140 additions and 40 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,48 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true"> <component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<<<<<<< HEAD <data-source source="LOCAL" name="HegreEtConfort@172.20.96.1" uuid="df0d05c3-5fc7-46c8-a0dc-7e45756a28ce">
<<<<<<< HEAD
<data-source source="LOCAL" name="chauffageproj@172.20.96.1" uuid="633df7e7-7b9a-4298-8a3c-3075313a1153">
=======
<<<<<<< HEAD
<data-source source="LOCAL" name="@172.20.96.1" uuid="76621fd2-6622-4f8e-a632-d7b7602e0afe">
<driver-ref>postgresql</driver-ref> <driver-ref>postgresql</driver-ref>
<synchronize>true</synchronize> <synchronize>true</synchronize>
<jdbc-driver>org.postgresql.Driver</jdbc-driver> <jdbc-driver>org.postgresql.Driver</jdbc-driver>
<jdbc-url>jdbc:postgresql://172.20.96.1:5432/</jdbc-url> <jdbc-url>jdbc:postgresql://172.20.96.1:5432/HegreEtConfort</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
<data-source source="LOCAL" name="hegreconfort@127.0.0.1" uuid="a0219ca4-02a7-456a-bf02-9b3234ed346b">
<driver-ref>mariadb</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mariadb://127.0.0.1:3306/hegreconfort</jdbc-url>
=======
<data-source source="LOCAL" name="chauffageproj@172.20.96.1" uuid="6554e332-842b-41d7-a021-08782c7b72bb">
<driver-ref>postgresql</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
<jdbc-url>jdbc:postgresql://172.20.96.1:5432/chauffageproj</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
<data-source source="LOCAL" name="chauffageproj@172.20.96.1 [2]" uuid="a446f2ca-1dfc-459a-97f5-eda71fd74aa2">
>>>>>>> 6532d4d88b86c321a212cdc0ca43b2e4770db117
<driver-ref>postgresql</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
<jdbc-url>jdbc:postgresql://172.20.96.1:5432/chauffageproj</jdbc-url>
>>>>>>> ee236ff74aaac1882a825817d5ce8f692d3bdd0f
=======
<data-source source="LOCAL" name="HegreConfort@localhost" uuid="755cf5bd-875b-416d-8bc2-76a5b9ba2d4d">
<driver-ref>mariadb</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mariadb://localhost:3306/HegreConfort</jdbc-url>
<jdbc-additional-properties>
<property name="database.introspection.mysql.dbe5060" value="true" />
</jdbc-additional-properties>
>>>>>>> cc65343635c8771e56e2a3304b42ec32f4f91b97
<working-dir>$ProjectFileDir$</working-dir> <working-dir>$ProjectFileDir$</working-dir>
</data-source> </data-source>
</component> </component>

View File

@ -0,0 +1,81 @@
:root {
--sidebar-color: #93A8A8;
--main-bg-color: #C0D6CE;
--header-bg-color: #93A8A8;
}
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
display: flex;
}
.sidebar {
background-color: var(--sidebar-color);
width: 10%;
padding: 2%;
display: flex;
flex-direction: column;
gap: 1%;
font-size: 20px;
color: azure;
}
.main-content {
flex: 1;
background-color: var(--main-bg-color);
min-height: 100vh;
}
.calendar-header {
background-color: var(--header-bg-color);
padding: 1%;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.day-header {
width: 9%;
text-align: center;
font-size: 25px;
}
.sidebar-button {
display: flex;
align-items: center;
cursor: pointer;
}
.calendar-title {
font-size: clamp(24px, 5vw, 48px);
text-align: center;
margin-top: 10%;
}
.logoEmail{
width: 50%;
}
@media (max-width: 768px) {
.sidebar {
width: 15%;
padding: 1%;
}
.day-header {
font-size: 18px;
width: 12%;
}
}

BIN
assets/styles/image/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
assets/styles/image/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
assets/styles/image/5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
assets/styles/image/6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
assets/styles/image/7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 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('authentication/index.html.twig', [ return $this->render('calendrier/index.html.twig', [
'last_username' => $lastUsername, 'last_username' => $lastUsername,
'error' => $error, 'error' => $error,
]); ]);

View File

@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Authentification{% endblock %}</title>
<link href="{{ asset('styles/css/calendrier.css') }}" rel="stylesheet">
{% block stylesheets %}
{% endblock %}
</head>
<body>
<div class="sidebar">
<div class="sidebar-button">
<img class="logoEmail" src="{{ asset('styles/image/6.png') }}">
</div>
<div class="sidebar-button">
<img class="logoEmail" src="{{ asset('styles/image/3.png') }}">
</div>
<span>Create Intervention</span>
<div class="sidebar-button">
<img class="logoEmail" src="{{ asset('styles/image/4.png') }}">
</div>
<span>Choose heating engineer</span>
<div class="sidebar-button">
<img class="logoEmail" src="{{ asset('styles/image/5.png') }}">
</div>
<span>Modify Intervention</span>
<div class="sidebar-button">
<img class="logoEmail" src="{{ asset('styles/image/7.png') }}">
</div>
<span>Surname Name</span>
<div class="sidebar-button">
<img class="logoEmail" src="{{ asset('styles/image/LogoHegreConfort_SansFond.png') }}">
</div>
</div>
<div class="main-content">
<div class="calendar-header" style="gap: 50px">
<div class="day-header">Mo</div>
<div class="day-header">Tu</div>
<div class="day-header">We</div>
<div class="day-header">Th</div>
<div class="day-header">Fr</div>
<div class="day-header">Sa</div>
<div class="day-header">Su</div>
</div>
<div class="calendar-title">Calendar</div>
</div>
</body>
</html>