mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-09 00:39:37 +00:00
Some checks failed
Build assets artifact / Build assets artifact (push) Has been cancelled
Docker Image Build / build (linux/amd64, amd64, ubuntu-latest) (push) Has been cancelled
Docker Image Build / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Has been cancelled
Docker Image Build / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Has been cancelled
Docker Image Build (FrankenPHP) / build (linux/amd64, amd64, ubuntu-latest) (push) Has been cancelled
Docker Image Build (FrankenPHP) / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Has been cancelled
Docker Image Build (FrankenPHP) / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Has been cancelled
Static analysis / Static analysis (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Has been cancelled
Docker Image Build / merge (push) Has been cancelled
Docker Image Build (FrankenPHP) / merge (push) Has been cancelled
62 lines
2.2 KiB
Twig
62 lines
2.2 KiB
Twig
{% extends "admin/base_admin.html.twig" %}
|
|
|
|
{% block card_title %}
|
|
<i class="fas fa-tags fa-fw"></i> {{ type_label_p(entity) }}
|
|
{% endblock %}
|
|
|
|
{% block additional_pills %}
|
|
<li class="nav-item"><a data-bs-toggle="tab" class="nav-link link-anchor" href="#home_options">{% trans %}admin.options{% endtrans %}</a></li>
|
|
<li class="nav-item"><a data-bs-toggle="tab" class="nav-link link-anchor" href="#home_advanced">{% trans %}admin.advanced{% endtrans %}</a></li>
|
|
<li class="nav-item"><a data-bs-toggle="tab" class="nav-link link-anchor" href="#eda">{% trans %}part.edit.tab.eda{% endtrans %}</a></li>
|
|
{% endblock %}
|
|
|
|
{% block edit_title %}
|
|
{% trans %}category.edit{% endtrans %}: <a href="{{ path('part_list_category', {'id': entity.id}) }}">{{ entity.name }}</a>
|
|
{% endblock %}
|
|
|
|
{% block new_title %}
|
|
{% trans %}category.new{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block additional_panes %}
|
|
<div class="tab-pane" id="home_options">
|
|
{{ form_row(form.disable_footprints) }}
|
|
{{ form_row(form.disable_manufacturers) }}
|
|
{{ form_row(form.disable_autodatasheets) }}
|
|
{{ form_row(form.disable_properties) }}
|
|
</div>
|
|
|
|
<div class="tab-pane" id="home_advanced">
|
|
{{ form_row(form.alternative_names) }}
|
|
<hr>
|
|
{{ form_row(form.partname_regex) }}
|
|
{{ form_row(form.partname_hint) }}
|
|
{{ form_row(form.part_ipn_prefix) }}
|
|
<hr>
|
|
{{ form_row(form.default_description) }}
|
|
{{ form_row(form.default_comment) }}
|
|
</div>
|
|
|
|
<div class="tab-pane" id="eda">
|
|
{{ form_row(form.eda_info.reference_prefix) }}
|
|
|
|
|
|
{{ form_row(form.eda_info.visibility) }}
|
|
|
|
|
|
<div class="row mb-2">
|
|
<div class="{{ col_input }} {{ offset_label }}">
|
|
{{ 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_input }} {{ offset_label }}">
|
|
<h6>{% trans %}eda_info.kicad_section.title{% endtrans %}:</h6>
|
|
</div>
|
|
</div>
|
|
{{ form_row(form.eda_info.kicad_symbol) }}
|
|
</div>
|
|
{% endblock %}
|