mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-02 17:25:05 +02:00
Added a basic show part info with new design. Not finished yet...
This commit is contained in:
parent
f8bd1458d3
commit
f0bea8ff4d
22 changed files with 7883 additions and 25 deletions
15
templates/inc/structural_link.html.twig
Normal file
15
templates/inc/structural_link.html.twig
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% if list != null %}
|
||||
<ul class="structural_link">
|
||||
{% for element in list %}
|
||||
<li {% if element.selected != null %}class="active"{% endif %}>
|
||||
{% if element.href %}
|
||||
<a href="{{ element.href }}">{if $element.label}{$element.label}{/if}</a>
|
||||
{% else %}
|
||||
{$element.label}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<div class="form-control-static">-</div>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue