Admin — Nexarr {#if toast}
{toast.msg}
{/if}
Administration

Sécurité

Changer le mot de passe

{#if pwError}

{pwError}

{/if} {#each [ { id: "pw-c", label: "Mot de passe actuel", bind: "pwCurrent", val: pwCurrent, ac: "current-password" }, { id: "pw-n", label: "Nouveau mot de passe", bind: "pwNew", val: pwNew, ac: "new-password" }, { id: "pw-cf", label: "Confirmer", bind: "pwConfirm", val: pwConfirm, ac: "new-password" }, ] as field}
{ const v = (e.target as HTMLInputElement).value; if (field.id === "pw-c") pwCurrent = v; else if (field.id === "pw-n") pwNew = v; else pwConfirm = v; }} class="w-full bg-abyss-700 border border-white/[0.08] rounded-lg px-3 py-2 text-sm text-slate-100 outline-none focus:border-emerald/60 focus:ring-1 focus:ring-emerald/30 transition-all" />
{/each}

Agents

Créer un token d'agent

Génère un token d'authentification pour enregistrer un nouvel agent.

{#if tokenError}

{tokenError}

{/if}
{#if tokenResult}
Token généré — notez-le, il ne sera plus affiché !

{tokenResult.token}

{/if}

Agents enregistrés

{#if loadError}

{loadError}

{:else if agents.length === 0}

Aucun agent enregistré.

{:else}
{#each agents as agent (agent.id)} {/each}
Statut Hostname IP Arch / OS Alias Actions
{agent.online ? "En ligne" : "Hors ligne"}
{agent.hostname} {agent.ip_address || "—"} {agent.arch || "—"} / {agent.os || "—"}
{/if}