77 lines
1.5 KiB
Twig
77 lines
1.5 KiB
Twig
{% extends 'form.html.twig' %}
|
|
|
|
{% block title %}Gpu{% endblock %}
|
|
|
|
{% block form %}
|
|
<h2>Graphics Card</h2>
|
|
|
|
<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>
|
|
|
|
<hr />
|
|
|
|
<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">
|
|
<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>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>CardKey</th>
|
|
<td>{{ gpu.cardKey }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Tdp</th>
|
|
<td>{{ gpu.tdp }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Link</th>
|
|
<td>{{ gpu.link }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Count</th>
|
|
<td>{{ gpu.count }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Notes</th>
|
|
<td>{{ gpu.notes }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endblock %}
|