Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
commit affichage collaborateur + fonctionnalité créer collaborateur ok
· 9d710986
cberge
authored
Jun 13, 2024
9d710986
commit affichage collaborateur + fonctionnalité créer collaborateur ok
· 083fada1
cberge
authored
Jun 13, 2024
083fada1
Show whitespace changes
Inline
Side-by-side
ProDigiUp_GesCollab/src/main/webapp/WEB-INF/jsp/collaborateur.jsp
0 → 100644
View file @
083fada1
<%--
Document : collaborateur
Created on : 11 juin 2024, 13:40:04
Author : cberge
--%>
<%@page
contentType=
"text/html"
pageEncoding=
"UTF-8"
%>
<%@taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"
<c:url
value=
"/assets/css/style.css"
/>
"
>
<link
rel=
"stylesheet"
href=
"
<c:url
value=
"/assets/css/form.css"
/>
"
>
</head>
</head>
<body>
<main>
<fieldset>
<legend>
Fiche Collaborateur
</legend>
<p><strong>
ID:
</strong><c:out
value=
"
${
collaborateur
.
id
}
"
/></p>
<p><strong>
Matricule:
</strong><c:out
value=
"
${
collaborateur
.
matricule
}
"
/></p>
<p><strong>
Genre:
</strong><c:out
value=
"
${
collaborateur
.
genre
}
"
/></p>
<p><strong>
Nom:
</strong><c:out
value=
"
${
collaborateur
.
nom
}
"
/></p>
<p><strong>
Prénom:
</strong><c:out
value=
"
${
collaborateur
.
prenom
}
"
/></p>
<p><strong>
Date de naissance:
</strong><c:out
value=
"
${
collaborateur
.
date_de_naissance
}
"
/></p>
<p><strong>
Numéro de voie:
</strong><c:out
value=
"
${
collaborateur
.
numero_voie
}
"
/></p>
<p><strong>
Adresse:
</strong><c:out
value=
"
${
collaborateur
.
adresse
}
"
/></p>
<p><strong>
Code postal:
</strong><c:out
value=
"
${
collaborateur
.
code_postal
}
"
/></p>
<p><strong>
Ville:
</strong><c:out
value=
"
${
collaborateur
.
ville
}
"
/></p>
<p><strong>
Téléphone personnel:
</strong><c:out
value=
"
${
collaborateur
.
telephone_personnel
}
"
/></p>
<p><strong>
Statut:
</strong><c:out
value=
"
${
collaborateur
.
statut
}
"
/></p>
<p><strong>
Catégorie:
</strong><c:out
value=
"
${
collaborateur
.
categorie
}
"
/></p>
<p><strong>
RQTH:
</strong><c:out
value=
"
${
collaborateur
.
rqth
}
"
/></p>
<p><strong>
Métier:
</strong><c:out
value=
"
${
collaborateur
.
metier
}
"
/></p>
</fieldset>
</main>
</body>
</html>
\ No newline at end of file
ProDigiUp_GesCollab/src/main/webapp/WEB-INF/jsp/creerCollaborateur.jsp
0 → 100644
View file @
083fada1
<%--
Document : creerCollaborateur
Created on : 12 juin 2024, 09:15:40
Author : cberge
--%>
<%@page
contentType=
"text/html"
pageEncoding=
"UTF-8"
%>
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
</head>
<body>
<main>
<form
action=
"/ProDigiUp_GesCollab/creer_collaborateur"
method=
"post"
>
<div>
${requestScope.message}
</div>
<div>
${requestScope.errorMsg}
</div>
<fieldset>
<legend>
Nouveau Collaborateur
</legend>
<div>
<label
for=
"matricule"
>
Matricule
</label>
<input
type=
"text"
id=
"matricule"
name=
"matricule"
>
<div
class=
"error"
>
${requestScope.errors.matricule}
</div>
</div>
<div>
<label
for=
"genre"
>
Genre
</label>
<input
type=
"text"
id=
"genre"
name=
"genre"
>
<div
class=
"error"
>
${requestScope.errors.genre}
</div>
</div>
<div>
<label
for=
"nom"
>
Nom
</label>
<input
type=
"text"
id=
"nom"
name=
"nom"
>
<div
class=
"error"
>
${requestScope.errors.nom}
</div>
</div>
<div>
<label
for=
"prenom"
>
Prénom
</label>
<input
type=
"text"
id=
"prenom"
name=
"prenom"
>
<div
class=
"error"
>
${requestScope.errors.prenom}
</div>
</div>
<div>
<label
for=
"date_de_naissance"
>
Date de naissance
</label>
<input
type=
"text"
id=
"date_de_naissance"
name=
"date_de_naissance"
>
<div
class=
"error"
>
${requestScope.errors.date_de_naissance}
</div>
</div>
<div>
<label
for=
"numero_voie"
>
Numéro de voie
</label>
<input
type=
"text"
id=
"numero_voie"
name=
"numero_voie"
>
<div
class=
"error"
>
${requestScope.errors.numero_voie}
</div>
</div>
<div>
<label
for=
"adresse"
>
Adresse
</label>
<input
type=
"text"
id=
"adresse"
name=
"adresse"
>
<div
class=
"error"
>
${requestScope.errors.adresse}
</div>
</div>
<div>
<label
for=
"code_postal"
>
Code Postal
</label>
<input
type=
"text"
id=
"code_postal"
name=
"code_postal"
>
<div
class=
"error"
>
${requestScope.errors.code_postal}
</div>
</div>
<div>
<label
for=
"ville"
>
Ville
</label>
<input
type=
"text"
id=
"ville"
name=
"ville"
>
<div
class=
"error"
>
${requestScope.ville}
</div>
</div>
<div>
<label
for=
"telephone_personnel"
>
Téléphone personnel
</label>
<input
type=
"text"
id=
"telephone_personnel"
name=
"telephone_personnel"
>
<div
class=
"error"
>
${requestScope.errors.telephone_personnel}
</div>
</div>
<div>
<label
for=
"statut"
>
Statut (CDD, CDI, CDD Tremplin, Stage)
</label>
<input
type=
"text"
id=
"statut"
name=
"statut"
>
<div
class=
"error"
>
${requestScope.errors.statut}
</div>
</div>
<div>
<label
for=
"categorie"
>
Catégorie (ETAM, Cadre)
</label>
<input
type=
"text"
id=
"categorie"
name=
"categorie"
>
<div
class=
"error"
>
${requestScope.errors.categorie}
</div>
</div>
<div>
<label
for=
"rqth"
>
RQTH (oui, non, en cours)
</label>
<input
type=
"text"
id=
"rqth"
name=
"rqth"
>
<div
class=
"error"
>
${requestScope.errors.rqth}
</div>
</div>
<div>
<label
for=
"metier"
>
Métier
</label>
<input
type=
"text"
id=
"metier"
name=
"metier"
>
<div
class=
"error"
>
${requestScope.errors.metier}
</div>
</div>
</div>
<p>
Merci de remplir tous les champs
</p>
</fieldset>
<div>
<input
type=
"submit"
value=
"Envoyer"
>
<input
type=
"reset"
value=
"Annuler"
>
</div>
</form>
</main>
</body>
</html>