Ajout de la page admin et des classes enchere et Utilisateur + test de commit pour JL

This commit is contained in:
jleroy
2024-04-22 13:17:36 +02:00
parent 2b9a75baf7
commit 2a7a4efd1c
4 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
package fr.eni.enchere.bo;
public class Enchere {
}

View File

@@ -0,0 +1,4 @@
package fr.eni.enchere.bo;
public class Utilisateur {
}

View File

@@ -0,0 +1,17 @@
package fr.eni.enchere.controllers;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class AdminController {
public AdminController() {
}
@GetMapping( "/admin")
public String viewAccueil(Model model) {
return "admin";
}
}

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Panel administrateur</title>
</head>
<body>
<!-- Ajouter la page de nav bar -->
<!-- Ajouter le footer -->
</body>
</html>