Major overhaul:

* Switched to semantic ui.
* Add searching by location or tag
* Reworked the forms
This commit is contained in:
Tim Schumacher 2014-07-08 00:11:48 +02:00
parent 741e1c403a
commit 1f6c3c5fd4
51 changed files with 43286 additions and 771 deletions

View file

@ -1,52 +1,23 @@
{% extends 'CalciferBundle::layout.html.twig' %}
{% block body -%}
<h1>Event</h1>
<table class="record_properties">
<tbody>
<tr>
<th>Id</th>
<td>{{ entity.id }}</td>
</tr>
<tr>
<th>Startdate</th>
<td>{{ entity.startdate }}</td>
</tr>
<tr>
<th>Enddate</th>
<td>{{ entity.enddate }}</td>
</tr>
<tr>
<th>Summary</th>
<td>{{ entity.summary }}</td>
</tr>
<tr>
<th>Description</th>
<td>{{ entity.description }}</td>
</tr>
<tr>
<th>Locations_id</th>
<td>{{ entity.locationsid }}</td>
</tr>
<tr>
<th>Url</th>
<td>{{ entity.url }}</td>
</tr>
</tbody>
</table>
<ul class="record_actions">
<li>
<a href="{{ path('') }}">
Back to the list
</a>
</li>
<li>
<a href="{{ path('_edit', { 'id': entity.id }) }}">
Edit
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% block css %}
{% stylesheets filter="compass"
"@CalciferBundle/Resources/assets/css/events.scss"
%}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
{% endblock %}
{% block javascripts %}
{% javascripts
"@CalciferBundle/Resources/assets/js/events.js"
%}
<script src="{{ asset_url }}"></script>
{% endjavascripts %}
{% endblock %}
{% block body -%}
<div class="ui one column page grid">
{{ include('CalciferBundle:Event:event_box.html.twig') }}
</div>
{% endblock %}