remove entities for testing purpose - clean code

fix #259
This commit is contained in:
2015-01-22 09:50:53 +01:00
parent 4d4a3116a0
commit 3707b08aee
44 changed files with 0 additions and 2462 deletions

View File

@@ -1,16 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>Adress edit</h1>
{{ form(edit_form) }}
<ul class="record_actions">
<li>
<a href="{{ path('adress') }}">
Back to the list
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,41 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>Adress list</h1>
<table class="records_list">
<thead>
<tr>
<th>Id</th>
<th>Data</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{% for entity in entities %}
<tr>
<td><a href="{{ path('adress_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
<td>{{ entity.data }}</td>
<td>
<ul>
<li>
<a href="{{ path('adress_show', { 'id': entity.id }) }}">show</a>
</li>
<li>
<a href="{{ path('adress_edit', { 'id': entity.id }) }}">edit</a>
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
<li>
<a href="{{ path('adress_new') }}">
Create a new entry
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,15 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>Adress creation</h1>
{{ form(form) }}
<ul class="record_actions">
<li>
<a href="{{ path('adress') }}">
Back to the list
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,32 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>Adress</h1>
<table class="record_properties">
<tbody>
<tr>
<th>Id</th>
<td>{{ entity.id }}</td>
</tr>
<tr>
<th>Data</th>
<td>{{ entity.data }}</td>
</tr>
</tbody>
</table>
<ul class="record_actions">
<li>
<a href="{{ path('adress') }}">
Back to the list
</a>
</li>
<li>
<a href="{{ path('adress_edit', { 'id': entity.id }) }}">
Edit
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,22 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>BlopEntity edit</h1>
{{ form_start(edit_form) }}
{{ form_row(edit_form.customField) }}
{{ form_rest(edit_form) }}
{{ form_end(edit_form) }}
<ul class="record_actions">
<li>
<a href="{{ path('blopentity') }}">
Back to the list
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,45 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>BlopEntity list</h1>
<table class="records_list">
<thead>
<tr>
<th>Id</th>
<th>Field1</th>
<th>Field2</th>
<th>Customfield</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{% for entity in entities %}
<tr>
<td><a href="{{ path('blopentity_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
<td>{{ entity.field1 }}</td>
<td>{{ entity.field2 }}</td>
<td>{{ dump(entity.customField) }}</td>
<td>
<ul>
<li>
<a href="{{ path('blopentity_show', { 'id': entity.id }) }}">show</a>
</li>
<li>
<a href="{{ path('blopentity_edit', { 'id': entity.id }) }}">edit</a>
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
<li>
<a href="{{ path('blopentity_new') }}">
Create a new entry
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,15 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>BlopEntity creation</h1>
{{ form(form) }}
<ul class="record_actions">
<li>
<a href="{{ path('blopentity') }}">
Back to the list
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,40 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>BlopEntity</h1>
<table class="record_properties">
<tbody>
<tr>
<th>Id</th>
<td>{{ entity.id }}</td>
</tr>
<tr>
<th>Field1</th>
<td>{{ entity.field1 }}</td>
</tr>
<tr>
<th>Field2</th>
<td>{{ entity.field2 }}</td>
</tr>
<tr>
<th>Customfield</th>
<td>{{ dump(entity.customField) }}</td>
</tr>
</tbody>
</table>
<ul class="record_actions">
<li>
<a href="{{ path('blopentity') }}">
Back to the list
</a>
</li>
<li>
<a href="{{ path('blopentity_edit', { 'id': entity.id }) }}">
Edit
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,16 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>BlopEntity2 edit</h1>
{{ form(edit_form) }}
<ul class="record_actions">
<li>
<a href="{{ path('blopentity2') }}">
Back to the list
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,41 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>BlopEntity2 list</h1>
<table class="records_list">
<thead>
<tr>
<th>Id</th>
<th>CustomfieldData</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{% for entity in entities %}
<tr>
<td><a href="{{ path('blopentity2_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
<td>{{ entity.CustomfieldData }}</td>
<td>
<ul>
<li>
<a href="{{ path('blopentity2_show', { 'id': entity.id }) }}">show</a>
</li>
<li>
<a href="{{ path('blopentity2_edit', { 'id': entity.id }) }}">edit</a>
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
<li>
<a href="{{ path('blopentity2_new') }}">
Create a new entry
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,15 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>BlopEntity2 creation</h1>
{{ form(form) }}
<ul class="record_actions">
<li>
<a href="{{ path('blopentity2') }}">
Back to the list
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,32 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>BlopEntity2</h1>
<table class="record_properties">
<tbody>
<tr>
<th>Id</th>
<td>{{ entity.id }}</td>
</tr>
<tr>
<th>CustomfieldData</th>
<td>{{ entity.customFieldData }}</td>
</tr>
</tbody>
</table>
<ul class="record_actions">
<li>
<a href="{{ path('blopentity2') }}">
Back to the list
</a>
</li>
<li>
<a href="{{ path('blopentity2_edit', { 'id': entity.id }) }}">
Edit
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,16 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>Entity edit</h1>
{{ form(edit_form) }}
<ul class="record_actions">
<li>
<a href="{{ path('entity') }}">
Back to the list
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,45 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>Entity list</h1>
<table class="records_list">
<thead>
<tr>
<th>Id</th>
<th>Field1</th>
<th>Field2</th>
<th>Customfields</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{% for entity in entities %}
<tr>
<td><a href="{{ path('entity_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
<td>{{ entity.field1 }}</td>
<td>{{ entity.field2 }}</td>
<td>{{ entity.customFields }}</td>
<td>
<ul>
<li>
<a href="{{ path('entity_show', { 'id': entity.id }) }}">show</a>
</li>
<li>
<a href="{{ path('entity_edit', { 'id': entity.id }) }}">edit</a>
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
<li>
<a href="{{ path('entity_new') }}">
Create a new entry
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,15 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>Entity creation</h1>
{{ form(form) }}
<ul class="record_actions">
<li>
<a href="{{ path('entity') }}">
Back to the list
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,40 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>Entity</h1>
<table class="record_properties">
<tbody>
<tr>
<th>Id</th>
<td>{{ entity.id }}</td>
</tr>
<tr>
<th>Field1</th>
<td>{{ entity.field1 }}</td>
</tr>
<tr>
<th>Field2</th>
<td>{{ entity.field2 }}</td>
</tr>
<tr>
<th>Customfields</th>
<td>{{ entity.customFields }}</td>
</tr>
</tbody>
</table>
<ul class="record_actions">
<li>
<a href="{{ path('entity') }}">
Back to the list
</a>
</li>
<li>
<a href="{{ path('entity_edit', { 'id': entity.id }) }}">
Edit
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,16 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>TestEntity edit</h1>
{{ form(edit_form) }}
<ul class="record_actions">
<li>
<a href="{{ path('testentity') }}">
Back to the list
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,45 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>TestEntity list</h1>
<table class="records_list">
<thead>
<tr>
<th>Id</th>
<th>Field1</th>
<th>Field2</th>
<th>Customfields</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{% for entity in entities %}
<tr>
<td><a href="{{ path('testentity_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
<td>{{ entity.field1 }}</td>
<td>{{ entity.field2 }}</td>
<td>{{ entity.customFields }}</td>
<td>
<ul>
<li>
<a href="{{ path('testentity_show', { 'id': entity.id }) }}">show</a>
</li>
<li>
<a href="{{ path('testentity_edit', { 'id': entity.id }) }}">edit</a>
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
<li>
<a href="{{ path('testentity_new') }}">
Create a new entry
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,15 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>TestEntity creation</h1>
{{ form(form) }}
<ul class="record_actions">
<li>
<a href="{{ path('testentity') }}">
Back to the list
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,40 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>TestEntity</h1>
<table class="record_properties">
<tbody>
<tr>
<th>Id</th>
<td>{{ entity.id }}</td>
</tr>
<tr>
<th>Field1</th>
<td>{{ entity.field1 }}</td>
</tr>
<tr>
<th>Field2</th>
<td>{{ entity.field2 }}</td>
</tr>
<tr>
<th>Customfields</th>
<td>{{ entity.customFields }}</td>
</tr>
</tbody>
</table>
<ul class="record_actions">
<li>
<a href="{{ path('testentity') }}">
Back to the list
</a>
</li>
<li>
<a href="{{ path('testentity_edit', { 'id': entity.id }) }}">
Edit
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,16 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>TestExtraColumn edit</h1>
{{ form(edit_form) }}
<ul class="record_actions">
<li>
<a href="{{ path('testextracolumn') }}">
Back to the list
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}

View File

@@ -1,41 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>TestExtraColumn 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('testextracolumn_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
<td>{{ entity.name }}</td>
<td>
<ul>
<li>
<a href="{{ path('testextracolumn_show', { 'id': entity.id }) }}">show</a>
</li>
<li>
<a href="{{ path('testextracolumn_edit', { 'id': entity.id }) }}">edit</a>
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
<li>
<a href="{{ path('testextracolumn_new') }}">
Create a new entry
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,15 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>TestExtraColumn creation</h1>
{{ form(form) }}
<ul class="record_actions">
<li>
<a href="{{ path('testextracolumn') }}">
Back to the list
</a>
</li>
</ul>
{% endblock %}

View File

@@ -1,32 +0,0 @@
{% extends '::base.html.twig' %}
{% block body -%}
<h1>TestExtraColumn</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('testextracolumn') }}">
Back to the list
</a>
</li>
<li>
<a href="{{ path('testextracolumn_edit', { 'id': entity.id }) }}">
Edit
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}