From bef89483ef70d845a7a6e66c498840e74bf44ae7 Mon Sep 17 00:00:00 2001 From: allavenavr Date: Thu, 21 Nov 2024 17:04:56 +0100 Subject: [PATCH] vues twig --- templates/announcement/list.html.twig | 3 +- templates/company/_delete_form.html.twig | 4 ++ templates/company/_form.html.twig | 4 ++ templates/company/edit.html.twig | 13 +++++ templates/company/index.html.twig | 41 +++++++++++++++ templates/company/new.html.twig | 11 ++++ templates/company/show.html.twig | 38 ++++++++++++++ templates/degree/_delete_form.html.twig | 4 ++ templates/degree/_form.html.twig | 4 ++ templates/degree/edit.html.twig | 13 +++++ templates/degree/index.html.twig | 35 +++++++++++++ templates/degree/new.html.twig | 11 ++++ templates/degree/show.html.twig | 26 ++++++++++ templates/employee/_delete_form.html.twig | 4 ++ templates/employee/_form.html.twig | 4 ++ templates/employee/edit.html.twig | 13 +++++ templates/employee/index.html.twig | 49 ++++++++++++++++++ templates/employee/new.html.twig | 11 ++++ templates/employee/show.html.twig | 54 ++++++++++++++++++++ templates/faq/_delete_form.html.twig | 4 ++ templates/faq/_form.html.twig | 4 ++ templates/faq/edit.html.twig | 13 +++++ templates/faq/index.html.twig | 39 ++++++++++++++ templates/faq/new.html.twig | 11 ++++ templates/faq/show.html.twig | 34 +++++++++++++ templates/intern/_delete_form.html.twig | 4 ++ templates/intern/_form.html.twig | 4 ++ templates/intern/edit.html.twig | 13 +++++ templates/intern/index.html.twig | 53 +++++++++++++++++++ templates/intern/new.html.twig | 11 ++++ templates/intern/show.html.twig | 62 +++++++++++++++++++++++ templates/message/_delete_form.html.twig | 4 ++ templates/message/_form.html.twig | 4 ++ templates/message/edit.html.twig | 13 +++++ templates/message/index.html.twig | 37 ++++++++++++++ templates/message/new.html.twig | 11 ++++ templates/message/show.html.twig | 30 +++++++++++ templates/skill/_delete_form.html.twig | 4 ++ templates/skill/_form.html.twig | 4 ++ templates/skill/edit.html.twig | 13 +++++ templates/skill/index.html.twig | 35 +++++++++++++ templates/skill/new.html.twig | 11 ++++ templates/skill/show.html.twig | 26 ++++++++++ templates/user_app/_delete_form.html.twig | 4 ++ templates/user_app/_form.html.twig | 4 ++ templates/user_app/edit.html.twig | 13 +++++ templates/user_app/index.html.twig | 49 ++++++++++++++++++ templates/user_app/new.html.twig | 11 ++++ templates/user_app/show.html.twig | 54 ++++++++++++++++++++ 49 files changed, 919 insertions(+), 2 deletions(-) create mode 100644 templates/company/_delete_form.html.twig create mode 100644 templates/company/_form.html.twig create mode 100644 templates/company/edit.html.twig create mode 100644 templates/company/index.html.twig create mode 100644 templates/company/new.html.twig create mode 100644 templates/company/show.html.twig create mode 100644 templates/degree/_delete_form.html.twig create mode 100644 templates/degree/_form.html.twig create mode 100644 templates/degree/edit.html.twig create mode 100644 templates/degree/index.html.twig create mode 100644 templates/degree/new.html.twig create mode 100644 templates/degree/show.html.twig create mode 100644 templates/employee/_delete_form.html.twig create mode 100644 templates/employee/_form.html.twig create mode 100644 templates/employee/edit.html.twig create mode 100644 templates/employee/index.html.twig create mode 100644 templates/employee/new.html.twig create mode 100644 templates/employee/show.html.twig create mode 100644 templates/faq/_delete_form.html.twig create mode 100644 templates/faq/_form.html.twig create mode 100644 templates/faq/edit.html.twig create mode 100644 templates/faq/index.html.twig create mode 100644 templates/faq/new.html.twig create mode 100644 templates/faq/show.html.twig create mode 100644 templates/intern/_delete_form.html.twig create mode 100644 templates/intern/_form.html.twig create mode 100644 templates/intern/edit.html.twig create mode 100644 templates/intern/index.html.twig create mode 100644 templates/intern/new.html.twig create mode 100644 templates/intern/show.html.twig create mode 100644 templates/message/_delete_form.html.twig create mode 100644 templates/message/_form.html.twig create mode 100644 templates/message/edit.html.twig create mode 100644 templates/message/index.html.twig create mode 100644 templates/message/new.html.twig create mode 100644 templates/message/show.html.twig create mode 100644 templates/skill/_delete_form.html.twig create mode 100644 templates/skill/_form.html.twig create mode 100644 templates/skill/edit.html.twig create mode 100644 templates/skill/index.html.twig create mode 100644 templates/skill/new.html.twig create mode 100644 templates/skill/show.html.twig create mode 100644 templates/user_app/_delete_form.html.twig create mode 100644 templates/user_app/_form.html.twig create mode 100644 templates/user_app/edit.html.twig create mode 100644 templates/user_app/index.html.twig create mode 100644 templates/user_app/new.html.twig create mode 100644 templates/user_app/show.html.twig diff --git a/templates/announcement/list.html.twig b/templates/announcement/list.html.twig index d1d3c02..91cfb8d 100644 --- a/templates/announcement/list.html.twig +++ b/templates/announcement/list.html.twig @@ -13,8 +13,7 @@

