collection-crud/templates/gpu_core/index.html.twig

59 lines
1.5 KiB
Twig

{% extends 'base.html.twig' %}
{% block title %}GPU Cores{% endblock %}
{% block body %}
<h2>GPU Cores</h2>
<div class="small callout primary">
<ul>
<li>
<a href="{{ path('gpu-core_new') }}">Add a GPU Core</a>
</li>
</ul>
</div>
<table class="hover scroll sortable stack">
<thead>
<tr>
<th>Actions</th>
<th>Id</th>
<th>Brand</th>
<th>Name</th>
<th>Variant</th>
<th>GenerationName</th>
<th>Architecture</th>
<th>ProcessNode</th>
</tr>
</thead>
<tbody>
{% for gpu_core in gpu_cores %}
<tr>
<td>
<ul>
<li>
<a href="{{ path('gpu-core_show', {'id': gpu_core.id}) }}">View 👁</a>
</li>
<li>
<a href="{{ path('gpu-core_edit', {'id': gpu_core.id}) }}">Edit <span class="edit-icon">&#9998;</span></a>
</li>
</ul>
</td>
<td>{{ gpu_core.id }}</td>
<td>{{ gpu_core.brand.name }}</td>
<td>{{ gpu_core.name }}</td>
<td>{{ gpu_core.variant }}</td>
<td>{{ gpu_core.generationName }}</td>
<td><a href="{{ gpu_core.architectureLink }}">{{ gpu_core.architecture }}</a></td>
<td>{{ gpu_core.processNode }}nm</td>
</tr>
{% else %}
<tr>
<td colspan="8">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}