mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-27 07:31:09 +01:00
Set device image w/ getDeviceImage($revision)
This commit is contained in:
@@ -22,6 +22,7 @@ function DisplayDashboard(): void
|
||||
$clientInterface = $_SESSION['wifi_client_interface'];
|
||||
$hostname = $system->hostname();
|
||||
$revision = $system->rpiRevision();
|
||||
$deviceImage = $dashboard->getDeviceImage($revision);
|
||||
$hostapd = $system->hostapdStatus();
|
||||
$adblock = $system->adBlockStatus();
|
||||
$vpn = $system->getActiveVpnInterface();
|
||||
@@ -88,6 +89,7 @@ function DisplayDashboard(): void
|
||||
echo renderTemplate(
|
||||
"dashboard", compact(
|
||||
"revision",
|
||||
"deviceImage",
|
||||
"interface",
|
||||
"clientInterface",
|
||||
"state",
|
||||
|
||||
Reference in New Issue
Block a user