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