Polish: nav fits at every desktop width, Custom View list values, phone docs, README

This commit is contained in:
Johan Sandoval committed 2026-10-06 19:38:42 +00:00
1 parent a5c0a5210e
commit e2125c760a
7 files changed
+69 -16

No files matched your search

+5 -4
View File
@@ -3451,8 +3451,9 @@
function getCustomCellValue(row, col) {
const blank = v => (v === undefined || v === null || v === "") ? "N/A" : v;
if (col.kind === "apiKey") return blank(row[col.key]);
if (col.kind === "adv") return DeviceInfo.field(row["Source Device"], col.key).text;
if (col.kind === "advDst") return DeviceInfo.field(row["Destination Device"], col.key).text;
// multi-line inventory values (groups, monitors, disk) read as a comma list in a cell
if (col.kind === "adv") return DeviceInfo.field(row["Source Device"], col.key).text.replace(/<br\s*\/?>/gi, ", ");
if (col.kind === "advDst") return DeviceInfo.field(row["Destination Device"], col.key).text.replace(/<br\s*\/?>/gi, ", ");
if (col.kind === "special") return getCustomSpecialty(row["Source Device"]);
if (col.kind === "migration") {
if (col.fn === "space") return (row["Source Free Space"] && row["Source Free Space"] !== "N/A") ? row["Source Free Space"] + " / " + row["Source Total Space"] : "N/A";
@@ -4315,7 +4316,7 @@
const forceBtn = document.getElementById('forceSyncBtn');
const forceFullBtn = document.getElementById('forceFullBtn');
btn.innerText = `Data Updated At: ${globalDataLastUpdated}`;
btn.innerHTML = `<span class="st-pre">Data Updated At: </span>${globalDataLastUpdated}`;
if (state.Status === "Cooldown") {
document.getElementById('syncStatusText').innerText = "System is Idle (On Cooldown)";
@@ -4376,7 +4377,7 @@
if (payload.LastUpdated && payload.Devices) {
apiData = payload.Devices;
globalDataLastUpdated = payload.LastUpdated;
btn.innerText = `Data Updated At: ${globalDataLastUpdated}`;
btn.innerHTML = `<span class="st-pre">Data Updated At: </span>${globalDataLastUpdated}`;
} else {
apiData = payload;
}