feat: add server-side pagination and status filtering to the job history page
Build / Build and Push (push) Successful in 52s

This commit is contained in:
2026-06-06 10:47:39 +01:00
parent 10134f2904
commit 58f760f41d
5 changed files with 181 additions and 17 deletions
+67
View File
@@ -59,6 +59,14 @@ a {
color: var(--text-secondary);
font-weight: 500;
transition: color 0.2s;
display: flex;
align-items: center;
gap: 0.5rem;
}
.nav-links a svg {
width: 1.25rem;
height: 1.25rem;
}
.nav-links a:hover, .nav-links a.active {
@@ -216,6 +224,65 @@ tbody tr:hover {
border-color: var(--accent);
}
/* Pagination */
.pagination {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
}
.pagination-controls {
display: flex;
gap: 0.5rem;
}
.page-btn {
background: var(--surface);
color: var(--text-primary);
border: 1px solid var(--border);
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
font-size: 0.875rem;
transition: all 0.2s;
}
.page-btn:hover {
background: var(--surface-hover);
border-color: var(--text-secondary);
}
.page-btn.disabled {
opacity: 0.5;
cursor: not-allowed;
pointer-events: none;
}
/* Filter Bar */
.filter-bar {
display: flex;
gap: 0.5rem;
align-items: center;
}
.filter-select {
padding: 0.5rem;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 4px;
color: var(--text-primary);
font-size: 0.875rem;
outline: none;
}
.filter-select:focus {
border-color: var(--accent);
}
/* Responsive adjustments */
@media (max-width: 768px) {
.navbar {