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} />
<section className="panel">
<div className="info-stack compact-info">
<div className="info-card">
<strong>Status</strong>
<span className="muted">
<div className="table-wrap request-meta-wrap">
<table className="request-meta-table">
<tbody>
<tr>
<th>Status</th>
<td>
{state === 'open' ? 'Offen' : state === 'completed' ? 'Bereits abgeschlossen' : 'Abgelaufen'}
</span>
</div>
<div className="info-card">
<strong>Erstellt</strong>
<span className="muted">{formatTimestamp(requestEntry.created_at)}</span>
</div>
<div className="info-card">
<strong>Gültig bis</strong>
<span className="muted">{formatTimestamp(requestEntry.expires_at)}</span>
</div>
</td>
</tr>
<tr>
<th>Erstellt</th>
<td>{formatTimestamp(requestEntry.created_at)}</td>
</tr>
<tr>
<th>Gültig bis</th>
<td>{formatTimestamp(requestEntry.expires_at)}</td>
</tr>
{requestEntry.note ? (
<div className="info-card">
<strong>Notiz</strong>
<span className="muted">{requestEntry.note}</span>
</div>
<tr>
<th>Notiz</th>
<td>{requestEntry.note}</td>
</tr>
) : null}
</tbody>
</table>
</div>
</section>

View File

@@ -335,21 +335,29 @@ p {
font-size: 1.02rem;
}
.info-stack.compact-info {
gap: 0.45rem;
.request-meta-wrap {
max-width: 520px;
}
.info-stack.compact-info .info-card {
padding: 0.5rem 0.62rem;
gap: 0.12rem;
.request-meta-table {
min-width: 0;
}
.info-stack.compact-info .info-card strong {
font-size: 0.92rem;
.request-meta-table th,
.request-meta-table td {
font-size: 0.86rem;
padding: 0.45rem 0.6rem;
}
.info-stack.compact-info .info-card .muted {
font-size: 0.84rem;
.request-meta-table th {
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 {