mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-21 17:09:35 +00:00
Made EDA form for parts prettier
This commit is contained in:
parent
168b4f6c15
commit
b5c7a789a2
7 changed files with 1592 additions and 1436 deletions
24
templates/parts/edit/_eda.html.twig
Normal file
24
templates/parts/edit/_eda.html.twig
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{{ form_row(form.eda_info.reference_prefix) }}
|
||||
{{ form_row(form.eda_info.value) }}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-9 offset-sm-3">
|
||||
{{ form_row(form.eda_info.invisible) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-9 offset-sm-3">
|
||||
{{ form_widget(form.eda_info.exclude_from_bom) }}
|
||||
{{ form_widget(form.eda_info.exclude_from_board) }}
|
||||
{{ form_widget(form.eda_info.exclude_from_sim) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-9 offset-sm-3">
|
||||
<h6>{% trans %}eda_info.kicad_section.title{% endtrans %}:</h6>
|
||||
</div>
|
||||
</div>
|
||||
{{ form_row(form.eda_info.kicad_symbol) }}
|
||||
{{ form_row(form.eda_info.kicad_footprint) }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue