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

53 lines
1.9 KiB
Twig

<div class="row expanded">
<ul class="menu">
<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>
</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="/motherboard/">🤰 Motherboards</a>
</li>
</ul>
<ul class="menu">
<li class="menu-text">Previously Owned</li>
<li class="not-implemented {{ route starts with 'previously-owned-cpu_' ? 'is-active' }}">
<a href="#">🧠 CPUs</a>
</li>
<li class="not-implemented {{ route starts with 'previously-owned-fpu_' ? 'is-active' }}">
<a href="#">🧮 FPUs</a>
</li>
<li class="{{ route starts with 'previously-owned-gpu_' ? 'is-active' }}">
<a href="{{ path('previously-owned-gpu_index') }}">🎮 GPUs</a>
</li>
</ul>
</div>