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

112 lines
2.4 KiB
Twig

{% extends 'base.html.twig' %}
{% block title %}Cpu{% endblock %}
{% block body %}
<h2>Cpu</h2>
<div class="small callout primary">
<ul>
<li>
<a href="{{ path('app_cpu_new') }}">Add Cpu</a>
</li>
</ul>
</div>
<table class="table">
<thead>
<tr>
<th>&nbsp;</th>
<th>Id</th>
<th>Architecture</th>
<th>ProductLine</th>
<th>Model</th>
<th>PartNumber</th>
<th>LotNumber</th>
<th>MicroArchitecture</th>
<th>CodeName</th>
<th>BaseSpeed</th>
<th>BoostSpeed</th>
<th>Cores</th>
<th>Threads</th>
<th>Igp</th>
<th>Voltage</th>
<th>Tdp</th>
<th>ProcessNode</th>
<th>Count</th>
<th>Usable</th>
<th>Received</th>
<th>Link</th>
<th>Notes</th>
<th>L1Count</th>
<th>L1dSize</th>
<th>L1cSize</th>
<th>L1uSize</th>
<th>L1Way</th>
<th>L2Count</th>
<th>L2Size</th>
<th>L2Way</th>
<th>L3Count</th>
<th>L3Size</th>
<th>L3Way</th>
</tr>
</thead>
<tbody>
{% for cpu in cpus %}
<tr>
<td>
<ul>
<li>
<a href="{{ path('app_cpu_show', {'id': cpu.id}) }}">
View 👁
</a>
</li>
<li>
<a href="{{ path('app_cpu_edit', {'id': cpu.id}) }}">
Edit <span class="edit-icon">&#9998;</span>
</a>
</li>
</ul>
</td>
<td>{{ cpu.id }}</td>
<td>{{ cpu.architecture }}</td>
<td>{{ cpu.productLine }}</td>
<td>{{ cpu.model }}</td>
<td>{{ cpu.partNumber }}</td>
<td>{{ cpu.lotNumber }}</td>
<td>{{ cpu.microArchitecture }}</td>
<td>{{ cpu.codeName }}</td>
<td>{{ cpu.baseSpeed }}</td>
<td>{{ cpu.boostSpeed }}</td>
<td>{{ cpu.cores }}</td>
<td>{{ cpu.threads }}</td>
<td>{{ cpu.igp }}</td>
<td>{{ cpu.voltage }}</td>
<td>{{ cpu.tdp }}</td>
<td>{{ cpu.processNode }}</td>
<td>{{ cpu.count }}</td>
<td>{{ cpu.usable ? 'Yes' : 'No' }}</td>
<td>{{ cpu.received ? 'Yes' : 'No' }}</td>
<td>{{ cpu.link }}</td>
<td>{{ cpu.notes }}</td>
<td>{{ cpu.L1Count }}</td>
<td>{{ cpu.L1dSize }}</td>
<td>{{ cpu.L1cSize }}</td>
<td>{{ cpu.L1uSize }}</td>
<td>{{ cpu.L1Way }}</td>
<td>{{ cpu.L2Count }}</td>
<td>{{ cpu.L2Size }}</td>
<td>{{ cpu.L2Way }}</td>
<td>{{ cpu.L3Count }}</td>
<td>{{ cpu.L3Size }}</td>
<td>{{ cpu.L3Way }}</td>
</tr>
{% else %}
<tr>
<td colspan="33">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}