Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement 1467 Improving Session Display in Dashboard #1743

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import DeleteAllSessions from '../deleteAllSessions.svelte';
import DeleteSessions from '../deleteSession.svelte';
import type { PageData } from './$types';
import { toLocaleDateTime } from '$lib/helpers/date';

export let data: PageData;

Expand Down Expand Up @@ -47,6 +48,7 @@
<TableCellHead width={140}>Session</TableCellHead>
<TableCellHead width={140}>Location</TableCellHead>
<TableCellHead width={140}>IP</TableCellHead>
<TableCellHead width={140}>Created</TableCellHead>
<TableCellHead width={30} />
</TableHeader>
<TableBody>
Expand Down Expand Up @@ -84,6 +86,7 @@
<TableCellText title="Session">{session.clientType}</TableCellText>
<TableCellText title="Location">{session.countryName}</TableCellText>
<TableCellText title="IP">{session.ip}</TableCellText>
<TableCellText title ="Created">{toLocaleDateTime(session.$createdAt)}</TableCellText>
<TableCell>
<Button
text
Expand Down