2020-07-10 11:36:29 +00:00
|
|
|
<div class="tab-pane fade" id="security">
|
|
|
|
<h4 class="mt-3"><?php echo _("Security settings"); ?></h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
2024-10-24 07:06:13 +00:00
|
|
|
<div class="mb-3">
|
2020-07-10 11:36:29 +00:00
|
|
|
<label for="cbxwpa"><?php echo _("Security type"); ?></label>
|
|
|
|
<?php SelectorOptions('wpa', $arrSecurity, $arrConfig['wpa'], 'cbxwpa'); ?>
|
|
|
|
</div>
|
2024-10-24 07:06:13 +00:00
|
|
|
<div class="mb-3">
|
2020-07-10 11:36:29 +00:00
|
|
|
<label for="cbxwpapairwise"><?php echo _("Encryption Type"); ?></label>
|
|
|
|
<?php SelectorOptions('wpa_pairwise', $arrEncType, $arrConfig['wpa_pairwise'], 'cbxwpapairwise'); ?>
|
|
|
|
</div>
|
|
|
|
<label for="txtwpapassphrase"><?php echo _("PSK"); ?></label>
|
2024-10-25 08:00:58 +00:00
|
|
|
<div class="input-group has-validation">
|
|
|
|
<input type="text" class="form-control" id="txtwpapassphrase" name="wpa_passphrase" value="<?php echo htmlspecialchars($arrConfig['wpa_passphrase'], ENT_QUOTES); ?>" aria-describedby="gen_wpa_passphrase" required />
|
2024-10-26 07:45:53 +00:00
|
|
|
<div class="input-group-text" id="gen_wpa_passphrase"><i class="fa-solid fa-wand-magic-sparkles"></i></div>
|
2023-11-09 15:32:24 +00:00
|
|
|
<div class="invalid-feedback">
|
|
|
|
<?php echo _("Please provide a valid PSK."); ?>
|
|
|
|
</div>
|
2020-07-10 11:36:29 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-10-30 17:26:59 +00:00
|
|
|
<div class="col-md-6 mt-3">
|
2020-07-10 11:36:29 +00:00
|
|
|
<figure class="figure">
|
2020-12-07 11:37:57 +00:00
|
|
|
<img src="app/img/wifi-qr-code.php" class="figure-img img-fluid" alt="RaspAP Wifi QR code" style="width:100%;">
|
2020-07-10 11:36:29 +00:00
|
|
|
<figcaption class="figure-caption"><?php echo _("Scan this QR code with your phone to connect to this RaspAP."); ?></figcaption>
|
|
|
|
</figure>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.tab-pane | security tab -->
|