This commit is contained in:
pika 2025-03-31 13:05:40 +02:00
parent e903899bcd
commit f162dd4b2e
4 changed files with 13 additions and 6 deletions

View file

@ -170,4 +170,4 @@
</script>
{% endblock %}
{% endblock %}
{% endblock %}

View file

@ -106,10 +106,10 @@
</tr>
</thead>
<tbody>
{% if app and app.ports %}
{% for port in app.ports %}
<tr>
<td>
{% if app and app.ports %}
{% for port in app.ports %}
<input type="number" name="port_numbers[]" class="form-control" min="1" max="65535"
value="{{ port.port_number }}" required>
</td>
@ -282,4 +282,4 @@
}
}
</script>
{% endblock %}
{% endblock %}

View file

@ -233,7 +233,14 @@
{% for app in subnet_apps %}
<tr>
<td class="text-nowrap">
<span class="app-name">{{ app.name }}</span>
{% if app.url %}
<a href="{{ app.url }}" target="_blank" class="app-link text-primary fw-bold">
{{ app.name }} <span class="ti ti-external-link text-muted fs-6 ms-1"></span>
</a>
{% else %}
<span class="fw-bold">{{ app.name }}</span>
{% endif %}
<!-- <span class="app-name">{{ app.name }}</span> -->
</td>
<td class="text-nowrap">
<a href="{{ url_for('dashboard.server_view', server_id=app.server.id) }}" class="server-link">
@ -318,4 +325,4 @@
</div>
</div>
</div>
{% endblock %}
{% endblock %}

View file