+1
-1
@@ -3,7 +3,7 @@
|
||||
# --- Build (Vite) ---
|
||||
FROM node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY ../../web/package.json ../../web/package-lock.json ./
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
# Même origine : l'API est proxifiée par nginx (cf. nginx.conf), donc URL relative.
|
||||
|
||||
@@ -67,6 +67,7 @@ export interface Demo {
|
||||
status: DemoStatus
|
||||
namespace: string
|
||||
url: string
|
||||
type_abonnement?: string
|
||||
created_at: string
|
||||
expires_at: string
|
||||
}
|
||||
|
||||
@@ -215,6 +215,7 @@ export function Demos() {
|
||||
<Thead>
|
||||
<Tr>
|
||||
<Th>Namespace</Th>
|
||||
<Th>Client</Th>
|
||||
<Th>Statut</Th>
|
||||
<Th>URL</Th>
|
||||
<Th>Expire dans</Th>
|
||||
@@ -244,6 +245,13 @@ export function Demos() {
|
||||
<Text>{d.namespace}</Text>
|
||||
</HStack>
|
||||
</Td>
|
||||
<Td>
|
||||
{d.username ? (
|
||||
<Text>{d.username}</Text>
|
||||
) : (
|
||||
<Text color="gray.400">—</Text>
|
||||
)}
|
||||
</Td>
|
||||
<Td>
|
||||
<Badge colorScheme={statusColor(d.status)}>{statusLabel(d.status)}</Badge>
|
||||
</Td>
|
||||
@@ -291,7 +299,7 @@ export function Demos() {
|
||||
</Td>
|
||||
</Tr>
|
||||
<Tr>
|
||||
<Td p={0} border={isOpen ? undefined : 'none'} colSpan={5}>
|
||||
<Td p={0} border={isOpen ? undefined : 'none'} colSpan={6}>
|
||||
<Collapse in={isOpen} unmountOnExit animateOpacity>
|
||||
<Box p={4} bg="chakra-subtle-bg" borderTopWidth="1px">
|
||||
{detailsLoading && !details ? (
|
||||
|
||||
Reference in New Issue
Block a user