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

Added standard div wrapper to new tab

This commit is contained in:
billz 2017-11-02 18:43:52 +00:00
parent 7b93326478
commit c88d027ec6

View File

@ -134,14 +134,19 @@ function DisplayHostAPDConfig(){
</div> </div>
</div> </div>
<div class="tab-pane fade" id="logoutput"> <div class="tab-pane fade" id="logoutput">
<?php <h4>Logfile output</h4>
if($arrHostapdConf['LogEnable'] == 1) { <div class="row">
$log = file_get_contents('/tmp/hostapd.log'); <div class="form-group col-md-8">
echo 'Logfile contents:<br /><textarea class="logoutput">'.$log.'</textarea>'; <?php
} else { if($arrHostapdConf['LogEnable'] == 1) {
echo "Logfile output not enabled"; $log = file_get_contents('/tmp/hostapd.log');
} echo '<br /><textarea class="logoutput">'.$log.'</textarea>';
?> } else {
echo "<br />Logfile output not enabled";
}
?>
</div>
</div>
</div> </div>
<div class="tab-pane fade" id="advanced"> <div class="tab-pane fade" id="advanced">
<h4>Advanced settings</h4> <h4>Advanced settings</h4>