Spaces:
Running
Running
Commit History
-
Detailed Data
Verified signatureShowing first 5 rows. Click "Expand" to see everything. Expand Because 95% of attacks have a human interaction `; const blob = new Blob(['\ufeff', content], { type: 'application/msword' }); const link = document.createElement('a'); link.href = URL.createObjectURL(blob); link.download = 'security_report.doc'; link.click(); } // File Handling function handleFile(file) { try { clearError(); if (!file) return; statusEl.textContent = 'Loaded: ' + file.name; const ext = (file.name.split('.').pop() || '').toLowerCase(); if (ext === 'csv') { Papa.parse(file, { header: true, skipEmptyLines: true, complete: (res) => { try { safeIngest(res.data); } catch (err) { showError('CSV parsing error: ' + err.message); } }, error: (err) => { showError('CSV read error: ' + err.message); } }); } else if (ext === 'ods') { const reader = new FileReader(); reader.onload = function(ev) { try { const data = new Uint8Array(ev.target.result); const wb = XLSX.read(data, { type: 'array' }); const ws = wb.Sheets[wb.Sh…58e626f -
still not fixed
Verified signatureb414820 -
Because 95% of attacks have a human interaction
Verified signature'); printWindow.document.close(); printWindow.print(); } // File Handling function handleFile(file) { try { clearError(); if (!file) return; statusEl.textContent = 'Loaded: ' + file.name; const ext = (file.name.split('.').pop() || '').toLowerCase(); if (ext === 'csv') { Papa.parse(file, { header: true, skipEmptyLines: true, complete: (res) => safeIngest(res.data) }); } else if (ext === 'ods') { const reader = new FileReader(); reader.onload = function(ev) { try { const data = new Uint8Array(ev.target.result); const wb = XLSX.read(data, { type: 'array' }); const ws = wb.Sheets[wb.SheetNames[0]]; const json = XLSX.utils.sheet_to_json(ws, { defval: "" }); safeIngest(json); } catch (err) { showError('Could not read ODS: ' + err.message); } }; reader.readAsArrayBuffer(file); } else { showError('Unsupported file (use .csv or .ods)'); } } catch (err) { showError(err.message); } } // Safe Data Ingestion function safeIngest(rows) { try { ingest(rows); } catch (err) { showError('Build failed: ' …09497a7 -
looking really good but 2 things
Verified signatureBuild failed: Cannot set properties of undefined (setting 'detailTable') And second the PDF needs to be build better now it has these big blocks. it needs to also remove the export buttons in the pdf and also Give me a export in word option2fb4935 -
<!DOCTYPE html>
Verified signature<html lang="en"> <head> <meta charset="utf-8" /> <title>Client Name Report</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <!-- Libraries --> <script src="https://cdn.jsdelivr.net/npm/papaparse@5.4.1/papaparse.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/xlsx@0.18.5/dist/xlsx.full.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.umd.min.js"></script> <style> :root{ --bg:#f1f5f9; --card:#fff; --ink:#0f172a; --ink-d:#475569; --border:#e2e8f0; --primary:#0fb9b9; --c-sent:#60a5fa; --c-click:#f59e0b; --c-train:#0fb9b9; --c-succ:#94a3b8; } *{box-sizing:border-box} html,body{background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif} body{margin:22px} h1,h2,h3{margin:0 0 10px} .subtle{color:var(--ink-d)} .hidden{display:none!important} .card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:14px} .btn{border:1px solid var…7fb5746 -
initial commit
Verified signatureebd41b2