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); +});