2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block body %}
|
2018-02-14 15:08:03 -05:00
|
|
|
<h2>Lenses</h2>
|
2017-11-09 11:53:01 -05:00
|
|
|
|
2018-02-14 15:08:03 -05:00
|
|
|
<div class="small primary callout">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('lens_new') }}">Add a Lens</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-11-09 11:53:01 -05:00
|
|
|
|
2018-02-14 15:08:03 -05:00
|
|
|
<table class="hover scroll stack">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Actions</th>
|
|
|
|
<th>Id</th>
|
|
|
|
<th>Brand</th>
|
|
|
|
<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>Image Size</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>
|
|
|
|
<td>{{ lense.brand }}</td>
|
|
|
|
<td>{{ lense.coatings }} {{ lense.productLine }} {{ lense.model }}</td>
|
|
|
|
<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>{{ lense.imageSize }}</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>
|
2017-11-09 11:53:01 -05:00
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|