Open a repository beneath its row in the mirror's listing

Clicking a repository in the explorer shows its card and files in a row
beneath it, fetched from /admin/mirror/repo, and a second click closes
it; the list stays where it was. The link still leads to the
repository's own page without script or with a modifier key.

A repository's files now take one line each, and an importance matrix
published beside the quantisations is marked as not a model rather than
offered for fetching.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-09-28 22:11:38 +02:00
1 parent 3fea39feb9
commit ff86e52126
4 files changed
+211 -69

No files matched your search

+18
View File
@@ -488,3 +488,21 @@ details.model-card .card-body { max-height: 28rem; overflow: auto; padding: 0 1r
.card-body table { width: auto; max-width: 100%; display: block; overflow-x: auto; font-size: .8rem; }
.card-body td, .card-body th { padding: .25rem .5rem; }
.card-body a.img { font-size: .8rem; }
/* A repository opened beneath its row in the listing. */
table.explore tr.open > td { background: var(--bg); }
table.explore a.open-repo::before { content: "▸ "; color: var(--muted); text-decoration: none; display: inline-block; width: 1em; }
table.explore a.open-repo[aria-expanded="true"]::before { content: "▾ "; }
table.explore tr.repo-detail > td { background: var(--bg); padding: .75rem 1rem 1rem; border-top: 0; }
table.explore tr.repo-detail table { background: var(--card); }
table.explore tr.repo-detail td:first-child { max-width: none; }
/* A repository's files: name, version and button on one line, so a repository
of a dozen quantisations is a dozen lines rather than a dozen boxes. */
table.repo-files td { vertical-align: middle; }
table.repo-files td:first-child { overflow-wrap: anywhere; }
table.repo-files form.inline { display: flex; flex-wrap: nowrap; gap: .35rem; align-items: center; margin: 0; }
table.repo-files form.inline input[type=text] { display: inline-block; width: auto; margin: 0; padding: .3rem .45rem; font-size: .8rem; }
table.repo-files form.inline input[name=model] { width: 12rem; min-width: 0; flex: 1 1 12rem; }
table.repo-files form.inline input[name=version] { width: 6.5rem; }
table.repo-files form.inline button { padding: .3rem .7rem; font-size: .8rem; }
table.repo-files td:last-child { width: 1%; white-space: nowrap; }
table.repo-files td:last-child .opt { display: block; margin-bottom: .2rem; }