mirror of https://github.com/D4-project/d4-core
fix: [server UI v0.2] html
parent
e422605a81
commit
8b4e7ffd1e
|
@ -103,20 +103,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card text-center border-danger mt-3" style="max-width: 20rem;">
|
|
||||||
<div class="card-body text-danger">
|
|
||||||
<h5 class="card-title">Blacklist Last IP</h5>
|
|
||||||
{% if not data_uuid['blacklisted_ip_by_uuid'] %}
|
|
||||||
<a href="{{ url_for('blacklist_ip_by_uuid') }}?uuid={{uuid_sensor}}&redirect=1">
|
|
||||||
<button type="button" class="btn btn-danger">Blacklist IP</button>
|
|
||||||
</a>
|
|
||||||
{% else %}
|
|
||||||
<a href="{{ url_for('unblacklist_ip_by_uuid') }}?uuid={{uuid_sensor}}&redirect=1">
|
|
||||||
<button type="button" class="btn btn-warning">UnBlacklist IP</button>
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="card text-center border-danger mt-3" style="max-width: 20rem;">
|
<div class="card text-center border-danger mt-3" style="max-width: 20rem;">
|
||||||
<div class="card-body text-danger">
|
<div class="card-body text-danger">
|
||||||
<h5 class="card-title">Blacklist IP Using This UUID</h5>
|
<h5 class="card-title">Blacklist IP Using This UUID</h5>
|
||||||
|
@ -171,16 +157,4 @@
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue