mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 21:13:57 +00:00
Adding generated files
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
chill_activity_activity:
|
||||
resource: "@ChillActivityBundle/Resources/config/routing/activity.yml"
|
||||
prefix: /activity
|
||||
|
||||
chill_activity_activityreason:
|
||||
resource: "@ChillActivityBundle/Resources/config/routing/activityreason.yml"
|
||||
prefix: /activityreason
|
||||
|
||||
chill_activity_activityreasoncategory:
|
||||
resource: "@ChillActivityBundle/Resources/config/routing/activityreasoncategory.yml"
|
||||
prefix: /activityreasoncategory
|
||||
|
||||
chill_activity_activitytype:
|
||||
resource: "@ChillActivityBundle/Resources/config/routing/activitytype.yml"
|
||||
prefix: /activitytype
|
||||
|
||||
chill_activity_homepage:
|
||||
path: /hello/{name}
|
||||
defaults: { _controller: ChillActivityBundle:Default:index }
|
||||
|
30
Resources/config/routing/activity.yml
Normal file
30
Resources/config/routing/activity.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
activity:
|
||||
path: /
|
||||
defaults: { _controller: "ChillActivityBundle:Activity:index" }
|
||||
|
||||
activity_show:
|
||||
path: /{id}/show
|
||||
defaults: { _controller: "ChillActivityBundle:Activity:show" }
|
||||
|
||||
activity_new:
|
||||
path: /new
|
||||
defaults: { _controller: "ChillActivityBundle:Activity:new" }
|
||||
|
||||
activity_create:
|
||||
path: /create
|
||||
defaults: { _controller: "ChillActivityBundle:Activity:create" }
|
||||
methods: POST
|
||||
|
||||
activity_edit:
|
||||
path: /{id}/edit
|
||||
defaults: { _controller: "ChillActivityBundle:Activity:edit" }
|
||||
|
||||
activity_update:
|
||||
path: /{id}/update
|
||||
defaults: { _controller: "ChillActivityBundle:Activity:update" }
|
||||
methods: [POST, PUT]
|
||||
|
||||
activity_delete:
|
||||
path: /{id}/delete
|
||||
defaults: { _controller: "ChillActivityBundle:Activity:delete" }
|
||||
methods: [POST, DELETE]
|
30
Resources/config/routing/activityreason.yml
Normal file
30
Resources/config/routing/activityreason.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
activityreason:
|
||||
path: /
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReason:index" }
|
||||
|
||||
activityreason_show:
|
||||
path: /{id}/show
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReason:show" }
|
||||
|
||||
activityreason_new:
|
||||
path: /new
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReason:new" }
|
||||
|
||||
activityreason_create:
|
||||
path: /create
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReason:create" }
|
||||
methods: POST
|
||||
|
||||
activityreason_edit:
|
||||
path: /{id}/edit
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReason:edit" }
|
||||
|
||||
activityreason_update:
|
||||
path: /{id}/update
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReason:update" }
|
||||
methods: [POST, PUT]
|
||||
|
||||
activityreason_delete:
|
||||
path: /{id}/delete
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReason:delete" }
|
||||
methods: [POST, DELETE]
|
30
Resources/config/routing/activityreasoncategory.yml
Normal file
30
Resources/config/routing/activityreasoncategory.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
activityreasoncategory:
|
||||
path: /
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReasonCategory:index" }
|
||||
|
||||
activityreasoncategory_show:
|
||||
path: /{id}/show
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReasonCategory:show" }
|
||||
|
||||
activityreasoncategory_new:
|
||||
path: /new
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReasonCategory:new" }
|
||||
|
||||
activityreasoncategory_create:
|
||||
path: /create
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReasonCategory:create" }
|
||||
methods: POST
|
||||
|
||||
activityreasoncategory_edit:
|
||||
path: /{id}/edit
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReasonCategory:edit" }
|
||||
|
||||
activityreasoncategory_update:
|
||||
path: /{id}/update
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReasonCategory:update" }
|
||||
methods: [POST, PUT]
|
||||
|
||||
activityreasoncategory_delete:
|
||||
path: /{id}/delete
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityReasonCategory:delete" }
|
||||
methods: [POST, DELETE]
|
30
Resources/config/routing/activitytype.yml
Normal file
30
Resources/config/routing/activitytype.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
activitytype:
|
||||
path: /
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityType:index" }
|
||||
|
||||
activitytype_show:
|
||||
path: /{id}/show
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityType:show" }
|
||||
|
||||
activitytype_new:
|
||||
path: /new
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityType:new" }
|
||||
|
||||
activitytype_create:
|
||||
path: /create
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityType:create" }
|
||||
methods: POST
|
||||
|
||||
activitytype_edit:
|
||||
path: /{id}/edit
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityType:edit" }
|
||||
|
||||
activitytype_update:
|
||||
path: /{id}/update
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityType:update" }
|
||||
methods: [POST, PUT]
|
||||
|
||||
activitytype_delete:
|
||||
path: /{id}/delete
|
||||
defaults: { _controller: "ChillActivityBundle:ActivityType:delete" }
|
||||
methods: [POST, DELETE]
|
16
Resources/views/Activity/edit.html.twig
Normal file
16
Resources/views/Activity/edit.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>Activity edit</h1>
|
||||
|
||||
{{ form(edit_form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activity') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
<li>{{ form(delete_form) }}</li>
|
||||
</ul>
|
||||
{% endblock %}
|
47
Resources/views/Activity/index.html.twig
Normal file
47
Resources/views/Activity/index.html.twig
Normal file
@@ -0,0 +1,47 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>Activity list</h1>
|
||||
|
||||
<table class="records_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Date</th>
|
||||
<th>Durationtime</th>
|
||||
<th>Remark</th>
|
||||
<th>Attendee</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for entity in entities %}
|
||||
<tr>
|
||||
<td><a href="{{ path('activity_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
|
||||
<td>{% if entity.date %}{{ entity.date|date('Y-m-d H:i:s') }}{% endif %}</td>
|
||||
<td>{{ entity.durationTime }}</td>
|
||||
<td>{{ entity.remark }}</td>
|
||||
<td>{{ entity.attendee }}</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ path('activity_show', { 'id': entity.id }) }}">show</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('activity_edit', { 'id': entity.id }) }}">edit</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ path('activity_new') }}">
|
||||
Create a new entry
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
15
Resources/views/Activity/new.html.twig
Normal file
15
Resources/views/Activity/new.html.twig
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>Activity creation</h1>
|
||||
|
||||
{{ form(form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activity') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
44
Resources/views/Activity/show.html.twig
Normal file
44
Resources/views/Activity/show.html.twig
Normal file
@@ -0,0 +1,44 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>Activity</h1>
|
||||
|
||||
<table class="record_properties">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ entity.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<td>{{ entity.date|date('Y-m-d H:i:s') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Durationtime</th>
|
||||
<td>{{ entity.durationTime }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Remark</th>
|
||||
<td>{{ entity.remark }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Attendee</th>
|
||||
<td>{{ entity.attendee }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activity') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('activity_edit', { 'id': entity.id }) }}">
|
||||
Edit
|
||||
</a>
|
||||
</li>
|
||||
<li>{{ form(delete_form) }}</li>
|
||||
</ul>
|
||||
{% endblock %}
|
16
Resources/views/ActivityReason/edit.html.twig
Normal file
16
Resources/views/ActivityReason/edit.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityReason edit</h1>
|
||||
|
||||
{{ form(edit_form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activityreason') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
<li>{{ form(delete_form) }}</li>
|
||||
</ul>
|
||||
{% endblock %}
|
43
Resources/views/ActivityReason/index.html.twig
Normal file
43
Resources/views/ActivityReason/index.html.twig
Normal file
@@ -0,0 +1,43 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityReason list</h1>
|
||||
|
||||
<table class="records_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Label</th>
|
||||
<th>Active</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for entity in entities %}
|
||||
<tr>
|
||||
<td><a href="{{ path('activityreason_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
|
||||
<td>{{ entity.label }}</td>
|
||||
<td>{{ entity.active }}</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ path('activityreason_show', { 'id': entity.id }) }}">show</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('activityreason_edit', { 'id': entity.id }) }}">edit</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ path('activityreason_new') }}">
|
||||
Create a new entry
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
15
Resources/views/ActivityReason/new.html.twig
Normal file
15
Resources/views/ActivityReason/new.html.twig
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityReason creation</h1>
|
||||
|
||||
{{ form(form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activityreason') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
36
Resources/views/ActivityReason/show.html.twig
Normal file
36
Resources/views/ActivityReason/show.html.twig
Normal file
@@ -0,0 +1,36 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityReason</h1>
|
||||
|
||||
<table class="record_properties">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ entity.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Label</th>
|
||||
<td>{{ entity.label }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Active</th>
|
||||
<td>{{ entity.active }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activityreason') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('activityreason_edit', { 'id': entity.id }) }}">
|
||||
Edit
|
||||
</a>
|
||||
</li>
|
||||
<li>{{ form(delete_form) }}</li>
|
||||
</ul>
|
||||
{% endblock %}
|
16
Resources/views/ActivityReasonCategory/edit.html.twig
Normal file
16
Resources/views/ActivityReasonCategory/edit.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityReasonCategory edit</h1>
|
||||
|
||||
{{ form(edit_form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activityreasoncategory') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
<li>{{ form(delete_form) }}</li>
|
||||
</ul>
|
||||
{% endblock %}
|
43
Resources/views/ActivityReasonCategory/index.html.twig
Normal file
43
Resources/views/ActivityReasonCategory/index.html.twig
Normal file
@@ -0,0 +1,43 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityReasonCategory list</h1>
|
||||
|
||||
<table class="records_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Label</th>
|
||||
<th>Active</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for entity in entities %}
|
||||
<tr>
|
||||
<td><a href="{{ path('activityreasoncategory_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
|
||||
<td>{{ entity.label }}</td>
|
||||
<td>{{ entity.active }}</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ path('activityreasoncategory_show', { 'id': entity.id }) }}">show</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('activityreasoncategory_edit', { 'id': entity.id }) }}">edit</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ path('activityreasoncategory_new') }}">
|
||||
Create a new entry
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
15
Resources/views/ActivityReasonCategory/new.html.twig
Normal file
15
Resources/views/ActivityReasonCategory/new.html.twig
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityReasonCategory creation</h1>
|
||||
|
||||
{{ form(form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activityreasoncategory') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
36
Resources/views/ActivityReasonCategory/show.html.twig
Normal file
36
Resources/views/ActivityReasonCategory/show.html.twig
Normal file
@@ -0,0 +1,36 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityReasonCategory</h1>
|
||||
|
||||
<table class="record_properties">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ entity.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Label</th>
|
||||
<td>{{ entity.label }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Active</th>
|
||||
<td>{{ entity.active }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activityreasoncategory') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('activityreasoncategory_edit', { 'id': entity.id }) }}">
|
||||
Edit
|
||||
</a>
|
||||
</li>
|
||||
<li>{{ form(delete_form) }}</li>
|
||||
</ul>
|
||||
{% endblock %}
|
16
Resources/views/ActivityType/edit.html.twig
Normal file
16
Resources/views/ActivityType/edit.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityType edit</h1>
|
||||
|
||||
{{ form(edit_form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activitytype') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
<li>{{ form(delete_form) }}</li>
|
||||
</ul>
|
||||
{% endblock %}
|
41
Resources/views/ActivityType/index.html.twig
Normal file
41
Resources/views/ActivityType/index.html.twig
Normal file
@@ -0,0 +1,41 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityType list</h1>
|
||||
|
||||
<table class="records_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Name</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for entity in entities %}
|
||||
<tr>
|
||||
<td><a href="{{ path('activitytype_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
|
||||
<td>{{ entity.name }}</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ path('activitytype_show', { 'id': entity.id }) }}">show</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('activitytype_edit', { 'id': entity.id }) }}">edit</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ path('activitytype_new') }}">
|
||||
Create a new entry
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
15
Resources/views/ActivityType/new.html.twig
Normal file
15
Resources/views/ActivityType/new.html.twig
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityType creation</h1>
|
||||
|
||||
{{ form(form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activitytype') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
32
Resources/views/ActivityType/show.html.twig
Normal file
32
Resources/views/ActivityType/show.html.twig
Normal file
@@ -0,0 +1,32 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>ActivityType</h1>
|
||||
|
||||
<table class="record_properties">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ entity.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<td>{{ entity.name }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('activitytype') }}">
|
||||
Back to the list
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('activitytype_edit', { 'id': entity.id }) }}">
|
||||
Edit
|
||||
</a>
|
||||
</li>
|
||||
<li>{{ form(delete_form) }}</li>
|
||||
</ul>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user