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

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

View file

@ -233,7 +233,14 @@
{% for app in subnet_apps %} {% for app in subnet_apps %}
<tr> <tr>
<td class="text-nowrap"> <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>
<td class="text-nowrap"> <td class="text-nowrap">
<a href="{{ url_for('dashboard.server_view', server_id=app.server.id) }}" class="server-link"> <a href="{{ url_for('dashboard.server_view', server_id=app.server.id) }}" class="server-link">

View file