HA addon ingress #960

This commit is contained in:
jokob-sk
2025-01-18 10:07:03 +11:00
parent a5c6510654
commit 9503cc6397
3 changed files with 5 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@@ -307,6 +307,8 @@ function processDeviceTotals(devicesData) {
//------------------------------------------------------------------------------
// Render the info boxes/tiles on top
function renderInfoboxes(customData) {
if(customData.length > 0)
{
$.ajax({
url: 'php/components/tile_cards.php', // PHP script URL
type: 'POST', // Use POST method to send data
@@ -320,6 +322,7 @@ function renderInfoboxes(customData) {
}
});
}
}
// -----------------------------------------------------------------------------
// Map column index to column name for GraphQL query
@@ -833,7 +836,7 @@ function multiEditDevices()
}
// redirect to the Maintenance section
window.location.href = window.location.origin + '/maintenance.php#tab_multiEdit?macs=' + macs.slice(0, -1);
window.location.href = './maintenance.php#tab_multiEdit?macs=' + macs.slice(0, -1);
}

View File

@@ -751,7 +751,7 @@ function navigateToDeviceWithIp (ip) {
{
mac = obj.devMac;
window.open(window.location.origin +'/deviceDetails.php?mac=' + mac , "_blank");
window.open('./deviceDetails.php?mac=' + mac , "_blank");
}
});