56 lines
964 B
Twig
56 lines
964 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Chipset{% endblock %}
|
|
|
|
{% block body %}
|
|
<h2>Chipset</h2>
|
|
|
|
<div class="small callout primary">
|
|
<ul>
|
|
<li>
|
|
<a href="{{ path('chipset_new') }}">Add Chipset</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th> </th>
|
|
<th>Id</th>
|
|
<th>Name</th>
|
|
<th>Parts</th>
|
|
<th>Link</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for chipset in chipsets %}
|
|
<tr>
|
|
<td>
|
|
<ul>
|
|
<li>
|
|
<a href="{{ path('chipset_show', {'id': chipset.id}) }}">
|
|
View 👁
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ path('chipset_edit', {'id': chipset.id}) }}">
|
|
Edit <span class="edit-icon">✎</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
<td>{{ chipset.id }}</td>
|
|
<td>{{ chipset.name }}</td>
|
|
<td>{{ chipset.parts }}</td>
|
|
<td>{{ chipset.link }}</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="5">no records found</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|