diff --git a/src/templates/dashboard_template.py b/src/templates/dashboard_template.py index 455833d..dfad3dd 100644 --- a/src/templates/dashboard_template.py +++ b/src/templates/dashboard_template.py @@ -156,11 +156,35 @@ def generate_dashboard(stats: dict) -> str: background: #1c1917; border-left: 4px solid #f85149; }} + th.sortable {{ + cursor: pointer; + user-select: none; + position: relative; + padding-right: 24px; + }} + th.sortable:hover {{ + background: #1c2128; + }} + th.sortable::after {{ + content: '⇅'; + position: absolute; + right: 8px; + opacity: 0.5; + font-size: 12px; + }} + th.sortable.asc::after {{ + content: '▲'; + opacity: 1; + }} + th.sortable.desc::after {{ + content: '▼'; + opacity: 1; + }}
| IP Address | +IP Address | Accessed Paths | -Count | +Count |
|---|