mirror of
https://github.com/smittix/intercept.git
synced 2026-07-08 09:38:12 -07:00
feat: TSCM sweep metadata, cleared devices, and examiner ignore list
Four new features requested by TSCM users: - Site/Location and Examiner name fields appear at the top of the sweep config; both are embedded in HTML and PDF/annex reports. - Mark Cleared button on every live device item dims the entry with a CLEARED badge and excludes it from generated reports. Cleared state resets at the start of each new sweep. The report executive summary shows a count of cleared devices. - Ignore List stores the examiner's own devices persistently in localStorage. Ignored devices are filtered from the live display and all report exports. An Ignore button appears on every device item; the sidebar Examiner Ignore List section shows current entries with per-item removal and a clear-all button. - Site/examiner params forwarded to PDF and annex server routes so the text report header includes them. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -229,6 +229,45 @@
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.4px;
|
||||
}
|
||||
.cleared-badge {
|
||||
margin-left: 6px;
|
||||
font-size: 9px;
|
||||
padding: 1px 4px;
|
||||
border-radius: 3px;
|
||||
background: rgba(0, 204, 0, 0.15);
|
||||
color: #00cc00;
|
||||
border: 1px solid rgba(0, 204, 0, 0.4);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.4px;
|
||||
}
|
||||
.tscm-cleared {
|
||||
opacity: 0.55;
|
||||
}
|
||||
.tscm-device-actions {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
.tscm-action-btn {
|
||||
font-size: 9px;
|
||||
padding: 2px 7px;
|
||||
border: 1px solid var(--border-color);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
color: var(--text-secondary);
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
.tscm-action-btn:hover { opacity: 0.75; }
|
||||
.tscm-action-btn.cleared {
|
||||
border-color: #00cc00;
|
||||
color: #00cc00;
|
||||
background: rgba(0, 204, 0, 0.1);
|
||||
}
|
||||
.tscm-action-btn.ignore {
|
||||
border-color: rgba(255, 107, 107, 0.5);
|
||||
color: #ff6b6b;
|
||||
}
|
||||
.tscm-device-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
Reference in New Issue
Block a user