add admin audit log (11), hide stacktraces via NODE_ENV=production (13), validate spam_interval_min>=1 (16)

This commit is contained in:
dev
2026-09-08 12:12:29 +03:00
parent 441bdfe0fe
commit e0cec0f943
7 changed files with 196 additions and 5 deletions
+8 -1
View File
@@ -296,4 +296,11 @@ body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;b
.stat .label a{color:var(--accent);text-decoration:none;font-weight:600}
.stat .label a:hover{text-decoration:underline}
@media(max-width:1100px){.dash-grid{grid-template-columns:1fr}}
@media(max-width:640px){.photos-grid-dash{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.photos-grid-dash{grid-template-columns:repeat(2,1fr)}}
.actions-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.audit-table{width:100%;border-collapse:collapse;font-size:.85rem}
.audit-table th{text-align:left;color:var(--muted);font-weight:600;padding:8px 10px;border-bottom:1px solid var(--border);font-size:.75rem;text-transform:uppercase;letter-spacing:.03em}
.audit-table td{padding:10px;border-bottom:1px solid var(--border);vertical-align:top}
.audit-table tr:last-child td{border-bottom:none}
.audit-table tr:hover td{background:rgba(37,99,235,.04)}
.audit-wrap{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow-x:auto}