Added DHCP Pool

This commit is contained in:
2025-05-28 23:35:42 +00:00
parent 6d4eab5aab
commit 34e1917abd
5 changed files with 231 additions and 3 deletions
+3
View File
@@ -48,6 +48,9 @@
</select>
<select name="ip_id" id="ip-select" class="border p-3 rounded-lg bg-gray-800 text-gray-100 border-gray-600 w-full" required>
<option value="" disabled selected>Select IP...</option>
{% for ip in available_ips_by_subnet.get(subnets[0].id, []) %}
<option value="{{ ip.id }}">{{ ip.ip }}</option>
{% endfor %}
</select>
<button type="submit" class="bg-gradient-to-r from-gray-500 to-gray-600 hover:from-gray-600 hover:to-gray-500 text-white px-4 py-2 rounded-lg w-full">Add IP</button>
</div>