wireguard: Add client config file section and download button

Signed-off-by: Frederico Gomes <fredericojfgomes@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Frederico Gomes 2026-03-22 19:23:22 +00:00 committed by James Valleroy
parent ce2ce04979
commit 79c978e03a
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -5,6 +5,7 @@
{% load bootstrap %}
{% load i18n %}
{% load extras %}
{% block content %}
@ -35,6 +36,16 @@
</div>
{% endif %}
<h4>{% trans "Client configuration file" %}</h4>
<div class="form-group">
<div class="btn-toolbar">
<a href="{% url 'wireguard:auto-add-client-download' %}"
class="btn btn-default">
{% icon 'download' %}
{% trans "Download config file" %}
</a>
</div>
<div class="form-actions">
<input type="submit" class="btn btn-primary"
value="{% trans "Add Connection" %}"/>