mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-25 08:46:17 +00:00
add display of template routes in peer management interface
This commit is contained in:
@@ -132,6 +132,22 @@
|
||||
{% trans 'Routing Template' %}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% for ip_address in current_peer.routing_template.template_routes %}
|
||||
<div class="d-flex justify-content-between align-items-center text-muted">
|
||||
<p>
|
||||
<span >
|
||||
<i class="fas fa-network-wired"></i>
|
||||
{{ ip_address}}
|
||||
</span>
|
||||
</p>
|
||||
<p class="d-flex flex-column text-right small">
|
||||
{% trans 'Template Route' %}
|
||||
</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{% else %}
|
||||
<div class="d-flex justify-content-between align-items-center border-bottom mb-3">
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user