+
Candidatures reçues
-{% for app in applications %}
-
-
Annonce : {{ app.application.title }}
-
Candidat : {{ app.intern.firstName }} {{ app.intern.lastName }}
-
Date : {{ app.applicationDate|date('d/m/Y') }}
-
Statut : {{ app.status }}
+ {% for app in applications %}
+
+
Annonce : {{ app.application.title }}
+
Candidat : {{ app.intern.firstName }} {{ app.intern.lastName }}
+
Date : {{ app.applicationDate|date('d/m/Y') }}
+
Statut : {{ app.status|capitalize }}
-
- Voir le profil du candidat
-
+
+ Voir le profil du candidat
+
+
+ {% if app.status == 'En Attente' %}
+
+
+
+
+
+ {% endif %}
+
+ {% else %}
+
Aucune candidature pour le moment.
+ {% endfor %}
-{% else %}
-
Aucune candidature pour le moment.
-{% endfor %}
-
{% endblock %}
diff --git a/templates/faq/index.html.twig b/templates/faq/index.html.twig
index 50d60f1..3f3ee79 100644
--- a/templates/faq/index.html.twig
+++ b/templates/faq/index.html.twig
@@ -1,55 +1,25 @@
{% extends 'base.html.twig' %}
-{% block title %}Liste des FAQs{% endblock %}
+{% block title %}FAQ{% endblock %}
{% block body %}
-
Liste des FAQs
+
FAQ
-
-
-
-
- Question |
- Réponse |
- Denrnière modif |
- Actions |
-
-
-
- {% for faq in faqs %}
-
- {{ faq.question }} |
- {{ faq.answer }} |
- {{ faq.updateDate|date("d-m-y") }} |
-
-
- Voir
-
-
-
- Modifier
-
-
-
- |
-
- {% endfor %}
-
-
+
+ {% for faq in faqs %}
+
+
Question : {{ faq.question }}
+
Dernière modification : {{ faq.updateDate|date("d-m-y") }}
+
Réponse : {{ faq.answer }}
+
+
+ {% endfor %}
-
-
{% endblock %}
diff --git a/templates/intern/index.html.twig b/templates/intern/index.html.twig
index 02c128a..29708b1 100644
--- a/templates/intern/index.html.twig
+++ b/templates/intern/index.html.twig
@@ -48,4 +48,18 @@
{% endfor %}
+
Vos compétences :
+
+ {% if app.user.skills|length > 0 %}
+ {% for internSkill in app.user.skills %}
+ - {{ internSkill.skill.label }}
+ {% endfor %}
+ {% else %}
+ - Aucune compétence sélectionnée
+ {% endif %}
+
+
+
Sélectionner vos compétences
+
{% endblock %}
diff --git a/templates/intern/resume.html.twig b/templates/intern/resume.html.twig
new file mode 100644
index 0000000..d8f2682
--- /dev/null
+++ b/templates/intern/resume.html.twig
@@ -0,0 +1,23 @@
+{% extends 'base.html.twig' %}
+
+{% block title %}Resume{% endblock %}
+
+{% block body %}
+
+
Ajouter / Modifier le CV
+
+
+ {{ form_start(form, {'attr': {'enctype': 'multipart/form-data'}}) }}
+
+
+ {{ form_widget(form) }}
+
+
+
+
+ {{ form_end(form) }}
+
+
+{% endblock %}
diff --git a/templates/profile/employee.html.twig b/templates/profile/employee.html.twig
index 1688471..d83f460 100644
--- a/templates/profile/employee.html.twig
+++ b/templates/profile/employee.html.twig
@@ -8,9 +8,9 @@
Téléphone : {{ app.user.tel }}
Email : {{ app.user.mail }}
-
- Voir les candidatures reçues
+
+ Voir les candidatures reçues
diff --git a/templates/profile/intern.html.twig b/templates/profile/intern.html.twig
index fbfef2b..bcecf29 100644
--- a/templates/profile/intern.html.twig
+++ b/templates/profile/intern.html.twig
@@ -2,11 +2,30 @@
Bonjour {{ app.user.nickname }}
Vous êtes à la recherche d'un stage.
-
Nom : {{ app.user.firstName }}
-
Prénom : {{ app.user.lastName }}
-
Adresse : {{ app.user.address }}
-
Téléphone : {{ app.user.tel }}
-
Email : {{ app.user.mail }}
+
+
+
Nom : {{ app.user.firstName }}
+
Prénom : {{ app.user.lastName }}
+
Adresse : {{ app.user.address }}
+
Téléphone : {{ app.user.tel }}
+
Email : {{ app.user.mail }}
+
+
+ {% if app.user.resume != "" %}
+
+
+
+ {% if app.user.resumeName != "" %}
+
Nom du fichier : {{ app.user.resumeName }}
+ {% endif %}
+
+
+ {% endif %}
+
+
+
Ajouter / Modifier le CV
+
Vos diplômes :
@@ -26,16 +45,24 @@
Vos compétences :
-
+ {% if app.user.skills|length > 0 %}
+ {% for internSkill in app.user.skills %}
+ - {{ internSkill.skill.label }}
+ {% endfor %}
+ {% else %}
+
+ Aucune pour le moment
+ {% endif %}
Selectionner vos compétences
+ href="{{ path('app_skill_index',{id: app.user.id}) }}"> Sélectionner vos compétences
+
diff --git a/templates/profile/visit.html.twig b/templates/profile/visit.html.twig
index b202ac7..8a2858a 100644
--- a/templates/profile/visit.html.twig
+++ b/templates/profile/visit.html.twig
@@ -7,18 +7,18 @@
Profil du candidat
-
Nom : {{ user.lastName }}
-
Prénom : {{ user.firstName }}
-
Email : {{ user.mail }}
-
Téléphone : {{ user.tel }}
-
Adresse : {{ user.address }}
+
Nom : {{ candidat.lastName }}
+
Prénom : {{ candidat.firstName }}
+
Email : {{ candidat.mail }}
+
Téléphone : {{ candidat.tel }}
+
Adresse : {{ candidat.address }}
Diplômes
- {% if user.degrees|length > 0 %}
- {% for deg in user.degrees %}
+ {% if candidat.degrees|length > 0 %}
+ {% for deg in candidat.degrees %}
-
{{ deg.degree.label }} — Obtenu le {{ deg.graduationDate|date('d/m/Y') }}
@@ -32,9 +32,9 @@
Compétences
- {% if user.skills|length > 0 %}
- {% for skill in user.skills %}
- - {{ skill.label }}
+ {% if candidat.skills|length > 0 %}
+ {% for sk in candidat.skills %}
+ - {{ sk.skill.label }}
{% endfor %}
{% else %}
Aucune compétence renseignée.
@@ -43,9 +43,9 @@
diff --git a/templates/registration/register.html.twig b/templates/registration/register.html.twig
index edf72e9..10eaade 100644
--- a/templates/registration/register.html.twig
+++ b/templates/registration/register.html.twig
@@ -36,6 +36,15 @@
{{ form_errors(registrationForm.mail) }}
+ {% if employee %}
+
+ {{ form_label(registrationForm.company, 'Sélectionnez une entreprise', {'label_attr': {'class': 'block text-gray-700 mb-2'}}) }}
+ {{ form_widget(registrationForm.company, {'attr': {'class': 'w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-teal-500'}}) }}
+ {{ form_errors(registrationForm.company) }}
+
+ {% endif %}
+
+
{{ form_label(registrationForm.plainPassword, 'Mot de passe', {'label_attr': {'class': 'block text-gray-700 mb-2'}}) }}
{{ form_widget(registrationForm.plainPassword, {'attr': {'class': 'w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-teal-500'}}) }}
diff --git a/templates/security/reset_password_request.html.twig b/templates/security/reset_password_request.html.twig
new file mode 100644
index 0000000..baba306
--- /dev/null
+++ b/templates/security/reset_password_request.html.twig
@@ -0,0 +1,14 @@
+{% extends 'base.html.twig' %}
+
+{% block title %}Demande de réinitialisation de mot de passe{% endblock %}
+
+{% block body %}
+
+ Demande de réinitialisation de mot de passe
+ {{ form_start(requestPassForm) }}
+ {{ form_row(requestPassForm.email) }}
+
+
+ {{ form_end(requestPassForm) }}
+
+{% endblock %}
diff --git a/templates/skill/index.html.twig b/templates/skill/index.html.twig
index e5e911f..0b31564 100644
--- a/templates/skill/index.html.twig
+++ b/templates/skill/index.html.twig
@@ -6,47 +6,70 @@
Liste des Compétences
-
+
+ {% if 'ROLE_INTERN' in app.user.roles %}
+
+
+
+
+ {% endif %}
+
+ {% if 'ROLE_ADMIN' in app.user.roles %}
+
+ {% endif %}
{% endblock %}