feat: Add admin navigation, fix modals, clickable stats, update docs

- Add admin dropdown menu in dashboard header with links to all admin pages
- Fix template modal: larger size (800px), responsive grid, type/priority dropdowns
- Fix recurring tickets modal: add Type and Assign To fields, larger size
- Make dashboard stat cards clickable for quick filtering
- Fix user-activity query (remove is_active requirement)
- Add table existence check in ticket_dependencies API
- Fix table overflow on dashboard
- Update Claude.md and README.md with current project status
- Remove migrations directory (all migrations completed)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-20 21:11:49 -05:00
parent 08d6808bc3
commit 0046721fde
9 changed files with 406 additions and 751 deletions

View File

@@ -3167,3 +3167,79 @@ tr:hover .quick-actions {
background: rgba(0, 255, 65, 0.1);
color: var(--terminal-amber);
}
/* ===== ADMIN DROPDOWN ===== */
.admin-dropdown {
position: relative;
display: inline-block;
}
.admin-dropdown .admin-badge {
cursor: pointer;
padding: 0.3rem 0.6rem;
}
.admin-dropdown-content {
display: none;
position: absolute;
top: 100%;
right: 0;
background: var(--bg-primary);
border: 2px solid var(--priority-1);
min-width: 180px;
z-index: 1000;
box-shadow: 0 0 15px rgba(255, 77, 77, 0.3);
}
.admin-dropdown-content.show {
display: block;
}
.admin-dropdown-content a {
display: block;
padding: 0.6rem 1rem;
color: var(--terminal-green);
text-decoration: none;
font-family: var(--font-mono);
font-size: 0.85rem;
transition: all 0.2s ease;
border-bottom: 1px solid var(--bg-tertiary);
}
.admin-dropdown-content a:last-child {
border-bottom: none;
}
.admin-dropdown-content a:hover {
background: rgba(255, 77, 77, 0.1);
color: var(--priority-1);
text-shadow: var(--glow-red);
}
/* ===== CLICKABLE STAT CARDS ===== */
.stat-card:hover {
transform: translateY(-2px);
}
.stat-card:active {
transform: translateY(0);
}
/* ===== TABLE OVERFLOW FIX ===== */
.ascii-content {
overflow-x: auto;
}
/* Reduce column widths for better fit */
table th,
table td {
padding: 8px 10px;
font-size: 0.85rem;
}
/* Make title column wrap if needed */
table td:nth-child(4) {
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
}