This commit is contained in:
pika 2025-03-31 10:08:58 +02:00
parent 7ce4914ea1
commit 94ededdf69
9 changed files with 2894 additions and 44 deletions

View file

@ -138,7 +138,8 @@
aria-controls="app-collapse-{{ app.id }}">
<span class="me-2">{{ app.name }}</span>
{% for port in app.ports %}
<span class="badge bg-primary mx-1">{{ port.number }}/{{ port.protocol }}</span>
<span class="badge bg-primary">{% if port.port_number %}{{ port.port_number }}{% elif port.number %}{{
port.number }}{% endif %}/{{ port.protocol }}</span>
{% endfor %}
</button>
</h2>
@ -171,7 +172,7 @@
<!-- Documentation section with improved styling -->
<div class="documentation-wrapper p-3">
<div class="markdown-content theme-styled">
<div class="markdown-content">
{% if app.documentation %}
{{ app.documentation|markdown|safe }}
{% else %}