Added DHCP Pool
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
<i class="fas fa-file-csv fa-lg"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex justify-center mb-4">
|
||||
<a href="/subnet/{{ subnet.id }}/dhcp" class="hidden sm:flex bg-gradient-to-r from-gray-500 to-gray-700 hover:from-gray-600 hover:to-gray-800 text-white px-4 py-2 rounded-lg shadow items-center gap-2">
|
||||
<i class="fas fa-network-wired"></i> Define DHCP Pool
|
||||
</a>
|
||||
</div>
|
||||
<button id="toggle-desc" class="sm:hidden 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 mb-4 w-full">Show Descriptions</button>
|
||||
<form action="" method="POST">
|
||||
<table class="table-auto w-full mb-6">
|
||||
@@ -35,7 +40,9 @@
|
||||
<tr>
|
||||
<td class="text-gray-300 font-bold text-center">{{ ip[1] }}</td>
|
||||
<td class="text-white text-center">
|
||||
{% if ip[2] and ip[3] %}
|
||||
{% if ip[2] == 'DHCP' %}
|
||||
<span class="font-semibold">DHCP</span>
|
||||
{% elif ip[2] and ip[3] %}
|
||||
<a href="/device/{{ ip[3] }}" class="hover:text-blue-300">{{ ip[2] }}</a>
|
||||
{% elif ip[2] %}
|
||||
{{ ip[2] }}
|
||||
|
||||
Reference in New Issue
Block a user