This commit is contained in:
root
2025-02-22 22:33:36 +01:00
commit 7807157052
23 changed files with 2510 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block content %}
<h2>Dodaj nowy router</h2>
<form method="POST">
<label>Nazwa: <input type="text" name="name" required></label><br>
<label>Adres IP/Host: <input type="text" name="host" required></label><br>
<label>Port SSH: <input type="number" name="port" value="22"></label><br>
<label>Użytkownik SSH: <input type="text" name="ssh_user" value="admin"></label><br>
<label>Klucz prywatny (string/ścieżka): <textarea name="ssh_key"></textarea></label><br>
<label>Hasło SSH: <input type="password" name="ssh_password"></label><br><br>
<button type="submit">Zapisz</button>
</form>
{% endblock %}