{% extends '/layout/admin_layout.html.twig' %} {% import "macro/listing.html.twig" as listingMacro %} {% import "limit/macro.html.twig" as limitMacro %} {% set labels = class_constants('App\\Label\\InventoryLabel') %} {% block title %}Limit{% endblock %} {% block content %}
Add Limit {{ listingMacro.bulkDeleteButton( path('app_limit_bulk_delete'), csrf_token('delete') ) }}
{% include('components/page_size_choice.html.twig') %}
{% for limit in limits %} {% else %} {% endfor %}
{{ listingMacro.listingHeaderCheckbox() }} # {{ listingMacro.sortItem(sort, 'name', 'Name') }} {{ listingMacro.sortItem(sort, 'centerResolution->min', labels.CENTER_RESOLUTION) }} {{ listingMacro.sortItem(sort, 'snr->min', labels.SNR) }} {{ listingMacro.sortItem(sort, 'fom->min', labels.FOM) }} {{ listingMacro.sortItem(sort, 'maxOutputBrightness->min', labels.MAX_OUTPUT_BRIGHTNESS) }} {{ listingMacro.sortItem(sort, 'luminanceGain->min', labels.LUMINANCE_GAIN) }} {{ listingMacro.sortItem(sort, 'ebi->min', labels.EBI) }} {{ listingMacro.sortItem(sort, 'createdAt', 'Created at') }} {{ listingMacro.sortItem(sort, 'createdBy', 'Created by') }} Actions
{{ listingMacro.listingCheckbox(limit.id) }} {{ pagination.rowIndex(loop.index) }} {{ limit.name }} {{ limitMacro.range(limit.centerResolution) }}{{ labels.CENTER_RESOLUTION_UNIT|raw }} {{ limitMacro.range(limit.snr) }} {{ limitMacro.range(limit.fom) }} {{ limitMacro.range(limit.maxOutputBrightness) }}{{ labels.MAX_OUTPUT_BRIGHTNESS_UNIT|raw }} {{ limitMacro.range(limit.luminanceGain) }}{{ labels.LUMINANCE_GAIN_UNIT|raw }} {{ limitMacro.range(limit.ebi) }}{{ labels.EBI_UNIT|raw }} {{ limit.createdAt ? limit.createdAt|dtz() : '' }} {{ limit.createdBy.username ?? '' }}
no records found
{% endblock %}