1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/templates/system/reset.php

22 lines
1.1 KiB
PHP
Raw Normal View History

2023-04-03 18:48:45 +02:00
<!-- reset tab -->
<div role="tabpanel" class="tab-pane" id="reset">
<h4 class="mt-3"><?php echo _("Restore settings") ;?></h4>
<?php if (!RASPI_MONITOR_ENABLED) : ?>
<?php echo CSRFTokenFieldTag() ?>
<div class="row">
<div class="form-group col-lg-8 col-md-8">
2023-04-05 08:59:51 +02:00
<label for="cbxhwmode">
2023-04-05 20:11:37 +02:00
<?php echo sprintf(_("To reset RaspAP to its <a href=\"%s\">initial configuration</a>, click or tap the button below."), "https://docs.raspap.com/defaults/"); ;?>
2023-04-05 08:59:51 +02:00
</label>
2023-04-03 18:48:45 +02:00
<?php getTooltip('Restores all access point (AP) service settings to their default values. This applies to hostapd, dhcpcd and dnsmasq.', 'tiphwmode', true); ?>
<div class="small">
<?php echo _("Custom files for optional components such as Ad Blocking, WireGuard or OpenVPN will remain on the system."); ?>
</div>
</div>
</div>
2023-04-05 20:11:37 +02:00
<button type="button" class="btn btn-danger" name="system-reset" data-toggle="modal" data-target="#system-confirm-reset" /><?php echo _("Perform reset"); ?></button>
2023-04-03 18:48:45 +02:00
<?php endif ?>
</div>