2022-10-07 16:04:56 -04:00
|
|
|
{% extends 'form.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Edit Gpu{% endblock %}
|
|
|
|
|
|
|
|
{% block form %}
|
2022-10-07 22:00:14 -04:00
|
|
|
<h2>Edit Graphics Card</h2>
|
2022-10-07 16:04:56 -04:00
|
|
|
|
|
|
|
<div class="small callout">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('gpu_index') }}">Back to the list</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2022-10-07 22:00:14 -04:00
|
|
|
<div>
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_start(form) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Names / Brands</legend>
|
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_row(form.gpuBrand) }}
|
|
|
|
{{ form_row(form.modelName) }}
|
|
|
|
{{ form_row(form.gpuCore) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_row(form.boardBrand) }}
|
|
|
|
{{ form_row(form.alternateModelName) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Bus / Size</legend>
|
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_row(form.cardKey) }}
|
|
|
|
{{ form_row(form.busInterface) }}
|
|
|
|
{{ form_row(form.slotSpan) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Power</legend>
|
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_row(form.molexPower) }}
|
|
|
|
{{ form_row(form.pcie6power) }}
|
|
|
|
{{ form_row(form.pcie8power) }}
|
|
|
|
{{ form_row(form.tdp) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Clock Speeds</legend>
|
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_row(form.baseClock) }}
|
|
|
|
{{ form_row(form.boostClock) }}
|
|
|
|
{{ form_row(form.memoryClock) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Memory</legend>
|
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_row(form.memorySize) }}
|
|
|
|
{{ form_row(form.memoryBus) }}
|
|
|
|
{{ form_row(form.memoryType) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Rendering Hardware</legend>
|
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_row(form.shadingUnits) }}
|
|
|
|
{{ form_row(form.tmus) }}
|
|
|
|
{{ form_row(form.rops) }}
|
|
|
|
{{ form_row(form.computeUnits) }}
|
|
|
|
{{ form_row(form.l1cache) }}
|
|
|
|
{{ form_row(form.l2cache) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>API Support</legend>
|
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_row(form.directXSupport) }}
|
|
|
|
{{ form_row(form.openGLSupport) }}
|
|
|
|
{{ form_row(form.openCLSupport) }}
|
|
|
|
{{ form_row(form.vulkanSupport) }}
|
|
|
|
{{ form_row(form.shaderModel) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Misc.</legend>
|
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_row(form.link) }}
|
|
|
|
{{ form_row(form.count) }}
|
|
|
|
{{ form_row(form.acquired) }}
|
|
|
|
{{ form_row(form.notes) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
</fieldset>
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_widget(form) }}
|
2022-10-07 16:04:56 -04:00
|
|
|
<button
|
|
|
|
type="submit"
|
|
|
|
class="success button expanded"
|
|
|
|
>Update</button>
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_end(form) }}
|
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>
|
|
|
|
{% endblock %}
|