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

Dynamic sidebar logo

This commit is contained in:
billz 2020-06-30 23:37:08 +01:00
parent 29be22a8d3
commit a77bb2720d

View File

@ -46,15 +46,8 @@ $output = $return = 0;
$page = $_GET['page']; $page = $_GET['page'];
$theme_url = getThemeOpt(); $theme_url = getThemeOpt();
$toggleState = getSidebarState();
if ($_COOKIE['sidebarToggled'] == 'true' ) { $bridgedEnabled = getBridgedState();
$toggleState = "toggled";
}
// Get Bridged AP mode status
$arrHostapdConf = parse_ini_file('/etc/raspap/hostapd.ini');
// defaults to false
$bridgedEnabled = $arrHostapdConf['BridgedEnable'];
?><!DOCTYPE html> ?><!DOCTYPE html>
<html lang="en"> <html lang="en">
@ -116,7 +109,7 @@ $bridgedEnabled = $arrHostapdConf['BridgedEnable'];
<hr class="sidebar-divider my-0"> <hr class="sidebar-divider my-0">
<div class="row"> <div class="row">
<div class="col-xs ml-3 sidebar-brand-icon"> <div class="col-xs ml-3 sidebar-brand-icon">
<img src="app/img/raspAP-logo.svg" class="navbar-logo" width="64" height="64"> <img src="app/img/raspAP-logo.php" class="navbar-logo" width="64" height="64">
</div> </div>
<div class="col-xs ml-2"> <div class="col-xs ml-2">
<div class="ml-1">Status</div> <div class="ml-1">Status</div>