mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-21 04:23:15 +01:00
17 lines
658 B
HTML
17 lines
658 B
HTML
{% load i18n %}
|
|
{% if pending_export %}
|
|
<div class="alert alert-warning d-flex justify-content-between align-items-center">
|
|
<span>
|
|
<i class="icon fas fa-exclamation-triangle"></i>
|
|
{% trans 'There are changes that have not been exported to Caddy yet.' %}
|
|
</span>
|
|
<form method="post" action="{% url 'export_caddy_config' %}" class="d-inline mb-0">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="next" value="{{ request.get_full_path }}">
|
|
<button type="submit" class="btn btn-sm btn-light">
|
|
<i class="fas fa-file-export"></i> {% trans 'Export now' %}
|
|
</button>
|
|
</form>
|
|
</div>
|
|
{% endif %}
|