mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-27 07:06:03 +01:00
Add speed profiles to limit the bandwidth of each peer
This commit is contained in:
@@ -78,7 +78,9 @@
|
||||
<tr>
|
||||
<td><code>{{ section.name }}</code></td>
|
||||
<td>
|
||||
{% if section.state == 'synced' %}<span class="badge badge-success">{% trans 'Synchronized' %}</span>
|
||||
{% if section.state == 'synced' and section.warning %}<span class="badge badge-warning">{% trans 'Synchronized with warnings' %}</span>
|
||||
<br><small class="text-warning text-break">{{ section.warning|truncatechars:300 }}</small>
|
||||
{% elif section.state == 'synced' %}<span class="badge badge-success">{% trans 'Synchronized' %}</span>
|
||||
{% elif section.state == 'error' %}<span class="badge badge-danger">{% trans 'Error' %}</span>
|
||||
{% else %}<span class="badge badge-secondary">{% trans 'Pending' %}</span>{% endif %}
|
||||
{% if section.message %}<br><small class="text-muted text-break">{{ section.message|truncatechars:300 }}</small>{% endif %}
|
||||
|
||||
@@ -150,6 +150,11 @@
|
||||
{% empty %}
|
||||
<span class="text-muted">-</span>
|
||||
{% endfor %}
|
||||
{% if worker.operational and worker.warnings.section_warnings %}
|
||||
<br><small class="text-warning" title="{{ worker.warnings.section_warnings|join:', ' }}">
|
||||
<i class="fas fa-exclamation-triangle"></i> {% trans 'Synchronized with warnings' %}
|
||||
</small>
|
||||
{% endif %}
|
||||
{% if worker.operational and worker.warnings.certificate_issues %}
|
||||
<br><small class="text-warning" title="{{ worker.warnings.certificate_issues|join:', ' }}">
|
||||
<i class="fas fa-certificate"></i> {% trans 'Certificates unavailable or expiring soon' %}
|
||||
|
||||
Reference in New Issue
Block a user