Commit Graph

155 Commits

Author SHA1 Message Date
7ece6a04fb fix: use --red instead of --danger-soft-text for metric bars 2026-05-08 20:16:22 +08:00
f0465049f2 feat: progress bars with color coding for device metrics 2026-05-08 20:13:12 +08:00
b7268212e3 chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
1bcd9ae3a5 fix: add json tags to inner struct fields for metrics parsing 2026-05-08 20:04:15 +08:00
08712814d9 fix: add json tags for memory fields in metrics struct 2026-05-08 19:50:22 +08:00
807561b908 fix: use form POST instead of fetch for face gallery delete 2026-05-08 19:46:50 +08:00
c2588e7785 refactor: server-side device metrics, no JS 2026-05-08 19:45:26 +08:00
0dede50f9e fix: proxy device metrics through backend to avoid CORS 2026-05-08 19:41:42 +08:00
0d55213101 feat: display NPU on dashboard metrics 2026-05-08 19:39:02 +08:00
4aab7135bc fix: correct label for today alarm stat 2026-05-08 19:35:26 +08:00
ecb5a08d2d feat: today alarm count on dashboard 2026-05-08 19:32:14 +08:00
12276a7acb feat: dashboard device metrics card 2026-05-08 19:27:22 +08:00
6560eb565c fix: always show attention devices card 2026-05-08 13:02:07 +08:00
bcd5da575e fix: update dashboard test for new layout 2026-05-08 13:00:51 +08:00
c7da7c2290 feat: dashboard with real-time alarm feed 2026-05-08 12:59:44 +08:00
8a335b6f73 refactor: single loop for import, skip duplicate files and DB records 2026-05-08 12:55:04 +08:00
f8d1083b2d fix: check duplicate photo in AddPhoto 2026-05-08 12:53:06 +08:00
f32fc41be3 fix: fetch-based photo delete with JSON response 2026-05-08 12:47:55 +08:00
f14ce9b255 fix: skip duplicate photos during import 2026-05-08 12:40:37 +08:00
291c3a97de fix: clean JS confirm via delPhoto function 2026-05-08 12:38:46 +08:00
dda5e1ffd7 feat: add confirm before deleting photo in edit modal 2026-05-08 12:35:56 +08:00
cddde87a93 fix: capture person in variable to access PhotoIDs in range 2026-05-08 12:33:39 +08:00
99233e5e7f fix: use .PhotoIDs instead of $.PhotoIDs in range 2026-05-08 12:31:35 +08:00
cb1ce4deaa feat: real photo delete from DB and disk, pass photo IDs to edit modal 2026-05-08 12:29:10 +08:00
0751adb564 fix: clean rewrite, all JS via data-attrs and forEach 2026-05-08 12:23:10 +08:00
f16501544e fix: escape quotes properly in modal confirm 2026-05-08 12:20:59 +08:00
21831af218 fix: use double quotes for confirm in edit modal JS string 2026-05-08 12:19:00 +08:00
a7caf483f9 fix: use data attributes for edit button to avoid onclick quoting issues 2026-05-08 12:16:41 +08:00
d5fee22e7a fix: use HTML entities for quotes in onclick 2026-05-08 12:15:07 +08:00
f849df4540 fix: add confirm before deleting photo in edit modal 2026-05-08 12:12:11 +08:00
e7181bde7d fix: use requestSubmit to trigger form onsubmit confirm 2026-05-08 12:10:53 +08:00
226196d90e fix: clean rewrite with span icons, remove important 2026-05-08 12:08:35 +08:00
93a514b8ac fix: use span instead of button for icon buttons 2026-05-08 12:05:36 +08:00
c16e9d94c4 fix: important on btn-icon sizing to override vendor CSS 2026-05-08 12:04:51 +08:00
9126bbcf4a refactor: standalone btn-icon class, no btn inheritance 2026-05-08 12:02:49 +08:00
468abeeec0 fix: use important for btn-icon to force override 2026-05-08 12:01:33 +08:00
0ca2bd6d41 fix: use forEach for edit photos, cleaner JS no confirm 2026-05-08 11:55:06 +08:00
5c76022f58 fix: bump CSS cache version 2026-05-08 11:49:49 +08:00
9093cb39cc fix: btn-icon min-height to 0 2026-05-08 11:47:58 +08:00
c816a7b99d feat: add .btn-icon CSS class for compact icon buttons 2026-05-08 11:43:33 +08:00
3025175db5 style: zero padding for square icon buttons 2026-05-08 11:42:16 +08:00
7b56df5043 style: square small icon buttons 2026-05-08 11:40:27 +08:00
f3716e1a7d style: icon buttons inline with name 2026-05-08 11:38:35 +08:00
b64db6b0f0 style: portrait aspect-ratio for face cards 2026-05-08 11:35:54 +08:00
5cc7396663 refactor: modal dialogs for face gallery, unified pattern 2026-05-08 11:32:57 +08:00
5c8ca581f4 chore: remove duplicate header and message from face gallery 2026-05-08 11:27:26 +08:00
d7bd252044 style: inline edit fields, X close button, confirm delete photo 2026-05-08 11:25:23 +08:00
aacf5c80f6 feat: photo count + smart nav button visibility 2026-05-08 11:21:58 +08:00
77b092d946 fix: add /ui prefix to face-photo URLs 2026-05-08 11:18:00 +08:00
96e94a1519 feat: edit modal with photo management for face gallery 2026-05-08 11:16:55 +08:00