Skip to content
Snippets Groups Projects
Commit d4ac9f2f authored by Jessie Ragot's avatar Jessie Ragot
Browse files

Change String into Role UserService

parent 95432ab1
No related branches found
No related tags found
1 merge request!17Branch aichatou
Showing
with 0 additions and 783 deletions
File deleted
File deleted
File deleted
File deleted
File deleted
#Wed Feb 19 16:55:27 CET 2025
gradle.version=8.12.1
File deleted
File deleted
File deleted
File deleted
This diff is collapsed.
spring.application.name=projetIndu
spring.datasource.url=jdbc:mysql://host.docker.internal:3307/projet
spring.datasource.username=root
spring.datasource.password=mypassword
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.html
spring.thymeleaf.cache=false
spring.servlet.multipart.max-file-size=100MB
spring.servlet.multipart.max-request-size=100MB
spring.banner.location=banner.txt
⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⠀⠀⢠⣶⣿⣿⣶⡄⠀⠀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀
⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⢾⣿⣿⣿⣿⡷⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏
⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣆⠀⠈⠿⣿⣿⠿⠃⠀⣠⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀
⠀⠀⠈⢛⣛⣛⣛⣛⣛⣛⣛⡃⣾⣿⣿⣿⣿⣷⢘⣛⣛⣛⣛⣛⣛⣛⡛⠁⠀⠀
⠀⠀⠀⠈⠙⠛⠿⠿⣿⣿⣿⣧⢹⣿⣿⣿⣿⡏⣼⣿⣿⣿⠿⠿⠛⠋⠁⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⢸⣿⣿⣿⣿⡇⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡀⣿⣿⣿⣿⢁⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣾⡟⠁⣿⣿⣿⣿⠈⢻⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⢿⣶⣬⣝⣛⠇⣶⠿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⡌⢉⣛⠿⢿⣶⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣁⠸⢿⣿⡇⣸⣿⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠿⣶⣌⣑⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣴⡿⠀⣦⣍⠛⢿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⢷⠄⣿⣿⢰⠾⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
\ No newline at end of file
File deleted
File deleted
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Créer un médecin</title>
</head>
<body>
<h1>Ajouter un médecin</h1>
<form action="#" th:action="@{/doctors}" th:object="${doctor}" method="post">
<label for="firstName">Prénom:</label>
<input type="text" id="firstName" th:field="*{firstName}" required /><br>
<label for="lastName">Nom:</label>
<input type="text" id="lastName" th:field="*{lastName}" required /><br>
<label for="speciality">Spécialité:</label>
<input type="text" id="speciality" th:field="*{speciality}" required /><br>
<label for="email">Email:</label>
<input type="email" id="email" th:field="*{email}" required /><br>
<button type="submit">Ajouter</button>
</form>
</body>
</html>
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tableau de Bord Médecin</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 font-sans leading-normal tracking-normal">
<!-- Header -->
<header class="bg-white shadow-md">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center py-6">
<h1 class="text-2xl font-semibold text-gray-900">Tableau de Bord Médecin</h1>
<a href="/" class="text-blue-500 hover:text-blue-700">Retour à l'accueil</a>
</div>
</div>
</header>
<!-- Main Section -->
<main class="mt-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl font-bold text-gray-800 text-center">Bienvenue sur votre tableau de bord</h2>
<p class="mt-4 text-lg text-gray-600 text-center">Consultez vos dossiers médicaux et gérez vos patients efficacement.</p>
<div class="mt-8 grid grid-cols-1 md:grid-cols-2 gap-6">
<a href="#" class="p-6 bg-white shadow-md rounded-lg hover:shadow-lg transition">
<h3 class="text-xl font-semibold text-gray-800">Mes Patients</h3>
<p class="mt-2 text-gray-600">Consulter et gérer la liste de vos patients.</p>
</a>
<a href="/medical-files" class="p-6 bg-white shadow-md rounded-lg hover:shadow-lg transition">
<h3 class="text-xl font-semibold text-gray-800">Dossiers Médicaux</h3>
<p class="mt-2 text-gray-600">Accéder aux dossiers médicaux de vos patients.</p>
</a>
<a href="#" class="p-6 bg-white shadow-md rounded-lg hover:shadow-lg transition">
<h3 class="text-xl font-semibold text-gray-800">Rendez-vous</h3>
<p class="mt-2 text-gray-600">Gérer votre planning et vos rendez-vous.</p>
</a>
<a href="#" class="p-6 bg-white shadow-md rounded-lg hover:shadow-lg transition">
<h3 class="text-xl font-semibold text-gray-800">Statistiques</h3>
<p class="mt-2 text-gray-600">Voir vos consultations et performances.</p>
</a>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-white shadow-md mt-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 text-center">
<p class="text-sm text-gray-600">&copy; 2025 Gestion Dossiers Médicaux. Tous droits réservés.</p>
</div>
</footer>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment