mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 09:00:25 +00:00
Add wpa_reinit button to template
This commit is contained in:
parent
56abf95c5b
commit
d1fdbd9f25
1 changed files with 9 additions and 1 deletions
|
@ -2,7 +2,15 @@
|
|||
<div class="col-md-6 ml-6">
|
||||
<p class="lead text-center"><?php echo _('No Wifi stations found') ?></p>
|
||||
<p class="text-center"><?php echo _('Click "Rescan" to search for nearby Wifi stations.') ?></p>
|
||||
<p class="text-center"><?php echo _('Click "Reinitialize" to force reinitialize <code>wpa_supplicant</code>.') ?></p>
|
||||
<p class="text-center"><?php echo _('Click "Re-initialize" to force reinitialize <code>wpa_supplicant</code>.') ?></p>
|
||||
<form method="POST" action="wpa_conf" name="wpa_conf_form" class="row">
|
||||
<?php if (!RASPI_MONITOR_ENABLED) : ?>
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
<div class="col-xs mr-3 mb-3">
|
||||
<input type="submit" class="btn btn-warning btn-block float-right" name="wpa_reinit" value="<?php echo _("Re-initialize"); ?>" />
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</form>
|
||||
</div>
|
||||
<?php } elseif (count($networks) == 1) {
|
||||
$prop_col = "col-sm-12";
|
||||
|
|
Loading…
Reference in a new issue