mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
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:
parent
ce2ce04979
commit
79c978e03a
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load extras %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
@ -35,6 +36,16 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% 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">
|
<div class="form-actions">
|
||||||
<input type="submit" class="btn btn-primary"
|
<input type="submit" class="btn btn-primary"
|
||||||
value="{% trans "Add Connection" %}"/>
|
value="{% trans "Add Connection" %}"/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user