mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-13 17:15:33 +02:00
V1.2
This commit is contained in:
1 parent
eefc23fad8
commit
06b7efd58b
12 files changed
+483
-73
No files matched your search
@@ -5,7 +5,7 @@
|
||||
<div class="container" style="margin-top:5vh;">
|
||||
<div class="row">
|
||||
<!-- PREFIXES TABLE -->
|
||||
<div class="col-9">
|
||||
<div class="col-{% if current_user.is_reado == False %}9{% else %}12{% endif %}">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -27,6 +27,7 @@
|
||||
<td><b>{{network.description}}</b></td>
|
||||
<td>
|
||||
<a href="{{ url_for('network.allocations',net_id=network.id) }}?page=1" class="btn btn-sm btn-outline-info" style="padding-top:1px;padding-bottom:1px">Allocations</a>
|
||||
{% if current_user.is_reado == False %}
|
||||
<button
|
||||
hx-get="{{ url_for('network.network_del_modal',net_id=network.id) }}"
|
||||
hx-trigger="click"
|
||||
@@ -37,6 +38,7 @@
|
||||
style="padding-top:1px;padding-bottom:1px"
|
||||
> Delete
|
||||
</button>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
@@ -44,6 +46,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- PREFIX FORM -->
|
||||
{% if current_user.is_reado == False %}
|
||||
<div class="col-3">
|
||||
<div class="card p-4 shadow rounded-3">
|
||||
<h2 class="text-center mb-4">Add Network</h2>
|
||||
@@ -65,6 +68,7 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<!-- MODAL -->
|
||||
|
||||
Reference in new issue
Block a user