Webpanel client list work in progress

This commit is contained in:
Giulio 2020-05-22 12:30:53 +02:00
parent 04f90cc671
commit 951601b831

View File

@ -31,11 +31,7 @@ require_once("includes/nav.php");
<tbody> <tbody>
<tr> <tr>
<td>Wifi</td> <td>Wifi</td>
<td><?php $hostapod = file_get_contents('/etc/hostapd.conf'); ?></td> <td><?php $ssid = file_get_contents('/etc/ssid'); echo $ssid ?></td>
</tr>
<tr>
<td>Ip Address</td>
<td><?php $dhcpd = file_get_contents('/etc/dhcpd.conf'); ?></td>
</tr> </tr>
<tr> <tr>
<td>Stats</td> <td>Stats</td>
@ -44,6 +40,11 @@ require_once("includes/nav.php");
</tbody> </tbody>
</table> </table>
<h3>Client List</h3> <h3>Client List</h3>
<?php $leases = file_get_contents('/var/log/dhcpd.leases'); ?>
<pre>
<?php echo $leases ?>
</pre>
<? /*
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
@ -69,7 +70,7 @@ require_once("includes/nav.php");
<td>windows-laptop</td> <td>windows-laptop</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>*/?>
</div> </div>
</body> </body>
</html> </html>