collection-crud/templates/header.html.twig

86 lines
2.9 KiB
Twig
Raw Normal View History

2022-09-29 20:09:31 -04:00
<h1>Collection CRUD</h1>
2017-11-22 13:49:31 -05:00
<div class="top-bar">
<div class="top-bar-left">
<ul class="menu">
2022-10-07 16:04:56 -04:00
<li class="menu-text">Meta</li>
<li class="{{ route starts with 'brand_' ? 'is-active' }}">
<a href="{{ path('brand_index') }}">🕺 Brands</a>
</li>
2022-10-13 22:26:33 -04:00
<li class="{{ route starts with 'brand-category_' ? 'is-active' }}">
<a href="{{ path('brand-category_index') }}">💃 Brand Categories</a>
2022-10-07 16:04:56 -04:00
</li>
2022-10-25 14:52:58 -04:00
<li class="{{ route starts with 'gpu-core' ? 'is-active' }}">
<a href="{{ path('gpu-core_index') }}">🌀 GPU Cores</a>
</li>
2022-10-20 11:07:27 -04:00
<li class="{{ route starts with 'socket_' ? 'is-active' }}">
<a href="{{ path('socket_index') }}">📍Sockets</a>
</li>
2022-10-07 16:04:56 -04:00
<li class="not-implemented">
<a href="#">🐏 Ram Types</a>
</li>
</ul>
<ul class="menu">
<li class="menu-text">Photography</li>
2017-11-22 13:49:31 -05:00
<li class="{{ route starts with 'camera_' ? 'is-active' }}">
<a href="{{ path('camera_index') }}">📷 Cameras</a>
2017-11-22 13:49:31 -05:00
</li>
<li class="{{ route starts with 'flash_' ? 'is-active' }}">
<a href="{{ path('flash_index') }}">📸 Flashes</a>
2017-11-22 13:49:31 -05:00
</li>
<li class="{{ route starts with 'lens_' ? 'is-active' }}">
2020-06-02 16:08:08 -04:00
<a href="{{ path('lens_index') }}">🔎 Lenses</a>
2017-11-22 13:49:31 -05:00
</li>
2022-10-07 16:04:56 -04:00
<li hidden>
<ul>
2022-10-25 14:52:58 -04:00
<li class="menu-text">Previously Owned</li>
<li class="{{ route starts with 'previously-owned-camera' ? 'is-active' }}">
<a href="{{ path('previously-owned-camera_index') }}">📷 Cameras</a>
</li>
<li class="{{ route starts with 'previously-owned-flash' ? 'is-active' }}">
<a href="{{ path('previously-owned-flash_index') }}">📸 Flashes</a>
</li>
<li class="{{ route starts with 'previously-owned-lens' ? 'is-active' }}">
<a href="{{ path('previously-owned-lens_index') }}">🔎 Lenses</a>
</li>
2022-10-07 16:04:56 -04:00
</ul>
2017-11-22 13:49:31 -05:00
</li>
2022-10-07 16:04:56 -04:00
2017-11-22 13:49:31 -05:00
<li class="menu-text">Meta</li>
2018-02-15 09:48:57 -05:00
<li class="{{ route starts with 'film_' ? 'is-active' }}">
<a href="{{ path('film_index') }}">🎞️ Film</a>
2018-02-15 09:48:57 -05:00
</li>
2017-11-22 13:49:31 -05:00
<li class="{{ route starts with 'camera-type_' ? 'is-active' }}">
2020-06-02 16:08:08 -04:00
<a href="{{ path('camera-type_index') }}">🎥 Camera Types</a>
2017-11-22 13:49:31 -05:00
</li>
</ul>
2022-10-07 16:04:56 -04:00
<ul class="menu">
<li class="menu-text">Computer Components</li>
<li class="{{ route starts with 'gpu_' ? 'is-active' }}">
<a href="{{ path('gpu_index') }}">🎮 Graphics Cards</a>
</li>
2022-10-25 14:52:58 -04:00
<li class="not-implemented {{ route starts with 'cpu_' ? 'is-active' }}">
2022-10-20 11:07:27 -04:00
<a href="#">🧠 CPUs</a>
</li>
2022-10-25 14:52:58 -04:00
<li class="{{ route starts with 'fpu_' ? 'is-active' }}">
<a href="{{ path('fpu_index') }}">🧮 FPUs</a>
2022-10-20 11:07:27 -04:00
</li>
2022-10-25 14:52:58 -04:00
<li class="not-implemented {{ route starts with 'motherboard_' ? 'is-active' }}">
2022-10-20 11:07:27 -04:00
<a href="#">🤰 Motherboards</a>
2022-10-07 16:04:56 -04:00
</li>
</ul>
2017-11-22 13:49:31 -05:00
</div>
2018-02-14 15:08:03 -05:00
</div>
{% for message in app.flashes('notice') %}
<div class="small callout flash-notice">
{{ message }}
</div>
{% endfor %}
{% for message in app.flashes('error') %}
<div class="small callout alert flash-error">
{{ message }}
</div>
{% endfor %}