2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<h1>Lenses</h1>
|
|
|
|
|
2017-11-10 15:50:05 -05:00
|
|
|
<div class="small primary callout">
|
2017-11-09 11:53:01 -05:00
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('lens_new') }}">Add a Lens</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2017-11-10 15:50:05 -05:00
|
|
|
<table class="hover scroll stack">
|
2017-11-09 11:53:01 -05:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Actions</th>
|
|
|
|
<th>Id</th>
|
2017-11-10 15:50:05 -05:00
|
|
|
<th>Brand</th>
|
2017-11-09 11:53:01 -05:00
|
|
|
<th>Description</th>
|
|
|
|
<th>Aperture Range</th>
|
|
|
|
<th>Focal Range</th>
|
|
|
|
<th>Serial</th>
|
|
|
|
<th>Purchase Price</th>
|
|
|
|
<th>Notes</th>
|
|
|
|
<th>Mount</th>
|
|
|
|
<th>Received</th>
|
|
|
|
<th>Formerly Owned</th>
|
|
|
|
<th>Front Filter Size</th>
|
|
|
|
<th>Rear Filter Size</th>
|
|
|
|
<th>Is Teleconverter?</th>
|
|
|
|
<th>Design Elements / Groups</th>
|
|
|
|
<th>Aperture Blades</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for lense in lenses %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('lens_edit', { 'id': lense.id }) }}">edit</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td><a href="{{ path('lens_show', { 'id': lense.id }) }}">{{ lense.id }}</a></td>
|
2017-11-10 15:50:05 -05:00
|
|
|
<td>{{ lense.brand }}</td>
|
|
|
|
<td>{{ lense.coatings }} {{ lense.productLine }} {{ lense.model }}</td>
|
2017-11-09 11:53:01 -05:00
|
|
|
<td>{{ lense.minFStop }} — {{ lense.maxFStop }}</td>
|
|
|
|
<td>{{ lense.minFocalLength }} — {{ lense.maxFocalLength }}</td>
|
|
|
|
<td>{{ lense.serial }}</td>
|
|
|
|
<td>{{ lense.purchasePrice }}</td>
|
|
|
|
<td>{{ lense.notes }}</td>
|
|
|
|
<td>{{ lense.mount }}</td>
|
|
|
|
<td>{% if lense.received %}Yes{% else %}No{% endif %}</td>
|
|
|
|
<td>{% if lense.formerlyOwned %}Yes{% else %}No{% endif %}</td>
|
|
|
|
<td>{{ lense.frontFilterSize }}</td>
|
|
|
|
<td>{{ lense.rearFilterSize }}</td>
|
|
|
|
<td>{% if lense.isTeleconverter %}Yes{% else %}No{% endif %}</td>
|
|
|
|
<td>{{ lense.designElements }} / {{ lense.designGroups }}</td>
|
|
|
|
<td>{{ lense.apertureBlades }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|