This commit is contained in:
Lucas committed 2026-09-16 15:22:36 +02:00
1 parent 80bf0fa42f
commit 140d51f248
7 files changed
+17 -14

No files matched your search

+1 -1
View File
@@ -1 +1 @@
<footer class="test-center footer mt-auto py-3 bg-light" style="text-align: center;">Flask IPAM - {{app_version}}</footer>
<footer class="footer mt-auto py-3" style="text-align: center;">Flask IPAM - {{app_version}}</footer>
+2 -3
View File
@@ -4,6 +4,7 @@
<tr>
<td id="{{allocation.ipv4}}"><b>{{allocation.ipv4}}</b></td>
<td>{{allocation.hostname}}</td>
<td>{{allocation.hostname_full}}</td>
<td>{{allocation.description}}</td>
<td>
{% if Inventory.query.filter_by(id=allocation.device_id).first() %}
@@ -21,9 +22,7 @@
N/A
{% endif %}
</td>
<td>{{allocation.is_dhcp}}</td>
<td>{{allocation.is_gateway}}</td>
<td>{{allocation.is_decom}}</td>
<td>{% if allocation.is_dhcp %}<span class="badge text-bg-secondary" style="margin-right: 0.5rem;">DHCP</span>{% endif %}{% if allocation.is_gateway %}<span class="badge text-bg-primary" style="margin-right: 0.5rem;">GATEWAY</span>{% endif %}{% if allocation.is_decom %}<span class="badge text-bg-warning" style="margin-right: 0.5rem;">DECOM</span>{% endif %}</td>
{% if current_user.is_reado == False %}
<td>
{% if allocation.is_used %}
+3 -4
View File
@@ -24,12 +24,11 @@
<thead>
<tr>
<th scope="col">IPv4</th>
<th scope="col">Hostname</th>
<th scope="col">Shortname</th>
<th scope="col">FQDN</th>
<th scope="col">Description</th>
<th scope="col">Device</th>
<th scope="col">DHCP</th>
<th scope="col">GATEWAY</th>
<th scope="col">DECOM</th>
<th scope="col">TAG(s)</th>
{% if current_user.is_reado == False %}<th scope="col">Actions</th>{% endif %}
</tr>
</thead>
-1
View File
@@ -51,7 +51,6 @@
</div>
<div class="col-2"></div>
</div>
<hr>
</div>
<script src="{{ url_for('static',filename='js/chart.umd.js') }}"></script>
<script>