collection-crud/templates/previouslyownedlenses/index.html.twig

70 lines
2.2 KiB
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'base.html.twig' %}
{% block title %}
Camera 📷 CRUD - Previously Owned Lenses
{% endblock %}
2017-11-09 11:53:01 -05:00
{% block body %}
2018-02-14 15:08:03 -05:00
<h2>Previously Owned Lenses</h2>
2017-11-09 11:53:01 -05:00
2018-07-18 11:35:27 -04:00
<div class="small secondary callout">
<table class="hover scroll stack">
<thead>
<tr>
<th>Actions</th>
<th>Brand</th>
<th>Coatings</th>
<th>Product Line</th>
<th>Model</th>
<th>Aperture Range</th>
<th>Focal Range</th>
<th>Serial</th>
<th>Purchase Price</th>
<th>Mount</th>
<th>Image Size</th>
<th>Filter (F/R)</th>
<th>Is Teleconverter?</th>
<th>Design Elements/Groups</th>
<th>Aperture Blades</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
{% for previouslyOwnedLense in previouslyOwnedLenses %}
<tr>
<td>
<ul>
<li>
<a href="{{ path('previously-owned-lens_edit', { 'id': previouslyOwnedLense.id }) }}">
Edit
<span class="edit-icon">&#9998;</span>
</a>
</li>
<li>
<a
href="{{ path('previously-owned-lens_show', { 'id': previouslyOwnedLense.id }) }}">View 👁</a>
</li>
</ul>
</td>
<td>{{ previouslyOwnedLense.brand }}</td>
<td>{{ previouslyOwnedLense.coatings }}</td>
<td>{{ previouslyOwnedLense.productLine }}</td>
<td>{{ previouslyOwnedLense.model }}</td>
<td>{{ previouslyOwnedLense.minFStop }} &mdash; {{ previouslyOwnedLense.maxFStop }}</td>
<td>{{ previouslyOwnedLense.minFocalLength }} &mdash; {{ previouslyOwnedLense.maxFocalLength }}</td>
<td>{{ previouslyOwnedLense.serial }}</td>
<td>${{ previouslyOwnedLense.purchasePrice }}</td>
<td>{{ previouslyOwnedLense.mount }}</td>
<td>{{ previouslyOwnedLense.imageSize }}</td>
<td>{{ previouslyOwnedLense.frontFilterSize }} / {{ previouslyOwnedLense.rearFilterSize }}</td>
<td class="text-center">{% if previouslyOwnedLense.isTeleconverter %}{% else %}&#10007;{% endif %}</td>
<td>{{ previouslyOwnedLense.designElements }}/{{ previouslyOwnedLense.designGroups }}</td>
<td>{{ previouslyOwnedLense.apertureBlades }}</td>
<td>{{ previouslyOwnedLense.notes }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
2017-11-09 11:53:01 -05:00
{% endblock %}