mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-26 21:31:14 +00:00
Pending configuration warning and reload
This commit is contained in:
@@ -168,6 +168,19 @@
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="container-fluid">
|
||||
{% if pending_changes_warning %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<h4 class="alert-heading">Update Required</h4>
|
||||
<p>Your WireGuard settings have been modified. To apply these changes, please update the configuration and reload the WireGuard service.
|
||||
</p>
|
||||
<p>
|
||||
<a href="/tools/export_wireguard_config/?action=update_and_restart" class="btn btn-secondary">Update and restart service</a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
@@ -179,7 +192,7 @@
|
||||
<footer class="main-footer">
|
||||
wireguard-webadmin
|
||||
<div class="float-right d-none d-sm-inline-block">
|
||||
<b>Version</b> 0.8 beta
|
||||
<b>Version</b> 0.8.1 beta
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
Reference in New Issue
Block a user