diff --git a/static/index.html b/static/index.html
index 53653f5..380241e 100644
--- a/static/index.html
+++ b/static/index.html
@@ -3096,8 +3096,10 @@
notes: 'Auto check-in on scan',
}),
});
+ showToast('๐ GPS saved โ check the Map tab');
} catch (e) {
console.warn('Auto check-in failed:', e);
+ showToast('GPS check-in failed: ' + (e.message || 'network error'), true);
}
}
@@ -6118,7 +6120,10 @@
var ci = categoryInfo(a.category);
var icon = ci.icon;
if (icon.indexOf('
' + esc(a.machine_id || '') +
+ (gpsInfo ? '
๐ ' + gpsInfo + '' : '') +
'
';
var catColor = ci.color;
@@ -6160,10 +6165,14 @@
var ci = categoryInfo(a.category);
var icon = ci.icon;
var hasGps = (a.latitude != null && a.longitude != null);
+ var gpsDisplay = '';
+ if (hasGps) {
+ gpsDisplay = ' ยท ' + a.latitude.toFixed(5) + ', ' + a.longitude.toFixed(5) + '';
+ }
html += '