diff --git a/dist/css/custom.css b/dist/css/custom.css index 88559118..41b9c522 100644 --- a/dist/css/custom.css +++ b/dist/css/custom.css @@ -6,14 +6,10 @@ margin-right: 5px; } -#page-wrapper { - margin: 0 0 0 200px; -} - -.sidebar { +/*.sidebar { margin-top: 35px; width: 200px; -} +}*/ .panel-primary { border-color: #c61931; diff --git a/includes/functions.php b/includes/functions.php index d9f79ffc..4c4cc2f7 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -78,187 +78,6 @@ function ConvertToSecurity( $security ) { } } -/** -* -* -*/ -function DisplayDHCPConfig() { - - exec( 'cat '. RASPI_DNSMASQ_CONFIG, $return ); - $conf = ParseConfig($return); - $arrRange = explode( ",", $conf['dhcp-range'] ); - $RangeStart = $arrRange[0]; - $RangeEnd = $arrRange[1]; - $RangeMask = $arrRange[2]; - preg_match( '/([0-9]*)([a-z])/i', $arrRange[3], $arrRangeLeaseTime ); - - switch( $arrRangeLeaseTime[2] ) { - case "h": - $hselected = " selected"; - break; - case "m": - $mselected = " selected"; - break; - case "d": - $dselected = " selected"; - break; - } - - exec( 'pidof dnsmasq | wc -l',$dnsmasq ); - - if( $dnsmasq[0] == 0 ) { - $status = '
' .$status. '
-Expire time | -MAC Address | -IP Address | -Host name | -Client ID | -
---|---|---|---|---|
' . $lease_item . ' | '; - } - echo '
Expire time | +MAC Address | +IP Address | +Host name | +Client ID | +
---|---|---|---|---|