wireguard/theme: Add icon to auto add client 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-21 12:45:09 +00:00 committed by James Valleroy
parent ebac5e86a3
commit 77a91fc357
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 11 additions and 0 deletions

View File

@ -88,6 +88,7 @@
<a title="{% trans 'Auto add a new peer' %}" <a title="{% trans 'Auto add a new peer' %}"
role="button" class="btn btn-primary btn-auto-add-client" role="button" class="btn btn-primary btn-auto-add-client"
href="{% url 'wireguard:auto-add-client' %}"> href="{% url 'wireguard:auto-add-client' %}">
{% icon 'magic' %}
{% trans "Add Client Automatically" %} {% trans "Add Client Automatically" %}
</a> </a>
<a title="{% trans 'Add a new peer' %}" <a title="{% trans 'Add a new peer' %}"

View File

@ -0,0 +1,10 @@
<svg
width="512"
height="512"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
fill="currentColor">
<path
d="M 363.74832,181.71778 455.38913,90.07697 421.92303,56.610874 330.28222,148.25168 Z M 503.55528,90.07697 c 0,5.317043 -1.8766,10.32132 -5.62981,14.07453 L 95.706781,506.37019 C 91.953574,510.1234 86.949297,512 81.632254,512 76.315211,512 71.310935,510.1234 67.557728,506.37019 L 5.6298106,444.44227 C 1.8766035,440.68907 0,435.68479 0,430.36775 0,425.0507 1.8766035,420.04643 5.6298106,416.29322 L 407.8485,14.074527 c 3.75321,-3.753208 8.75749,-5.6298111 14.07453,-5.6298111 5.31704,0 10.32132,1.8766031 14.07453,5.6298111 l 61.92791,61.927916 c 3.75321,3.753208 5.62981,8.757484 5.62981,14.074527 z M 81.00672,30.651191 111.65791,40.034209 81.00672,49.417227 71.623702,80.068418 62.240684,49.417227 31.589493,40.034209 62.240684,30.651191 71.623702,0 Z m 109.46854,50.668296 61.30238,18.766033 -61.30238,18.76604 -18.76604,61.30238 L 152.94319,118.85156 91.640806,100.08552 152.94319,81.319487 171.70922,20.017104 Z M 481.34881,230.82224 512,240.20525 l -30.65119,9.38302 -9.38302,30.65119 -9.38302,-30.65119 -30.65119,-9.38302 30.65119,-9.38301 9.38302,-30.6512 z M 281.17776,30.651191 l 30.6512,9.383018 -30.6512,9.383018 -9.38301,30.651191 -9.38302,-30.651191 -30.65119,-9.383018 30.65119,-9.383018 L 271.79475,0 Z"
style="stroke-width:0.312767" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB