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

160 lines
3.5 KiB
Twig
Raw Permalink Normal View History

2022-10-07 16:04:56 -04:00
{% extends 'form.html.twig' %}
{% block title %}Gpu{% endblock %}
{% block form %}
2022-10-07 22:00:14 -04:00
<h2>Graphics Card</h2>
2022-10-07 16:04:56 -04:00
<div class="callout">
<ul>
<li>
<a href="{{ path('gpu_index') }}">Back to the list</a>
</li>
<li>
<a href="{{ path('gpu_edit', { 'id': gpu.id }) }}">Edit</a>
</li>
</ul>
2022-10-07 22:00:14 -04:00
2022-10-07 16:04:56 -04:00
<hr />
2022-10-07 22:00:14 -04:00
2022-10-07 16:04:56 -04:00
<form method="post" action="{{ path('gpu_delete', {'id': gpu.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ gpu.id) }}">
<button type="submit" class="alert button expanded">Delete</button>
</form>
</div>
<div class="large primary callout">
2022-10-07 22:00:14 -04:00
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ gpu.id }}</td>
</tr>
<tr>
<th>ModelName</th>
<td>{{ gpu.modelName }}</td>
</tr>
<tr>
<th>AlternateModelName</th>
<td>{{ gpu.alternateModelName }}</td>
</tr>
<tr>
<th>CardKey</th>
2022-10-13 22:26:33 -04:00
<td>{{ gpu.cardKey.value }}</td>
2022-10-07 22:00:14 -04:00
</tr>
<tr>
<th>BusInterface</th>
<td>{{ gpu.busInterface.value }}</td>
2022-10-07 22:00:14 -04:00
</tr>
<tr>
<th>slotSpan</th>
<td>{{ gpu.slotSpan }}</td>
2022-10-07 22:00:14 -04:00
</tr>
<tr>
<th>MolexPower</th>
<td>{{ gpu.molexPower }}</td>
</tr>
<tr>
<th>Pcie6power</th>
<td>{{ gpu.pcie6power }}</td>
</tr>
<tr>
<th>Pcie8power</th>
<td>{{ gpu.pcie8power }}</td>
</tr>
<tr>
<th>Tdp</th>
<td>{{ gpu.tdp }}</td>
</tr>
<tr>
<th>BaseClock</th>
<td>{{ gpu.baseClock }}</td>
</tr>
<tr>
<th>BoostClock</th>
<td>{{ gpu.boostClock }}</td>
</tr>
<tr>
<th>MemoryClock</th>
<td>{{ gpu.memoryClock }}</td>
</tr>
<tr>
<th>MemorySize</th>
<td>{{ gpu.memorySize }}</td>
</tr>
<tr>
<th>MemoryBus</th>
<td>{{ gpu.memoryBus }}</td>
</tr>
<tr>
<th>MemoryType</th>
<td>{{ gpu.memoryType }}</td>
</tr>
<tr>
<th>ShadingUnits</th>
<td>{{ gpu.shadingUnits }}</td>
</tr>
<tr>
<th>Tmus</th>
<td>{{ gpu.tmus }}</td>
</tr>
<tr>
<th>Rops</th>
<td>{{ gpu.rops }}</td>
</tr>
<tr>
<th>ComputeUnits</th>
<td>{{ gpu.computeUnits }}</td>
</tr>
<tr>
<th>L1cache</th>
<td>{{ gpu.l1cache }}</td>
</tr>
<tr>
<th>L2cache</th>
<td>{{ gpu.l2cache }}</td>
</tr>
<tr>
<th>DirectXSupport</th>
<td>{{ gpu.directXSupport }}</td>
</tr>
<tr>
<th>OpenGLSupport</th>
<td>{{ gpu.openGLSupport }}</td>
</tr>
<tr>
<th>OpenCLSupport</th>
<td>{{ gpu.openCLSupport }}</td>
</tr>
<tr>
<th>VulkanSupport</th>
<td>{{ gpu.vulkanSupport }}</td>
</tr>
<tr>
<th>ShaderModel</th>
<td>{{ gpu.shaderModel }}</td>
</tr>
<tr>
<th>Link</th>
<td>{{ gpu.link }}</td>
</tr>
<tr>
<th>Count</th>
<td>{{ gpu.count }}</td>
</tr>
<tr>
<th>Acquired</th>
<td>{{ gpu.acquired ? 'Yes' : 'No' }}</td>
</tr>
<tr>
<th>Notes</th>
<td>{{ gpu.notes }}</td>
</tr>
</tbody>
</table>
2022-10-07 16:04:56 -04:00
</div>
2022-10-07 22:00:14 -04:00
2022-10-07 16:04:56 -04:00
{% endblock %}