{{ ann.title }}

{{ ann.company.name }}

{{ ann.description }}

- -

{{ ann.creationDate }}

+ ------------------------------ {% endfor %} diff --git a/templates/company/_delete_form.html.twig b/templates/company/_delete_form.html.twig new file mode 100644 index 0000000..5873f22 --- /dev/null +++ b/templates/company/_delete_form.html.twig @@ -0,0 +1,4 @@ +
+ + +
diff --git a/templates/company/_form.html.twig b/templates/company/_form.html.twig new file mode 100644 index 0000000..bf20b98 --- /dev/null +++ b/templates/company/_form.html.twig @@ -0,0 +1,4 @@ +{{ form_start(form) }} + {{ form_widget(form) }} + +{{ form_end(form) }} diff --git a/templates/company/edit.html.twig b/templates/company/edit.html.twig new file mode 100644 index 0000000..2ba5039 --- /dev/null +++ b/templates/company/edit.html.twig @@ -0,0 +1,13 @@ +{% extends 'base.html.twig' %} + +{% block title %}Edit Company{% endblock %} + +{% block body %} +

Edit Company

+ + {{ include('company/_form.html.twig', {'button_label': 'Update'}) }} + + back to list + + {{ include('company/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/company/index.html.twig b/templates/company/index.html.twig new file mode 100644 index 0000000..2c1affd --- /dev/null +++ b/templates/company/index.html.twig @@ -0,0 +1,41 @@ +{% extends 'base.html.twig' %} + +{% block title %}Company index{% endblock %} + +{% block body %} +

Company index

+ + + + + + + + + + + + + + {% for company in companies %} + + + + + + + + + {% else %} + + + + {% endfor %} + +
IdNameAddressTelMailactions
{{ company.id }}{{ company.name }}{{ company.address }}{{ company.tel }}{{ company.mail }} + show + edit +
no records found
+ + Create new +{% endblock %} diff --git a/templates/company/new.html.twig b/templates/company/new.html.twig new file mode 100644 index 0000000..e957106 --- /dev/null +++ b/templates/company/new.html.twig @@ -0,0 +1,11 @@ +{% extends 'base.html.twig' %} + +{% block title %}New Company{% endblock %} + +{% block body %} +

Create new Company

+ + {{ include('company/_form.html.twig') }} + + back to list +{% endblock %} diff --git a/templates/company/show.html.twig b/templates/company/show.html.twig new file mode 100644 index 0000000..a46b203 --- /dev/null +++ b/templates/company/show.html.twig @@ -0,0 +1,38 @@ +{% extends 'base.html.twig' %} + +{% block title %}Company{% endblock %} + +{% block body %} +

Company

+ + + + + + + + + + + + + + + + + + + + + + + + +
Id{{ company.id }}
Name{{ company.name }}
Address{{ company.address }}
Tel{{ company.tel }}
Mail{{ company.mail }}
+ + back to list + + edit + + {{ include('company/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/degree/_delete_form.html.twig b/templates/degree/_delete_form.html.twig new file mode 100644 index 0000000..eb768ea --- /dev/null +++ b/templates/degree/_delete_form.html.twig @@ -0,0 +1,4 @@ +
+ + +
diff --git a/templates/degree/_form.html.twig b/templates/degree/_form.html.twig new file mode 100644 index 0000000..bf20b98 --- /dev/null +++ b/templates/degree/_form.html.twig @@ -0,0 +1,4 @@ +{{ form_start(form) }} + {{ form_widget(form) }} + +{{ form_end(form) }} diff --git a/templates/degree/edit.html.twig b/templates/degree/edit.html.twig new file mode 100644 index 0000000..73e9f09 --- /dev/null +++ b/templates/degree/edit.html.twig @@ -0,0 +1,13 @@ +{% extends 'base.html.twig' %} + +{% block title %}Edit Degree{% endblock %} + +{% block body %} +

Edit Degree

+ + {{ include('degree/_form.html.twig', {'button_label': 'Update'}) }} + + back to list + + {{ include('degree/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/degree/index.html.twig b/templates/degree/index.html.twig new file mode 100644 index 0000000..67172f7 --- /dev/null +++ b/templates/degree/index.html.twig @@ -0,0 +1,35 @@ +{% extends 'base.html.twig' %} + +{% block title %}Degree index{% endblock %} + +{% block body %} +

Degree index

+ + + + + + + + + + + {% for degree in degrees %} + + + + + + {% else %} + + + + {% endfor %} + +
IdLabelactions
{{ degree.id }}{{ degree.label }} + show + edit +
no records found
+ + Create new +{% endblock %} diff --git a/templates/degree/new.html.twig b/templates/degree/new.html.twig new file mode 100644 index 0000000..875707f --- /dev/null +++ b/templates/degree/new.html.twig @@ -0,0 +1,11 @@ +{% extends 'base.html.twig' %} + +{% block title %}New Degree{% endblock %} + +{% block body %} +

Create new Degree

+ + {{ include('degree/_form.html.twig') }} + + back to list +{% endblock %} diff --git a/templates/degree/show.html.twig b/templates/degree/show.html.twig new file mode 100644 index 0000000..fd86e8d --- /dev/null +++ b/templates/degree/show.html.twig @@ -0,0 +1,26 @@ +{% extends 'base.html.twig' %} + +{% block title %}Degree{% endblock %} + +{% block body %} +

Degree

+ + + + + + + + + + + + +
Id{{ degree.id }}
Label{{ degree.label }}
+ + back to list + + edit + + {{ include('degree/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/employee/_delete_form.html.twig b/templates/employee/_delete_form.html.twig new file mode 100644 index 0000000..39da1f7 --- /dev/null +++ b/templates/employee/_delete_form.html.twig @@ -0,0 +1,4 @@ +
+ + +
diff --git a/templates/employee/_form.html.twig b/templates/employee/_form.html.twig new file mode 100644 index 0000000..bf20b98 --- /dev/null +++ b/templates/employee/_form.html.twig @@ -0,0 +1,4 @@ +{{ form_start(form) }} + {{ form_widget(form) }} + +{{ form_end(form) }} diff --git a/templates/employee/edit.html.twig b/templates/employee/edit.html.twig new file mode 100644 index 0000000..4dadd66 --- /dev/null +++ b/templates/employee/edit.html.twig @@ -0,0 +1,13 @@ +{% extends 'base.html.twig' %} + +{% block title %}Edit Employee{% endblock %} + +{% block body %} +

Edit Employee

+ + {{ include('employee/_form.html.twig', {'button_label': 'Update'}) }} + + back to list + + {{ include('employee/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/employee/index.html.twig b/templates/employee/index.html.twig new file mode 100644 index 0000000..1e8c132 --- /dev/null +++ b/templates/employee/index.html.twig @@ -0,0 +1,49 @@ +{% extends 'base.html.twig' %} + +{% block title %}Employee index{% endblock %} + +{% block body %} +

Employee index

+ + + + + + + + + + + + + + + + + + {% for employee in employees %} + + + + + + + + + + + + + {% else %} + + + + {% endfor %} + +
IdNicknameRolesPasswordFirstNameLastNameTelAddressMailactions
{{ employee.id }}{{ employee.nickname }}{{ employee.roles ? employee.roles|json_encode : '' }}{{ employee.password }}{{ employee.firstName }}{{ employee.lastName }}{{ employee.tel }}{{ employee.address }}{{ employee.mail }} + show + edit +
no records found
+ + Create new +{% endblock %} diff --git a/templates/employee/new.html.twig b/templates/employee/new.html.twig new file mode 100644 index 0000000..677c5b6 --- /dev/null +++ b/templates/employee/new.html.twig @@ -0,0 +1,11 @@ +{% extends 'base.html.twig' %} + +{% block title %}New Employee{% endblock %} + +{% block body %} +

Create new Employee

+ + {{ include('employee/_form.html.twig') }} + + back to list +{% endblock %} diff --git a/templates/employee/show.html.twig b/templates/employee/show.html.twig new file mode 100644 index 0000000..8a33418 --- /dev/null +++ b/templates/employee/show.html.twig @@ -0,0 +1,54 @@ +{% extends 'base.html.twig' %} + +{% block title %}Employee{% endblock %} + +{% block body %} +

Employee

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Id{{ employee.id }}
Nickname{{ employee.nickname }}
Roles{{ employee.roles ? employee.roles|json_encode : '' }}
Password{{ employee.password }}
FirstName{{ employee.firstName }}
LastName{{ employee.lastName }}
Tel{{ employee.tel }}
Address{{ employee.address }}
Mail{{ employee.mail }}
+ + back to list + + edit + + {{ include('employee/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/faq/_delete_form.html.twig b/templates/faq/_delete_form.html.twig new file mode 100644 index 0000000..530fd2e --- /dev/null +++ b/templates/faq/_delete_form.html.twig @@ -0,0 +1,4 @@ +
+ + +
diff --git a/templates/faq/_form.html.twig b/templates/faq/_form.html.twig new file mode 100644 index 0000000..bf20b98 --- /dev/null +++ b/templates/faq/_form.html.twig @@ -0,0 +1,4 @@ +{{ form_start(form) }} + {{ form_widget(form) }} + +{{ form_end(form) }} diff --git a/templates/faq/edit.html.twig b/templates/faq/edit.html.twig new file mode 100644 index 0000000..e80b5a3 --- /dev/null +++ b/templates/faq/edit.html.twig @@ -0,0 +1,13 @@ +{% extends 'base.html.twig' %} + +{% block title %}Edit FAQ{% endblock %} + +{% block body %} +

Edit FAQ

+ + {{ include('faq/_form.html.twig', {'button_label': 'Update'}) }} + + back to list + + {{ include('faq/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/faq/index.html.twig b/templates/faq/index.html.twig new file mode 100644 index 0000000..7d6b0cb --- /dev/null +++ b/templates/faq/index.html.twig @@ -0,0 +1,39 @@ +{% extends 'base.html.twig' %} + +{% block title %}FAQ index{% endblock %} + +{% block body %} +

FAQ index

+ + + + + + + + + + + + + {% for faq in faqs %} + + + + + + + + {% else %} + + + + {% endfor %} + +
IdQuestionAnswerUpdateDateactions
{{ faq.id }}{{ faq.question }}{{ faq.answer }}{{ faq.updateDate ? faq.updateDate|date('Y-m-d') : '' }} + show + edit +
no records found
+ + Create new +{% endblock %} diff --git a/templates/faq/new.html.twig b/templates/faq/new.html.twig new file mode 100644 index 0000000..716a893 --- /dev/null +++ b/templates/faq/new.html.twig @@ -0,0 +1,11 @@ +{% extends 'base.html.twig' %} + +{% block title %}New FAQ{% endblock %} + +{% block body %} +

Create new FAQ

+ + {{ include('faq/_form.html.twig') }} + + back to list +{% endblock %} diff --git a/templates/faq/show.html.twig b/templates/faq/show.html.twig new file mode 100644 index 0000000..bafb197 --- /dev/null +++ b/templates/faq/show.html.twig @@ -0,0 +1,34 @@ +{% extends 'base.html.twig' %} + +{% block title %}FAQ{% endblock %} + +{% block body %} +

FAQ

+ + + + + + + + + + + + + + + + + + + + +
Id{{ faq.id }}
Question{{ faq.question }}
Answer{{ faq.answer }}
UpdateDate{{ faq.updateDate ? faq.updateDate|date('Y-m-d') : '' }}
+ + back to list + + edit + + {{ include('faq/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/intern/_delete_form.html.twig b/templates/intern/_delete_form.html.twig new file mode 100644 index 0000000..d9a3bbb --- /dev/null +++ b/templates/intern/_delete_form.html.twig @@ -0,0 +1,4 @@ +
+ + +
diff --git a/templates/intern/_form.html.twig b/templates/intern/_form.html.twig new file mode 100644 index 0000000..bf20b98 --- /dev/null +++ b/templates/intern/_form.html.twig @@ -0,0 +1,4 @@ +{{ form_start(form) }} + {{ form_widget(form) }} + +{{ form_end(form) }} diff --git a/templates/intern/edit.html.twig b/templates/intern/edit.html.twig new file mode 100644 index 0000000..589b452 --- /dev/null +++ b/templates/intern/edit.html.twig @@ -0,0 +1,13 @@ +{% extends 'base.html.twig' %} + +{% block title %}Edit Intern{% endblock %} + +{% block body %} +

Edit Intern

+ + {{ include('intern/_form.html.twig', {'button_label': 'Update'}) }} + + back to list + + {{ include('intern/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/intern/index.html.twig b/templates/intern/index.html.twig new file mode 100644 index 0000000..b8c3a7f --- /dev/null +++ b/templates/intern/index.html.twig @@ -0,0 +1,53 @@ +{% extends 'base.html.twig' %} + +{% block title %}Intern index{% endblock %} + +{% block body %} +

Intern index

+ + + + + + + + + + + + + + + + + + + + {% for intern in interns %} + + + + + + + + + + + + + + + {% else %} + + + + {% endfor %} + +
IdNicknameRolesPasswordFirstNameLastNameTelAddressMailCoverLetterResumeactions
{{ intern.id }}{{ intern.nickname }}{{ intern.roles ? intern.roles|json_encode : '' }}{{ intern.password }}{{ intern.firstName }}{{ intern.lastName }}{{ intern.tel }}{{ intern.address }}{{ intern.mail }}{{ intern.coverLetter }}{{ intern.resume }} + show + edit +
no records found
+ + Create new +{% endblock %} diff --git a/templates/intern/new.html.twig b/templates/intern/new.html.twig new file mode 100644 index 0000000..9f998fd --- /dev/null +++ b/templates/intern/new.html.twig @@ -0,0 +1,11 @@ +{% extends 'base.html.twig' %} + +{% block title %}New Intern{% endblock %} + +{% block body %} +

Create new Intern

+ + {{ include('intern/_form.html.twig') }} + + back to list +{% endblock %} diff --git a/templates/intern/show.html.twig b/templates/intern/show.html.twig new file mode 100644 index 0000000..7741d47 --- /dev/null +++ b/templates/intern/show.html.twig @@ -0,0 +1,62 @@ +{% extends 'base.html.twig' %} + +{% block title %}Intern{% endblock %} + +{% block body %} +

Intern

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Id{{ intern.id }}
Nickname{{ intern.nickname }}
Roles{{ intern.roles ? intern.roles|json_encode : '' }}
Password{{ intern.password }}
FirstName{{ intern.firstName }}
LastName{{ intern.lastName }}
Tel{{ intern.tel }}
Address{{ intern.address }}
Mail{{ intern.mail }}
CoverLetter{{ intern.coverLetter }}
Resume{{ intern.resume }}
+ + back to list + + edit + + {{ include('intern/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/message/_delete_form.html.twig b/templates/message/_delete_form.html.twig new file mode 100644 index 0000000..c225863 --- /dev/null +++ b/templates/message/_delete_form.html.twig @@ -0,0 +1,4 @@ +
+ + +
diff --git a/templates/message/_form.html.twig b/templates/message/_form.html.twig new file mode 100644 index 0000000..bf20b98 --- /dev/null +++ b/templates/message/_form.html.twig @@ -0,0 +1,4 @@ +{{ form_start(form) }} + {{ form_widget(form) }} + +{{ form_end(form) }} diff --git a/templates/message/edit.html.twig b/templates/message/edit.html.twig new file mode 100644 index 0000000..dde7265 --- /dev/null +++ b/templates/message/edit.html.twig @@ -0,0 +1,13 @@ +{% extends 'base.html.twig' %} + +{% block title %}Edit Message{% endblock %} + +{% block body %} +

Edit Message

+ + {{ include('message/_form.html.twig', {'button_label': 'Update'}) }} + + back to list + + {{ include('message/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/message/index.html.twig b/templates/message/index.html.twig new file mode 100644 index 0000000..0aff18b --- /dev/null +++ b/templates/message/index.html.twig @@ -0,0 +1,37 @@ +{% extends 'base.html.twig' %} + +{% block title %}Message index{% endblock %} + +{% block body %} +

Message index

+ + + + + + + + + + + + {% for message in messages %} + + + + + + + {% else %} + + + + {% endfor %} + +
IdContentSendingDateactions
{{ message.id }}{{ message.content }}{{ message.sendingDate ? message.sendingDate|date('Y-m-d H:i:s') : '' }} + show + edit +
no records found
+ + Create new +{% endblock %} diff --git a/templates/message/new.html.twig b/templates/message/new.html.twig new file mode 100644 index 0000000..5ee1626 --- /dev/null +++ b/templates/message/new.html.twig @@ -0,0 +1,11 @@ +{% extends 'base.html.twig' %} + +{% block title %}New Message{% endblock %} + +{% block body %} +

Create new Message

+ + {{ include('message/_form.html.twig') }} + + back to list +{% endblock %} diff --git a/templates/message/show.html.twig b/templates/message/show.html.twig new file mode 100644 index 0000000..575f7ab --- /dev/null +++ b/templates/message/show.html.twig @@ -0,0 +1,30 @@ +{% extends 'base.html.twig' %} + +{% block title %}Message{% endblock %} + +{% block body %} +

Message

+ + + + + + + + + + + + + + + + +
Id{{ message.id }}
Content{{ message.content }}
SendingDate{{ message.sendingDate ? message.sendingDate|date('Y-m-d H:i:s') : '' }}
+ + back to list + + edit + + {{ include('message/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/skill/_delete_form.html.twig b/templates/skill/_delete_form.html.twig new file mode 100644 index 0000000..a5d89c4 --- /dev/null +++ b/templates/skill/_delete_form.html.twig @@ -0,0 +1,4 @@ +
+ + +
diff --git a/templates/skill/_form.html.twig b/templates/skill/_form.html.twig new file mode 100644 index 0000000..bf20b98 --- /dev/null +++ b/templates/skill/_form.html.twig @@ -0,0 +1,4 @@ +{{ form_start(form) }} + {{ form_widget(form) }} + +{{ form_end(form) }} diff --git a/templates/skill/edit.html.twig b/templates/skill/edit.html.twig new file mode 100644 index 0000000..16d97d1 --- /dev/null +++ b/templates/skill/edit.html.twig @@ -0,0 +1,13 @@ +{% extends 'base.html.twig' %} + +{% block title %}Edit Skill{% endblock %} + +{% block body %} +

Edit Skill

+ + {{ include('skill/_form.html.twig', {'button_label': 'Update'}) }} + + back to list + + {{ include('skill/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/skill/index.html.twig b/templates/skill/index.html.twig new file mode 100644 index 0000000..658e606 --- /dev/null +++ b/templates/skill/index.html.twig @@ -0,0 +1,35 @@ +{% extends 'base.html.twig' %} + +{% block title %}Skill index{% endblock %} + +{% block body %} +

Skill index

+ + + + + + + + + + + {% for skill in skills %} + + + + + + {% else %} + + + + {% endfor %} + +
IdLabelactions
{{ skill.id }}{{ skill.label }} + show + edit +
no records found
+ + Create new +{% endblock %} diff --git a/templates/skill/new.html.twig b/templates/skill/new.html.twig new file mode 100644 index 0000000..2ff534a --- /dev/null +++ b/templates/skill/new.html.twig @@ -0,0 +1,11 @@ +{% extends 'base.html.twig' %} + +{% block title %}New Skill{% endblock %} + +{% block body %} +

Create new Skill

+ + {{ include('skill/_form.html.twig') }} + + back to list +{% endblock %} diff --git a/templates/skill/show.html.twig b/templates/skill/show.html.twig new file mode 100644 index 0000000..fa12f07 --- /dev/null +++ b/templates/skill/show.html.twig @@ -0,0 +1,26 @@ +{% extends 'base.html.twig' %} + +{% block title %}Skill{% endblock %} + +{% block body %} +

Skill

+ + + + + + + + + + + + +
Id{{ skill.id }}
Label{{ skill.label }}
+ + back to list + + edit + + {{ include('skill/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/user_app/_delete_form.html.twig b/templates/user_app/_delete_form.html.twig new file mode 100644 index 0000000..804fbbf --- /dev/null +++ b/templates/user_app/_delete_form.html.twig @@ -0,0 +1,4 @@ +
+ + +
diff --git a/templates/user_app/_form.html.twig b/templates/user_app/_form.html.twig new file mode 100644 index 0000000..bf20b98 --- /dev/null +++ b/templates/user_app/_form.html.twig @@ -0,0 +1,4 @@ +{{ form_start(form) }} + {{ form_widget(form) }} + +{{ form_end(form) }} diff --git a/templates/user_app/edit.html.twig b/templates/user_app/edit.html.twig new file mode 100644 index 0000000..346e18e --- /dev/null +++ b/templates/user_app/edit.html.twig @@ -0,0 +1,13 @@ +{% extends 'base.html.twig' %} + +{% block title %}Edit UserApp{% endblock %} + +{% block body %} +

Edit UserApp

+ + {{ include('user_app/_form.html.twig', {'button_label': 'Update'}) }} + + back to list + + {{ include('user_app/_delete_form.html.twig') }} +{% endblock %} diff --git a/templates/user_app/index.html.twig b/templates/user_app/index.html.twig new file mode 100644 index 0000000..b2c562e --- /dev/null +++ b/templates/user_app/index.html.twig @@ -0,0 +1,49 @@ +{% extends 'base.html.twig' %} + +{% block title %}UserApp index{% endblock %} + +{% block body %} +

UserApp index

+ + + + + + + + + + + + + + + + + + {% for user_app in user_apps %} + + + + + + + + + + + + + {% else %} + + + + {% endfor %} + +
IdNicknameRolesPasswordFirstNameLastNameTelAddressMailactions
{{ user_app.id }}{{ user_app.nickname }}{{ user_app.roles ? user_app.roles|json_encode : '' }}{{ user_app.password }}{{ user_app.firstName }}{{ user_app.lastName }}{{ user_app.tel }}{{ user_app.address }}{{ user_app.mail }} + show + edit +
no records found
+ + Create new +{% endblock %} diff --git a/templates/user_app/new.html.twig b/templates/user_app/new.html.twig new file mode 100644 index 0000000..8a65e8d --- /dev/null +++ b/templates/user_app/new.html.twig @@ -0,0 +1,11 @@ +{% extends 'base.html.twig' %} + +{% block title %}New UserApp{% endblock %} + +{% block body %} +

Create new UserApp

+ + {{ include('user_app/_form.html.twig') }} + + back to list +{% endblock %} diff --git a/templates/user_app/show.html.twig b/templates/user_app/show.html.twig new file mode 100644 index 0000000..931539c --- /dev/null +++ b/templates/user_app/show.html.twig @@ -0,0 +1,54 @@ +{% extends 'base.html.twig' %} + +{% block title %}UserApp{% endblock %} + +{% block body %} +

UserApp

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Id{{ user_app.id }}
Nickname{{ user_app.nickname }}
Roles{{ user_app.roles ? user_app.roles|json_encode : '' }}
Password{{ user_app.password }}
FirstName{{ user_app.firstName }}
LastName{{ user_app.lastName }}
Tel{{ user_app.tel }}
Address{{ user_app.address }}
Mail{{ user_app.mail }}
+ + back to list + + edit + + {{ include('user_app/_delete_form.html.twig') }} +{% endblock %}