74 lines
1.8 KiB
Twig
74 lines
1.8 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>Generation</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">✎</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>
|
|
|
|
{% if gpu_core.generationLink %}
|
|
<td><a href="{{ gpu_core.generationLink }}">{{ gpu_core.generationName }}</a></td>
|
|
{% else %}
|
|
<td>{{ gpu_core.generationName }}</td>
|
|
{% endif %}
|
|
|
|
{% if gpu_core.architectureLink %}
|
|
<td><a href="{{ gpu_core.architectureLink }}">{{ gpu_core.architecture }}</a></td>
|
|
{% else %}
|
|
<td>{{ gpu_core.architecture }}</td>
|
|
{% endif %}
|
|
|
|
{% if gpu_core.processNode %}
|
|
<td>{{ gpu_core.processNode }} nm</td>
|
|
{% else %}
|
|
<td>?</td>
|
|
{% endif %}
|
|
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="8">no records found</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|