2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
2018-07-23 09:52:00 -04:00
|
|
|
{% block title %}Camera 📷 CRUD - Lenses{% endblock %}
|
2018-02-26 15:25:15 -05:00
|
|
|
|
2017-11-09 11:53:01 -05:00
|
|
|
{% 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-07-23 09:52:00 -04:00
|
|
|
<ul
|
|
|
|
class="tabs"
|
|
|
|
data-deep-link="true"
|
|
|
|
data-update-history="true"
|
|
|
|
data-deep-link-smudge="true"
|
|
|
|
data-deep-link-smudge-delay="500"
|
|
|
|
data-tabs
|
|
|
|
id="classifications"
|
|
|
|
>
|
2022-10-07 16:04:56 -04:00
|
|
|
<li class="tabs-title is-active" aria-selected="true">
|
|
|
|
<a href="#received">Received</a>
|
2018-07-23 09:52:00 -04:00
|
|
|
</li>
|
|
|
|
<li class="tabs-title">
|
2022-10-07 16:04:56 -04:00
|
|
|
<a href="#not_received">Not Yet Received</a>
|
2018-07-23 09:52:00 -04:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="tabs-content" data-tabs-content="classifications">
|
2022-10-07 16:04:56 -04:00
|
|
|
<div class="tabs-panel is-active" id="received">
|
2018-07-23 09:52:00 -04:00
|
|
|
<table class="hover scroll sortable stack">
|
2022-10-07 16:04:56 -04:00
|
|
|
<caption>Received</caption>
|
2018-07-23 09:52:00 -04:00
|
|
|
<thead>
|
2018-07-18 11:35:27 -04:00
|
|
|
<tr>
|
|
|
|
<th>Actions</th>
|
|
|
|
<th>Brand</th>
|
2022-10-07 16:04:56 -04:00
|
|
|
<th>Product Line</th>
|
2018-07-18 11:35:27 -04:00
|
|
|
<th>Description</th>
|
|
|
|
<th>Aperture Range</th>
|
|
|
|
<th>Focal Range</th>
|
|
|
|
<th class="text-right">Serial</th>
|
|
|
|
<th class="text-right">Purchase Price</th>
|
|
|
|
<th>Mount</th>
|
|
|
|
<th>Image Size</th>
|
|
|
|
<th>Formerly Owned</th>
|
2022-10-07 16:04:56 -04:00
|
|
|
<th>Filter (F/R)</th>
|
2018-07-18 11:35:27 -04:00
|
|
|
<th>Is Teleconverter?</th>
|
|
|
|
<th>Design Elements / Groups</th>
|
|
|
|
<th>Aperture Blades</th>
|
|
|
|
<th>Notes</th>
|
|
|
|
</tr>
|
2018-07-23 09:52:00 -04:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2022-10-07 16:04:56 -04:00
|
|
|
{% for lens in lenses %}
|
2018-07-23 09:52:00 -04:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('lens_edit', { 'id': lens.id }) }}">
|
|
|
|
Edit
|
|
|
|
<span class="edit-icon">✎</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('lens_show', { 'id': lens.id }) }}">View 👁</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td>{{ lens.brand }}</td>
|
2022-10-07 16:04:56 -04:00
|
|
|
<td>{{ lens.productLine }}</td>
|
|
|
|
<td>{{ lens.coatings }} {{ lens.model }}</td>
|
2018-07-23 09:52:00 -04:00
|
|
|
<td>{{ lens.minFStop }} — {{ lens.maxFStop }}</td>
|
|
|
|
<td>{{ lens.minFocalLength }} — {{ lens.maxFocalLength }}</td>
|
|
|
|
<td class="text-right">{{ lens.serial }}</td>
|
|
|
|
<td class="text-right">${{ lens.purchasePrice }}</td>
|
|
|
|
<td>{{ lens.mount }}</td>
|
|
|
|
<td>{{ lens.imageSize }}</td>
|
2019-07-23 10:31:06 -04:00
|
|
|
<td class="text-center">
|
|
|
|
{% if lens.formerlyOwned %}
|
|
|
|
<span class='small callout success'>✔</span>
|
|
|
|
{% else %}
|
|
|
|
<span class='small callout alert'>✗</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
2022-10-07 16:04:56 -04:00
|
|
|
<td>{{ lens.frontFilterSize }} / {{ lens.rearFilterSize }}</td>
|
2019-07-23 10:31:06 -04:00
|
|
|
<td class="text-center">
|
|
|
|
{% if lens.isTeleconverter %}
|
|
|
|
<span class='small callout success'>✔</span>
|
|
|
|
{% else %}
|
|
|
|
<span class='small callout alert'>✗</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
2018-07-23 09:52:00 -04:00
|
|
|
<td>{{ lens.designElements }} / {{ lens.designGroups }}</td>
|
|
|
|
<td>{{ lens.apertureBlades }}</td>
|
|
|
|
<td>{{ lens.notes }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-10-07 16:04:56 -04:00
|
|
|
<div class="tabs-panel" id="not_received">
|
2018-07-23 09:52:00 -04:00
|
|
|
<table class="hover scroll sortable stack">
|
|
|
|
<thead>
|
2018-07-18 11:35:27 -04:00
|
|
|
<tr>
|
|
|
|
<th>Actions</th>
|
|
|
|
<th>Brand</th>
|
|
|
|
<th>Description</th>
|
|
|
|
<th>Aperture Range</th>
|
|
|
|
<th>Focal Range</th>
|
|
|
|
<th class="text-right">Serial</th>
|
|
|
|
<th class="text-right">Purchase Price</th>
|
|
|
|
<th>Mount</th>
|
|
|
|
<th>Image Size</th>
|
|
|
|
<th>Formerly Owned</th>
|
2022-10-07 16:04:56 -04:00
|
|
|
<th>Front Filter Size</th>
|
|
|
|
<th>Rear Filter Size</th>
|
2018-07-18 11:35:27 -04:00
|
|
|
<th>Is Teleconverter?</th>
|
|
|
|
<th>Design Elements / Groups</th>
|
|
|
|
<th>Aperture Blades</th>
|
|
|
|
<th>Notes</th>
|
|
|
|
</tr>
|
2018-07-23 09:52:00 -04:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2022-10-07 16:04:56 -04:00
|
|
|
{% for lens in not_received %}
|
2018-07-23 09:52:00 -04:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('lens_edit', { 'id': lens.id }) }}">
|
|
|
|
Edit
|
|
|
|
<span class="edit-icon">✎</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('lens_show', { 'id': lens.id }) }}">View 👁</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td>{{ lens.brand }}</td>
|
2022-10-07 16:04:56 -04:00
|
|
|
<td>{{ lens.coatings }} {{ lens.productLine }} {{ lens.model }}</td>
|
2018-07-23 09:52:00 -04:00
|
|
|
<td>{{ lens.minFStop }} — {{ lens.maxFStop }}</td>
|
|
|
|
<td>{{ lens.minFocalLength }} — {{ lens.maxFocalLength }}</td>
|
|
|
|
<td class="text-right">{{ lens.serial }}</td>
|
|
|
|
<td class="text-right">${{ lens.purchasePrice }}</td>
|
|
|
|
<td>{{ lens.mount }}</td>
|
|
|
|
<td>{{ lens.imageSize }}</td>
|
2019-07-23 10:31:06 -04:00
|
|
|
<td class="text-center">
|
|
|
|
{% if lens.formerlyOwned %}
|
|
|
|
<span class='small callout success'>✔</span>
|
|
|
|
{% else %}
|
|
|
|
<span class='small callout alert'>✗</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
2022-10-07 16:04:56 -04:00
|
|
|
<td>{{ lens.frontFilterSize }}</td>
|
|
|
|
<td>{{ lens.rearFilterSize }}</td>
|
2019-07-23 10:31:06 -04:00
|
|
|
<td class="text-center">
|
|
|
|
{% if lens.isTeleconverter %}
|
|
|
|
<span class='small callout success'>✔</span>
|
|
|
|
{% else %}
|
|
|
|
<span class='small callout alert'>✗</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
2018-07-23 09:52:00 -04:00
|
|
|
<td>{{ lens.designElements }} / {{ lens.designGroups }}</td>
|
|
|
|
<td>{{ lens.apertureBlades }}</td>
|
|
|
|
<td>{{ lens.notes }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2018-07-18 11:35:27 -04:00
|
|
|
</div>
|
2017-11-09 11:53:01 -05:00
|
|
|
{% endblock %}
|