regular delta before OS reinstall

This commit is contained in:
Ludwig Lehnert
2026-04-10 11:18:21 +02:00
parent c686d74506
commit d86139f574
2 changed files with 42 additions and 30 deletions

View File

@@ -81,27 +81,31 @@ export default async function UploadRequestPage({ params, searchParams }) {
<StatusMessage error={error} success={success} /> <StatusMessage error={error} success={success} />
<section className="panel"> <section className="panel">
<div className="info-stack compact-info"> <div className="table-wrap request-meta-wrap">
<div className="info-card"> <table className="request-meta-table">
<strong>Status</strong> <tbody>
<span className="muted"> <tr>
{state === 'open' ? 'Offen' : state === 'completed' ? 'Bereits abgeschlossen' : 'Abgelaufen'} <th>Status</th>
</span> <td>
</div> {state === 'open' ? 'Offen' : state === 'completed' ? 'Bereits abgeschlossen' : 'Abgelaufen'}
<div className="info-card"> </td>
<strong>Erstellt</strong> </tr>
<span className="muted">{formatTimestamp(requestEntry.created_at)}</span> <tr>
</div> <th>Erstellt</th>
<div className="info-card"> <td>{formatTimestamp(requestEntry.created_at)}</td>
<strong>Gültig bis</strong> </tr>
<span className="muted">{formatTimestamp(requestEntry.expires_at)}</span> <tr>
</div> <th>Gültig bis</th>
{requestEntry.note ? ( <td>{formatTimestamp(requestEntry.expires_at)}</td>
<div className="info-card"> </tr>
<strong>Notiz</strong> {requestEntry.note ? (
<span className="muted">{requestEntry.note}</span> <tr>
</div> <th>Notiz</th>
) : null} <td>{requestEntry.note}</td>
</tr>
) : null}
</tbody>
</table>
</div> </div>
</section> </section>

View File

@@ -335,21 +335,29 @@ p {
font-size: 1.02rem; font-size: 1.02rem;
} }
.info-stack.compact-info { .request-meta-wrap {
gap: 0.45rem; max-width: 520px;
} }
.info-stack.compact-info .info-card { .request-meta-table {
padding: 0.5rem 0.62rem; min-width: 0;
gap: 0.12rem;
} }
.info-stack.compact-info .info-card strong { .request-meta-table th,
font-size: 0.92rem; .request-meta-table td {
font-size: 0.86rem;
padding: 0.45rem 0.6rem;
} }
.info-stack.compact-info .info-card .muted { .request-meta-table th {
font-size: 0.84rem; width: 10rem;
color: var(--text-muted);
font-weight: 700;
}
.request-meta-table tbody tr:first-child th,
.request-meta-table tbody tr:first-child td {
border-top: none;
} }
.upload-progress { .upload-progress {