mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 02:59:29 +00:00
parent
70354c8599
commit
68aafc4d2e
2 changed files with 7 additions and 4 deletions
|
|
@ -214,11 +214,11 @@
|
|||
{% endmacro %}
|
||||
|
||||
{% macro parameters_table(parameters) %}
|
||||
<table class="table table-hover table-striped table-sm">
|
||||
<table class="table table-hover table-striped table-sm" style="table-layout: fixed;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans %}specifications.property{% endtrans %}</th>
|
||||
<th>{% trans %}specifications.symbol{% endtrans %}</th>
|
||||
<th class="col-sm-1">{% trans %}specifications.symbol{% endtrans %}</th>
|
||||
<th>{% trans %}specifications.value{% endtrans %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
{% for name, parameters in part.groupedParameters %}
|
||||
{% if name is not empty %}<h5 class="mt-1">{{ name }}</h5>{% endif %}
|
||||
{{ helper.parameters_table(parameters) }}
|
||||
{% if not loop.last %}
|
||||
<hr class="my-0">
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if description_params is not empty %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue