move bundle to root dir for inclusion in packagist refs #259

This commit is contained in:
2014-11-04 17:10:59 +01:00
parent b826d8e132
commit 8011746b26
100 changed files with 5243 additions and 823 deletions

View File

@@ -0,0 +1,16 @@
{% 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

@@ -0,0 +1,45 @@
{% 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

@@ -0,0 +1,15 @@
{% 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

@@ -0,0 +1,40 @@
{% 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 %}