FE+BE: fake MAC standardization (FA:CE) #1344

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2025-12-30 10:55:55 +11:00
parent eb125a84fe
commit f3aebbfb31
21 changed files with 55 additions and 8 deletions

View File

@@ -231,6 +231,13 @@ function getDeviceData() {
</a>
</span>`;
}
// handle FAKE mac
if (setting.setKey == "NEWDEV_devMac" && isFakeMac(deviceData["devMac"])) {
inlineControl += `<span class="input-group-addon"
title="${getString("FakeMAC_hover")}">
<i class="fa-solid fa-dice"></i>
</span>`;
}
// handle generate MAC for new device
if (setting.setKey == "NEWDEV_devMac" && deviceData["devMac"] == "") {
inlineControl += `<span class="input-group-addon pointer"