collection-crud/templates/computer-menu.html.twig

53 lines
1.9 KiB
Twig
Raw Normal View History

<div class="row expanded">
<ul class="menu">
2024-03-20 15:51:36 -04:00
<li class="menu-text">Meta</li>
<li class="{{ route starts with 'brand_' ? 'is-active' }}">
<a href="{{ path('brand_index') }}">🕺 Brands</a>
</li>
<li class="{{ route starts with 'brand-category_' ? 'is-active' }}">
<a href="{{ path('brand-category_index') }}">💃 Brand Categories</a>
</li>
<li class="{{ route starts with 'chipset_' ? 'is-active' }}">
<a href="{{ path('chipset_index') }}">🧩 Chipsets</a>
</li>
<li class="{{ route starts with 'gpu-core' ? 'is-active' }}">
<a href="{{ path('gpu-core_index') }}">🌀 GPU Cores</a>
</li>
<li class="{{ route starts with 'socket_' ? 'is-active' }}">
<a href="{{ path('socket_index') }}">📍Sockets</a>
</li>
</ul>
<!-- <ul class="menu">
<li class="not-implemented">
<a href="#">🖥️ Systems</a>
</li>
2024-03-20 15:51:36 -04:00
</ul> -->
<ul class="menu">
<li class="menu-text">Components</li>
<li class="{{ route starts with 'cpu_' ? 'is-active' }}">
<a href="{{ path('cpu_index') }}">🧠 CPUs</a>
</li>
<li class="{{ route starts with 'fpu_' ? 'is-active' }}">
<a href="{{ path('fpu_index') }}">🧮 FPUs</a>
</li>
<li class="{{ route starts with 'gpu_' ? 'is-active' }}">
<a href="{{ path('gpu_index') }}">🎮 GPUs</a>
</li>
<li class="not-implemented {{ route starts with 'motherboard_' ? 'is-active' }}">
<a href="/motherboards/">🤰 Motherboards</a>
</li>
</ul>
<ul class="menu">
<li class="menu-text">Previously Owned</li>
<li class="{{ route starts with 'previously_owned_cpu_' ? 'is-active' }}">
<a href="{{ path('previously_owned_cpu_index') }}">🧠 CPUs</a>
</li>
<!-- <li class="not-implemented {{ route starts with 'previously-owned-fpu_' ? 'is-active' }}">
2024-03-20 15:51:36 -04:00
<a href="#">🧮 FPUs</a>
</li>-->
2024-03-20 15:51:36 -04:00
<li class="{{ route starts with 'previously-owned-gpu_' ? 'is-active' }}">
<a href="{{ path('previously-owned-gpu_index') }}">🎮 GPUs</a>
</li>
</ul>
</div>