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

Minor corrections to messages

This commit is contained in:
billz 2018-11-15 22:21:55 +00:00
parent d2fc5e4213
commit 6a9ffa36a6

View File

@ -116,14 +116,14 @@ function DisplayWPAConfig(){
$status->addMessage('Wifi settings updated successfully', 'success'); $status->addMessage('Wifi settings updated successfully', 'success');
$networks = $tmp_networks; $networks = $tmp_networks;
} else { } else {
$status->addMessage('Wifi settings updated but cannot restart (cannon execute "wpa_cli reconfigure")', 'danger'); $status->addMessage('Wifi settings updated but cannot restart (cannot execute "wpa_cli reconfigure")', 'danger');
} }
} else { } else {
$status->addMessage('Wifi settings failed to be updated', 'danger'); $status->addMessage('Wifi settings failed to be updated', 'danger');
} }
} }
} else { } else {
$status->addMessage('Failed to updated wifi settings', 'danger'); $status->addMessage('Failed to update wifi settings', 'danger');
} }
} }
@ -230,7 +230,7 @@ function DisplayWPAConfig(){
<div class="row"> <div class="row">
<div class="col-xs-4 col-md-4">RSSI</div> <div class="col-xs-4 col-md-4">RSSI</div>
<div class="col-xs-4 col-md-4"> <div class="col-xs-6 col-md-6">
<?php echo htmlspecialchars($network['RSSI'], ENT_QUOTES); <?php echo htmlspecialchars($network['RSSI'], ENT_QUOTES);
echo "dB ("; echo "dB (";
if($network['RSSI'] >= -50) { echo 100; } if($network['RSSI'] >= -50) { echo 100; }
@ -248,7 +248,7 @@ function DisplayWPAConfig(){
<div class="row"> <div class="row">
<div class="col-xs-4 col-md-4">Security</div> <div class="col-xs-4 col-md-4">Security</div>
<div class="col-xs-4 col-md-4"><?php echo $network['protocol'] ?></div> <div class="col-xs-6 col-md-6"><?php echo $network['protocol'] ?></div>
</div> </div>
<div class="form-group"> <div class="form-group">