diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 60ffc80..4e9e305 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -59,7 +59,8 @@ "Bash(/home/rac00n/.npm-global/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg -A5 -B5 \"navbar|nav\" /mnt/c/Users/Administrator/Documents/GitHub/v2-Docker/v2_adminpanel/templates/base.html)", "Bash(/home/rac00n/.npm-global/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg -n \"href=[''\"\"][/]?(dashboard)?[''\"\"]\" --type html)", "Bash(/home/rac00n/.npm-global/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg -n \"Dashboard\" /mnt/c/Users/Administrator/Documents/GitHub/v2-Docker/v2_adminpanel/templates/resources.html)", - "Bash(/home/rac00n/.npm-global/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg -n \"Dashboard\" /mnt/c/Users/Administrator/Documents/GitHub/v2-Docker/v2_adminpanel/templates/profile.html /mnt/c/Users/Administrator/Documents/GitHub/v2-Docker/v2_adminpanel/templates/resource_metrics.html)" + "Bash(/home/rac00n/.npm-global/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg -n \"Dashboard\" /mnt/c/Users/Administrator/Documents/GitHub/v2-Docker/v2_adminpanel/templates/profile.html /mnt/c/Users/Administrator/Documents/GitHub/v2-Docker/v2_adminpanel/templates/resource_metrics.html)", + "Bash(/home/rac00n/.npm-global/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg -n \"BACKUP|LOGIN_2FA_SUCCESS\" /mnt/c/Users/Administrator/Documents/GitHub/v2-Docker/v2_adminpanel/app.py)" ], "deny": [] } diff --git a/v2_adminpanel/templates/audit_log.html b/v2_adminpanel/templates/audit_log.html index 8c1bdd9..9b785ea 100644 --- a/v2_adminpanel/templates/audit_log.html +++ b/v2_adminpanel/templates/audit_log.html @@ -49,6 +49,15 @@ .action-EXPORT { color: #ffc107; } .action-GENERATE_KEY { color: #20c997; } .action-CREATE_BATCH { color: #6610f2; } + .action-BACKUP { color: #5a67d8; } + .action-LOGIN_2FA_SUCCESS { color: #00a86b; } + .action-LOGIN_2FA_BACKUP { color: #059862; } + .action-LOGIN_2FA_FAILED { color: #e53e3e; } + .action-LOGIN_BLOCKED { color: #b91c1c; } + .action-RESTORE { color: #4299e1; } + .action-PASSWORD_CHANGE { color: #805ad5; } + .action-2FA_ENABLED { color: #38a169; } + .action-2FA_DISABLED { color: #e53e3e; } {% endblock %} @@ -87,6 +96,15 @@ + + + + + + + + +