58 lines
1.4 KiB
Twig
58 lines
1.4 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Fpu index{% endblock %}
|
|
|
|
{% block body %}
|
|
<h1>Fpu index</h1>
|
|
|
|
<div class="small callout primary">
|
|
<ul>
|
|
<li>
|
|
<a href="{{ path('fpu_new') }}">Add an FPU</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<table class="hover scroll sortable stack">
|
|
<thead>
|
|
<tr>
|
|
<th> </th>
|
|
<th>Id</th>
|
|
<th>Socket</th>
|
|
<th>Brand Series</th>
|
|
<th>Model</th>
|
|
<th>Clock Speed</th>
|
|
<th>Count</th>
|
|
<th>Notes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for fpu in fpus %}
|
|
<tr>
|
|
<td>
|
|
<ul>
|
|
<li>
|
|
<a href="{{ path('fpu_show', {'id': fpu.id}) }}">View 👁</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ path('fpu_edit', {'id': fpu.id}) }}">Edit <span class="edit-icon">✎</span></a>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
<td>{{ fpu.id }}</td>
|
|
<td>{{ fpu.socket }}</td>
|
|
<td>{{ fpu.brand.name }} {{ fpu.series }}</td>
|
|
<td>{{ fpu.model }}</td>
|
|
<td>{{ fpu.clockSpeed }} MHz</td>
|
|
<td>{{ fpu.count }}</td>
|
|
<td>{{ fpu.notes }}</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="6">no records found</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|