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-07 16:04:56 -04:00
|
|
|
{{ form_start(edit_form) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Names / Brands</legend>
|
|
|
|
|
|
|
|
{{ form_row(edit_form.gpuBrand) }}
|
|
|
|
{{ form_row(edit_form.modelName) }}
|
|
|
|
{{ form_row(edit_form.gpuCore) }}
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
{{ form_row(edit_form.boardBrand) }}
|
|
|
|
{{ form_row(edit_form.alternateModelName) }}
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Bus / Size</legend>
|
|
|
|
|
|
|
|
{{ form_row(edit_form.cardKey) }}
|
|
|
|
{{ form_row(edit_form.busInterface) }}
|
2022-10-19 12:40:07 -04:00
|
|
|
{{ form_row(edit_form.slotSpan) }}
|
2022-10-07 22:00:14 -04:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Power</legend>
|
|
|
|
|
|
|
|
{{ form_row(edit_form.molexPower) }}
|
|
|
|
{{ form_row(edit_form.pcie6power) }}
|
|
|
|
{{ form_row(edit_form.pcie8power) }}
|
|
|
|
{{ form_row(edit_form.tdp) }}
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Clock Speeds</legend>
|
|
|
|
|
|
|
|
{{ form_row(edit_form.baseClock) }}
|
|
|
|
{{ form_row(edit_form.boostClock) }}
|
|
|
|
{{ form_row(edit_form.memoryClock) }}
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Memory</legend>
|
|
|
|
|
|
|
|
{{ form_row(edit_form.memorySize) }}
|
|
|
|
{{ form_row(edit_form.memoryBus) }}
|
|
|
|
{{ form_row(edit_form.memoryType) }}
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Rendering Hardware</legend>
|
|
|
|
|
|
|
|
{{ form_row(edit_form.shadingUnits) }}
|
|
|
|
{{ form_row(edit_form.tmus) }}
|
|
|
|
{{ form_row(edit_form.rops) }}
|
|
|
|
{{ form_row(edit_form.computeUnits) }}
|
|
|
|
{{ form_row(edit_form.l1cache) }}
|
|
|
|
{{ form_row(edit_form.l2cache) }}
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>API Support</legend>
|
|
|
|
|
|
|
|
{{ form_row(edit_form.directXSupport) }}
|
|
|
|
{{ form_row(edit_form.openGLSupport) }}
|
|
|
|
{{ form_row(edit_form.openCLSupport) }}
|
|
|
|
{{ form_row(edit_form.vulkanSupport) }}
|
|
|
|
{{ form_row(edit_form.shaderModel) }}
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="large primary callout">
|
|
|
|
<legend>Misc.</legend>
|
|
|
|
|
|
|
|
{{ form_row(edit_form.link) }}
|
|
|
|
{{ form_row(edit_form.count) }}
|
|
|
|
{{ form_row(edit_form.acquired) }}
|
|
|
|
{{ form_row(edit_form.notes) }}
|
|
|
|
</fieldset>
|
2022-10-07 16:04:56 -04:00
|
|
|
{{ form_widget(edit_form) }}
|
|
|
|
<button
|
|
|
|
type="submit"
|
|
|
|
class="success button expanded"
|
|
|
|
>Update</button>
|
|
|
|
{{ form_end(edit_form) }}
|
|
|
|
|
|
|
|
<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 %}
|