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

163 lines
2.8 KiB
Twig
Raw Normal View History

2022-10-27 11:55:16 -04:00
{% extends 'form.html.twig' %}
{% block title %}Cpu{% endblock %}
{% block form %}
<h2>Brand</h2>
<div class="callout">
<ul>
<li>
<a href="{{ path('app_cpu_index') }}">Back to the list</a>
</li>
<li>
<a href="{{ path('app_cpu_edit', {'id': cpu.id}) }}">Edit</a>
</li>
</ul>
<hr/>
<form method="post" action="{{ path('app_cpu_delete', {'id': cpu.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ cpu.id) }}">
<button type="submit" class="alert button expanded">Delete</button>
</form>
</div>
<div class="large primary callout">
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ cpu.id }}</td>
</tr>
<tr>
<th>Architecture</th>
<td>{{ cpu.architecture }}</td>
</tr>
<tr>
<th>ProductLine</th>
<td>{{ cpu.productLine }}</td>
</tr>
<tr>
<th>Model</th>
<td>{{ cpu.model }}</td>
</tr>
<tr>
<th>PartNumber</th>
<td>{{ cpu.partNumber }}</td>
</tr>
<tr>
<th>LotNumber</th>
<td>{{ cpu.lotNumber }}</td>
</tr>
<tr>
<th>MicroArchitecture</th>
<td>{{ cpu.microArchitecture }}</td>
</tr>
<tr>
<th>CodeName</th>
<td>{{ cpu.codeName }}</td>
</tr>
<tr>
<th>BaseSpeed</th>
<td>{{ cpu.baseSpeed }}</td>
</tr>
<tr>
<th>BoostSpeed</th>
<td>{{ cpu.boostSpeed }}</td>
</tr>
<tr>
<th>Cores</th>
<td>{{ cpu.cores }}</td>
</tr>
<tr>
<th>Threads</th>
<td>{{ cpu.threads }}</td>
</tr>
<tr>
<th>Igp</th>
<td>{{ cpu.igp }}</td>
</tr>
<tr>
<th>Voltage</th>
<td>{{ cpu.voltage }}</td>
</tr>
<tr>
<th>Tdp</th>
<td>{{ cpu.tdp }}</td>
</tr>
<tr>
<th>ProcessNode</th>
<td>{{ cpu.processNode }}</td>
</tr>
<tr>
<th>Count</th>
<td>{{ cpu.count }}</td>
</tr>
<tr>
<th>Usable</th>
<td>{{ cpu.usable ? 'Yes' : 'No' }}</td>
</tr>
<tr>
<th>Received</th>
<td>{{ cpu.received ? 'Yes' : 'No' }}</td>
</tr>
<tr>
<th>Link</th>
<td>{{ cpu.link }}</td>
</tr>
<tr>
<th>Notes</th>
<td>{{ cpu.notes }}</td>
</tr>
<tr>
<th>L1Count</th>
<td>{{ cpu.L1Count }}</td>
</tr>
<tr>
<th>L1dSize</th>
<td>{{ cpu.L1dSize }}</td>
</tr>
<tr>
<th>L1cSize</th>
<td>{{ cpu.L1cSize }}</td>
</tr>
<tr>
<th>L1uSize</th>
<td>{{ cpu.L1uSize }}</td>
</tr>
<tr>
<th>L1Way</th>
<td>{{ cpu.L1Way }}</td>
</tr>
<tr>
<th>L2Count</th>
<td>{{ cpu.L2Count }}</td>
</tr>
<tr>
<th>L2Size</th>
<td>{{ cpu.L2Size }}</td>
</tr>
<tr>
<th>L2Way</th>
<td>{{ cpu.L2Way }}</td>
</tr>
<tr>
<th>L3Count</th>
<td>{{ cpu.L3Count }}</td>
</tr>
<tr>
<th>L3Size</th>
<td>{{ cpu.L3Size }}</td>
</tr>
<tr>
<th>L3Way</th>
<td>{{ cpu.L3Way }}</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}