routeros_update/templates/add_device.html
Mateusz Gruszczyński 0267e4c2bb init
2025-02-23 17:47:54 +01:00

33 lines
1.4 KiB
HTML

{% extends "base.html" %}
{% block title %}Dodaj urządzenie - RouterOS Update{% endblock %}
{% block content %}
<div class="row justify-content-center">
<div class="col-md-6">
<h2>Dodaj nowe urządzenie</h2>
<form method="POST">
<div class="mb-3">
<label for="name" class="form-label">Nazwa urządzenia (opcjonalnie)</label>
<input type="text" class="form-control" name="name" id="name">
</div>
<div class="mb-3">
<label for="ip" class="form-label">Adres IP</label>
<input type="text" class="form-control" name="ip" id="ip" required>
</div>
<div class="mb-3">
<label for="port" class="form-label">Port</label>
<input type="number" class="form-control" name="port" id="port" value="8728" required>
</div>
<div class="mb-3">
<label for="device_username" class="form-label">Nazwa użytkownika urządzenia</label>
<input type="text" class="form-control" name="device_username" id="device_username" required>
</div>
<div class="mb-3">
<label for="device_password" class="form-label">Hasło urządzenia</label>
<input type="password" class="form-control" name="device_password" id="device_password" required>
</div>
<button type="submit" class="btn btn-primary">Dodaj urządzenie</button>
</form>
</div>
</div>
{% endblock %}