From bef9494622060374e1e1886b5f3d8f971a5d3aa5 Mon Sep 17 00:00:00 2001 From: Carsten Rehfeld Date: Mon, 18 May 2026 19:06:37 +0200 Subject: [PATCH] feat(admin-ui): add Created column to sandbox list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit createdAt was already in AdminSandboxSummary — now visible in the table, formatted as YYYY-MM-DD via JS (same pattern as expiresAt). Co-Authored-By: Mira Rehfeld --- .../main/resources/templates/SandboxListResource/list.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apix-admin/src/main/resources/templates/SandboxListResource/list.html b/apix-admin/src/main/resources/templates/SandboxListResource/list.html index a456fae..6e5e357 100644 --- a/apix-admin/src/main/resources/templates/SandboxListResource/list.html +++ b/apix-admin/src/main/resources/templates/SandboxListResource/list.html @@ -83,6 +83,7 @@ tr:hover td { background: #161b22; } Services Requests Location + Created Expires @@ -96,6 +97,7 @@ tr:hover td { background: #161b22; } {sb.serviceCount} {sb.totalRequests} {#if sb.location != null}{sb.location}{#else}{/if} + {sb.createdAt} {sb.expiresAt} {/for} @@ -119,6 +121,10 @@ document.querySelectorAll('[data-expires]').forEach(td => { const days = Math.round((d - now) / 86400000); td.textContent = days < 0 ? ('expired ' + (-days) + 'd ago') : ('in ' + days + 'd'); }); +document.querySelectorAll('[data-created]').forEach(td => { + const d = new Date(td.dataset.created); + td.textContent = d.toISOString().slice(0, 10); +});