feat(applications): add ports field to create application form

The add-application modal now accepts a comma-separated list of port
numbers (same UX as the add-host form). Ports are associated with the
new application atomically in create_application on the server side.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-16 22:06:24 +02:00
parent 353fe09a99
commit cf0a095ada
2 changed files with 30 additions and 4 deletions

View File

@@ -65,6 +65,15 @@ fn AddApplicationModal(
required
/>
</label>
<label>
"Associated ports"
<input
type="text"
name="ports"
placeholder="e.g. 22, 80, 443"
/>
<span class="field-hint">"Comma-separated port numbers"</span>
</label>
</div>
<div class="modal__actions">