Make each overview KPI its own board block

An overview section that wraps a whole strip of KPI tiles is one
block on a board meant to be rearranged tile by tile. Each KPI is
now an OverviewSection with `tile`: the frame is the tile's card,
with no header outside edit mode. `replaces` swaps a retired block
in a saved layout for the blocks it was split into.

Applied to Monitoring, Backups, Server, Security and Workspace.
Security and Workspace move onto the overview board to get there,
so the backend accepts their layout scopes.
This commit is contained in:
Juan Denis committed 2026-11-14 18:36:24 -05:00
1 parent 36f8285bf3
commit 2871da1458
30 files changed
+423 -399

No files matched your search

+3 -2
View File
@@ -52,13 +52,14 @@ MAX_WIDGETS_PER_BOARD = 100
# A board can also hold the Overview layout a user saved for a page: one kind
# of detail page (every server page shares the user's server layout, the
# page's own server being the board's variable) or a single overview page
# (Monitoring, Backups). It is an ordinary board row whose slug names the
# (Monitoring, Backups, Security). It is an ordinary board row whose slug names the
# page, so it reuses the same storage, validation and ownership rules; it is
# just never listed among the dashboard tabs.
ENTITY_SCOPE_PREFIX = 'entity:'
ENTITY_SCOPES = (
'entity:server', 'entity:service',
'entity:monitoring', 'entity:backups',
'entity:workspace',
'entity:monitoring', 'entity:backups', 'entity:security',
)
+2 -1
View File
@@ -486,7 +486,8 @@ def test_overview_layout_is_stored_but_is_not_a_dashboard_tab(client, auth_heade
@pytest.mark.parametrize('scope', [
'entity:server', 'entity:service', 'entity:monitoring', 'entity:backups',
'entity:server', 'entity:service', 'entity:workspace',
'entity:monitoring', 'entity:backups', 'entity:security',
])
def test_overview_layout_is_empty_until_saved(client, auth_headers, scope):
resp = client.get(f'/api/v1/dashboards?scope={scope}', headers=auth_headers)
@@ -7,7 +7,7 @@ import {
} from 'lucide-react';
import api from '../../services/api';
import { formatBytes } from '@/utils/formatBytes';
import { KpiBand, MetricCard, Pill, DataTable, DataTableFooter } from '@/components/ds';
import { MetricCard, Pill, DataTable, DataTableFooter } from '@/components/ds';
import EmptyState from '../EmptyState';
import InfoTip from '../InfoTip';
import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard';
@@ -103,6 +103,8 @@ const LATEST_COLUMNS = [
// "is my data safe?", not "show me every file".
// Dashboard widget types the Backups overview can carry besides its blocks.
const BACKUPS_WIDGET_TYPES = ['note'];
// Board rows a KPI tile takes: value, label and its sub line.
const KPI_TILE_ROWS = 3;
export default function BackupsOverview({
stats, storageConfig, costSummary, schedules = [], backups = [], onGo, storageWarning = false,
@@ -259,8 +261,9 @@ export default function BackupsOverview({
return (
<div className="bk-overview">
<OverviewBoard kind="backups" widgetTypes={BACKUPS_WIDGET_TYPES}>
<OverviewSection id="glance" title={t('app.backupsOverview.atAGlance', 'At a glance')} w={12} h={4}>
<KpiBand max={4}>
{/* One block per KPI: each is its own tile on the board, never a
section holding a strip of them. */}
<OverviewSection id="kpi-protected" title={t('app.backupsOverview.protectedResources', 'Protected resources')} tile replaces="glance" w={3} h={KPI_TILE_ROWS}>
<MetricCard
tone="green"
icon={<ShieldCheck size={16} />}
@@ -271,6 +274,8 @@ export default function BackupsOverview({
<span>{protection.detail || t('app.backupsOverview.fromTheBackupArchive', 'from the backup archive')}</span>
</div>
</MetricCard>
</OverviewSection>
<OverviewSection id="kpi-storage" title={t('app.backupsOverview.storageUsed', 'Storage used')} tile replaces="glance" w={3} h={KPI_TILE_ROWS}>
<MetricCard
tone="accent"
icon={<Database size={16} />}
@@ -281,6 +286,8 @@ export default function BackupsOverview({
<span>{t('app.backupsOverview.acrossDestinations', { count: destinations.count, defaultValue_one: 'across 1 destination', defaultValue_other: 'across {{count}} destinations' })}</span>
</div>
</MetricCard>
</OverviewSection>
<OverviewSection id="kpi-success" title={t('app.backupsOverview.successRate', 'Success rate')} tile replaces="glance" w={3} h={KPI_TILE_ROWS}>
<MetricCard
tone={successRate == null ? 'accent' : successRate >= 99 ? 'green' : successRate >= 90 ? 'amber' : 'red'}
icon={<History size={16} />}
@@ -292,6 +299,8 @@ export default function BackupsOverview({
<span>{finished30.length ? t('app.backupsOverview.runsLast30Days', { count: finished30.length, defaultValue_one: '1 run · last 30 days', defaultValue_other: '{{count}} runs · last 30 days' }) : t('app.backupsOverview.noRunsRecordedYet', 'no runs recorded yet')}</span>
</div>
</MetricCard>
</OverviewSection>
<OverviewSection id="kpi-next" title={t('app.backupsOverview.nextScheduled', 'Next scheduled')} tile replaces="glance" w={3} h={KPI_TILE_ROWS}>
<MetricCard
tone="violet"
icon={<Timer size={16} />}
@@ -306,7 +315,6 @@ export default function BackupsOverview({
</span>
</div>
</MetricCard>
</KpiBand>
</OverviewSection>
<OverviewSection id="activity" title={t('app.backupsOverview.backupActivity', 'Backup activity')} w={6} h={8}>
@@ -50,6 +50,9 @@ export function WidgetFrame({
const className = [
'skw-frame',
// A bare widget is its own card (a KPI tile): no header outside edit
// mode, where the header is still needed as the drag handle.
type?.bare && 'skw-frame--bare',
edit && 'skw-frame--edit',
selected && 'skw-frame--selected',
].filter(Boolean).join(' ');
@@ -60,6 +60,11 @@ const isSectionWidget = (widget) => String(widget?.type || '').startsWith(SECTIO
// id, title, icon, w (of 12 columns), h (board rows, see BOARD_ROW)
// placed in the default layout unless false
// lead placed ahead of the board's leading dashboard widgets (a notice)
// tile the block is one KPI tile: its frame is the tile's card, with no
// header of its own outside edit mode. A row of KPIs is a row of
// these, each movable on its own — never one section holding a strip.
// replaces id of a retired section this one was split out of, so a saved
// layout that still names the old block gets the new ones in its place
export function OverviewSection() {
return null;
}
@@ -71,6 +76,7 @@ function SectionWidget({ widget, ctx }) {
const slotRef = useRef(null);
const host = ctx.sectionHosts.get(widget.cfg?.section);
const { adoptVersion, releaseSection } = ctx;
const tile = !!getWidgetType(ctx.types, widget.type)?.bare;
// Take the section's element whenever it is free to take (first mount, or
// after another frame showing the same section let go of it).
@@ -85,7 +91,13 @@ function SectionWidget({ widget, ctx }) {
return () => releaseSection(host);
}, [host, releaseSection]);
return <div className="sk-overview-section" ref={slotRef} data-empty={ctx.emptyLabel} />;
return (
<div
className={tile ? 'sk-overview-section sk-overview-section--tile' : 'sk-overview-section'}
ref={slotRef}
data-empty={ctx.emptyLabel}
/>
);
}
const NO_WIDGET_TYPES = [];
@@ -144,7 +156,9 @@ function OverviewBoardInner({ kind, entityId, entityLabel, shared, serverVar, wi
// Everything about the sections that shapes the board (not their content,
// which re-renders through the portals below on every pass).
const sectionSignature = sections
.map((section) => [section.id, section.title, section.w, section.h, section.placed, section.lead].join(':'))
.map((section) => [
section.id, section.title, section.w, section.h, section.placed, section.lead, section.tile, section.replaces,
].join(':'))
.join('|');
// The same descriptors object for as long as the signature holds, so the
// memos below depend on a real value instead of re-running every render.
@@ -152,7 +166,9 @@ function OverviewBoardInner({ kind, entityId, entityLabel, shared, serverVar, wi
if (metaRef.current.signature !== sectionSignature) {
metaRef.current = {
signature: sectionSignature,
meta: sections.map(({ id, title, icon, w, h, placed, lead }) => ({ id, title, icon, w, h, placed, lead })),
meta: sections.map(({ id, title, icon, w, h, placed, lead, tile, replaces }) => (
{ id, title, icon, w, h, placed, lead, tile, replaces }
)),
};
}
const sectionMeta = metaRef.current.meta;
@@ -199,10 +215,12 @@ function OverviewBoardInner({ kind, entityId, entityLabel, shared, serverVar, wi
desc: section.title,
w: section.w || 6,
h: section.h || 3,
min: [3, 2],
min: section.tile ? [2, 2] : [3, 2],
defaultCfg: { section: section.id },
component: SectionWidget,
section: section.id,
// A tile is its own card: WidgetFrame drops the header outside edit mode.
bare: !!section.tile,
}));
// Dashboard widgets keep their size on the finer rows.
const shared = registered.filter((type) => widgetTypeIds.includes(type.id)).map((type) => ({
@@ -229,10 +247,32 @@ function OverviewBoardInner({ kind, entityId, entityLabel, shared, serverVar, wi
}, [kind, sectionMeta, leading]);
// Drop anything a saved layout references that this page no longer offers.
const sanitize = useCallback(
(widgets) => widgets.filter((widget) => getWidgetType(types, widget.type)),
[types],
);
// A page block that was split into smaller ones (`replaces`) is swapped for
// them, so a saved layout keeps what the old block showed.
const sanitize = useCallback((widgets) => {
const kept = widgets.filter((widget) => getWidgetType(types, widget.type));
const retired = widgets.filter((widget) => isSectionWidget(widget) && !getWidgetType(types, widget.type));
if (!retired.length) return kept;
const onBoard = new Set(kept.filter(isSectionWidget).map((widget) => widget.cfg?.section));
retired.forEach((old) => {
sectionMeta
.filter((section) => section.replaces === old.cfg?.section && !onBoard.has(section.id))
.forEach((section) => {
const w = section.w || 6;
const h = section.h || 3;
kept.push({
i: nextWidgetId(kept),
type: sectionTypeId(kind, section.id),
...findFreeSpot(kept, w, h),
w,
h,
cfg: { section: section.id },
});
onBoard.add(section.id);
});
});
return compact(kept);
}, [types, sectionMeta, kind]);
// ---- persistence --------------------------------------------------------
// `board` is the saved row, null while the user is on the shipped layout,
@@ -5,14 +5,15 @@ import {
} from 'lucide-react';
import api from '../../services/api';
import { formatBytes } from '@/utils/formatBytes';
import { AreaChart, KpiBand, MetricCard, Pill, Sparkline } from '@/components/ds';
import { AreaChart, MetricCard, Pill, Sparkline } from '@/components/ds';
import { Button } from '@/components/ui/button';
import { Skeleton } from '../Skeleton';
import MonitorsSummary from './MonitorsSummary';
import { LiveChecks, MonitorKpi, MonitorsList } from './MonitorsSummary';
import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard';
import DiskReclaimModal from './DiskReclaimModal';
import { HOST_SCOPE, useScopeMetrics, trendOf } from './useMonitorScope';
import { useTranslation } from 'react-i18next';
import { translateLabel } from '@/i18n/labels';
import { formatDateTime } from '@/utils/intl';
const PERIODS = ['1h', '6h', '24h', '7d'];
@@ -49,6 +50,24 @@ function last(series) {
// Dashboard widget types the Monitoring overview can carry besides its blocks.
const MONITORING_WIDGET_TYPES = ['stat', 'gauge', 'timeseries', 'specs', 'note'];
// Board rows a KPI tile takes: enough for value, label, a sub line and the
// sparkline under them.
const KPI_TILE_ROWS = 3;
const MONITOR_KPI_BLOCKS = [
{ metric: 'availability', labelKey: 'app.monitorsSummary.availability30d', label: 'Availability (30d)' },
{ metric: 'response', labelKey: 'app.monitorsSummary.avgResponse', label: 'Avg response' },
{ metric: 'down', labelKey: 'app.monitorsSummary.monitorsDown', label: 'Monitors down' },
{ metric: 'degraded', labelKey: 'app.monitorsSummary.degraded', label: 'Degraded' },
];
// Board rows for the monitor list and the live check feed: five rows of each
// without scrolling.
const LIST_BLOCK_ROWS = 9;
// Block ids for the four host readings, in tile order.
const HOST_TILE_IDS = ['host-cpu', 'host-memory', 'host-disk', 'host-extra'];
export default function MonitoringOverview({
scope, isHost, scopeLabel, status, activeAlerts = [],
speedTest, speedTestRunning, onRunSpeedTest,
@@ -209,28 +228,44 @@ export default function MonitoringOverview({
{/* Monitors first: "is the site up" is the question this page is
for, and everything below describes the machines ServerKit runs
on rather than the things it is watching. */}
<OverviewSection id="monitors" title={t('app.monitoringOverview.monitors', 'Monitors')} w={12} h={9}>
<MonitorsSummary summary={monitorsSummary} />
{MONITOR_KPI_BLOCKS.map((block) => (
<OverviewSection key={block.metric} id={`monitor-${block.metric}`} title={translateLabel(t, block)} tile replaces="monitors" w={3} h={KPI_TILE_ROWS}>
<MonitorKpi summary={monitorsSummary} metric={block.metric} />
</OverviewSection>
))}
<OverviewSection id="monitor-list" title={t('app.monitoringOverview.monitors', 'Monitors')} replaces="monitors" w={6} h={LIST_BLOCK_ROWS}>
<MonitorsList summary={monitorsSummary} />
</OverviewSection>
<OverviewSection id="health" title={t('app.monitoringOverview.hostHealth', 'Host health')} w={12} h={5}>
{/* The shared DS tile, not a monitoring-only copy of it — same
geometry as every other KPI strip in the panel, plus the
sparkline slot this page needed. */}
<KpiBand max={4}>
{tiles.map((tile) => {
const numeric = Number(tile.value);
const alerting = tile.limit != null && !Number.isNaN(numeric) && numeric > tile.limit;
const trend = trendOf(tile.spark);
return (
<OverviewSection id="monitor-checks" title={t('app.monitorsSummary.liveChecks', 'Live checks')} replaces="monitors" w={6} h={LIST_BLOCK_ROWS}>
<LiveChecks summary={monitorsSummary} />
</OverviewSection>
{/* One block per reading, each the shared DS tile. The fourth
slot is the scope's own question (load on the host, containers
on an agent), so it keeps one id whichever it shows. */}
{tiles.map((tile, index) => {
const numeric = Number(tile.value);
const alerting = tile.limit != null && !Number.isNaN(numeric) && numeric > tile.limit;
const trend = trendOf(tile.spark);
return (
<OverviewSection
key={HOST_TILE_IDS[index]}
id={HOST_TILE_IDS[index]}
title={translateLabel(t, tile)}
tile
replaces="health"
w={3}
h={KPI_TILE_ROWS}
>
<MetricCard
key={tile.key}
tone={alerting ? 'amber' : TILE_TONE[tile.tone]}
className={alerting ? 'is-alerting' : undefined}
icon={<tile.icon size={16} />}
value={tile.value}
unit={tile.unit || undefined}
label={tile.label}
label={translateLabel(t, tile)}
trend={trend == null ? undefined : (
<>
{trend > 0 ? <ArrowUp size={11} /> : <ArrowDown size={11} />}
@@ -264,10 +299,9 @@ export default function MonitoringOverview({
</Button>
)}
</MetricCard>
);
})}
</KpiBand>
</OverviewSection>
</OverviewSection>
);
})}
<OverviewSection id="processor" title={t('app.monitoringOverview.processor', 'Processor')} w={6} h={7}>
<section className="monitoring-panel">
@@ -1,13 +1,12 @@
// The monitor half of the Monitoring overview: availability KPIs, the live
// check feed and the monitor table.
// The monitor half of the Monitoring overview, as separate board blocks: one
// tile per availability KPI, the monitor list and the live check feed. Each is
// its own <OverviewSection>, so it can be moved, resized or removed on its own.
//
// This is what the page was missing — everything else on Overview describes the
// machines ServerKit runs on, and nothing described the things it is supposed to
// be watching. Host health stays below; this sits above it because "is the site
// up" is the question the page is actually for.
// Everything else on Overview describes the machines ServerKit runs on; these
// sit above it because "is the site up" is the question the page is for.
import { Link, useNavigate } from 'react-router-dom';
import { Activity, Plus, Radar, ShieldAlert, Timer, Zap } from 'lucide-react';
import { AreaChart, KpiBand, MetricCard, Pill } from '@/components/ds';
import { AreaChart, MetricCard, Pill } from '@/components/ds';
import { Button } from '@/components/ui/button';
import { monitorStateOf } from './monitorShared';
import { useTranslation } from 'react-i18next';
@@ -25,10 +24,74 @@ function relativeTime(iso) {
return `${Math.floor(seconds / 3600)}h ago`;
}
export default function MonitorsSummary({ summary }) {
// One availability KPI: `metric` is availability | response | down | degraded.
// Renders nothing while no monitor exists, so its block leaves the layout.
export function MonitorKpi({ summary, metric }) {
const { t } = useTranslation();
const navigate = useNavigate();
const { monitors, stats, feed, loadError, load } = summary;
const { monitors, stats } = summary;
if (!monitors.length) return null;
const open = () => navigate('/monitoring/monitors');
if (metric === 'availability') {
return (
<MetricCard
label={t('app.monitorsSummary.availability30d', 'Availability (30d)')} tone="green" icon={<Activity size={17} />}
value={stats?.overall_uptime_30d != null ? `${stats.overall_uptime_30d}%` : '—'}
onClick={open}
/>
);
}
if (metric === 'down') {
return (
<MetricCard
label={t('app.monitorsSummary.monitorsDown', 'Monitors down')} tone={stats?.down ? 'red' : 'green'} icon={<ShieldAlert size={17} />}
value={stats?.down ?? 0}
onClick={open}
/>
);
}
if (metric === 'degraded') {
return (
<MetricCard
label={t('app.monitorsSummary.degraded', 'Degraded')} tone="amber" icon={<Timer size={17} />}
value={stats?.degraded ?? 0}
onClick={open}
/>
);
}
const responseTimes = monitors
.filter((m) => m.last_response_time != null && !m.is_paused)
.map((m) => m.last_response_time);
const avgResponse = responseTimes.length
? Math.round(responseTimes.reduce((a, b) => a + b, 0) / responseTimes.length)
: null;
// The busiest monitor's recent latency stands in for "how are we doing" —
// averaging series of different lengths across monitors would be a lie.
const leadSpark = monitors.reduce(
(best, m) => ((m.spark?.length || 0) > (best?.spark?.length || 0) ? m : best),
null,
);
return (
<MetricCard
label={t('app.monitorsSummary.avgResponse', 'Avg response')} tone="cyan" icon={<Zap size={17} />}
value={avgResponse ?? '—'} unit={avgResponse != null ? 'ms' : undefined}
spark={leadSpark?.spark?.length > 1 ? (
<AreaChart series={[leadSpark.spark]} colors={['var(--cyan)']} height={34} grid={false} />
) : undefined}
/>
);
}
// The watched monitors. Also where "nothing is watched yet"
// and a failed load are said, since this is the block that would list them.
export function MonitorsList({ summary }) {
const { t } = useTranslation();
const navigate = useNavigate();
const { monitors, loadError, load } = summary;
// A failed fetch with nothing loaded is not "nothing is being watched".
if (loadError && !monitors.length) {
@@ -63,123 +126,90 @@ export default function MonitorsSummary({ summary }) {
);
}
const responseTimes = monitors
.filter((m) => m.last_response_time != null && !m.is_paused)
.map((m) => m.last_response_time);
const avgResponse = responseTimes.length
? Math.round(responseTimes.reduce((a, b) => a + b, 0) / responseTimes.length)
: null;
// The busiest monitor's recent latency stands in for "how are we doing" —
// averaging series of different lengths across monitors would be a lie.
const leadSpark = monitors.reduce(
(best, m) => ((m.spark?.length || 0) > (best?.spark?.length || 0) ? m : best),
null,
);
return (
<div className="mon-monitors-summary">
<KpiBand max={4}>
<MetricCard
label={t('app.monitorsSummary.availability30d', 'Availability (30d)')} tone="green" icon={<Activity size={17} />}
value={stats?.overall_uptime_30d != null ? `${stats.overall_uptime_30d}%` : '—'}
onClick={() => navigate('/monitoring/monitors')}
/>
<MetricCard
label={t('app.monitorsSummary.avgResponse', 'Avg response')} tone="cyan" icon={<Zap size={17} />}
value={avgResponse ?? '—'} unit={avgResponse != null ? 'ms' : undefined}
spark={leadSpark?.spark?.length > 1 ? (
<AreaChart series={[leadSpark.spark]} colors={['var(--cyan)']} height={34} grid={false} />
) : undefined}
/>
<MetricCard
label={t('app.monitorsSummary.monitorsDown', 'Monitors down')} tone={stats?.down ? 'red' : 'green'} icon={<ShieldAlert size={17} />}
value={stats?.down ?? 0}
onClick={() => navigate('/monitoring/monitors')}
/>
<MetricCard
label={t('app.monitorsSummary.degraded', 'Degraded')} tone="amber" icon={<Timer size={17} />}
value={stats?.degraded ?? 0}
onClick={() => navigate('/monitoring/monitors')}
/>
</KpiBand>
<div className="mon-grid2">
<section className="monitoring-panel">
<div className="monitoring-panel__header">
<div>
<h3>{t('app.monitorsSummary.monitors', 'Monitors')}</h3>
<span className="mon-panel-sub">{monitors.length} watched</span>
</div>
<Button variant="outline" size="sm" asChild>
<Link to="/monitoring/monitors"><Radar size={14} /> {t('app.monitorsSummary.manage', 'Manage')}</Link>
</Button>
</div>
<div className="mon-monitor-list">
{monitors.slice(0, 8).map((monitor) => {
const state = monitorStateOf(monitor);
return (
<Link
key={monitor.id}
className="mon-monitor-row"
to={`/monitoring/monitors/${monitor.id}`}
>
<span className="mon-monitor-row__body">
<span className="mon-monitor-row__name">{monitor.name}</span>
<span className="mon-monitor-row__sub">
{monitor.check_type} · {monitor.check_target || t('app.monitorsSummary.boundSite', 'bound site')}
</span>
</span>
<span className="mon-monitor-row__ms">
{monitor.last_response_time == null ? '—' : `${monitor.last_response_time} ms`}
</span>
<Pill kind={state.tone}>{state.label}</Pill>
</Link>
);
})}
</div>
</section>
<section className="monitoring-panel">
<div className="monitoring-panel__header">
<div>
<h3>{t('app.monitorsSummary.liveChecks', 'Live checks')}</h3>
<span className="mon-panel-sub">{t('app.monitorsSummary.mostRecentResults', 'Most recent results')}</span>
</div>
</div>
{feed.length === 0 ? (
<p className="mon-panel-hint">
{t('app.monitorsSummary.noChecksRecordedYetTheScheduler', "No checks recorded yet. The scheduler polls on each monitor's interval.")}
</p>
) : (
<div className="mon-feed">
{feed.map((monitor) => {
const state = monitorStateOf(monitor);
const ok = state.key === 'up';
return (
<Link
key={monitor.id}
className="mon-feed-row"
to={`/monitoring/monitors/${monitor.id}`}
>
<span className={`mon-code mon-code--${ok ? 'ok' : 'bad'}`}>
{ok ? 'ok' : state.label.toLowerCase()}
</span>
<span className="mon-feed-row__body">
<span className="mon-feed-row__name">{monitor.name}</span>
<span className="mon-feed-row__sub">
{relativeTime(monitor.last_check_at)}
</span>
</span>
<span className="mon-feed-row__ms">
{monitor.last_response_time == null ? 'fail' : `${monitor.last_response_time}ms`}
</span>
</Link>
);
})}
</div>
)}
</section>
<section className="monitoring-panel">
<div className="monitoring-panel__header">
<div>
<h3>{t('app.monitorsSummary.monitors', 'Monitors')}</h3>
<span className="mon-panel-sub">{monitors.length} watched</span>
</div>
<Button variant="outline" size="sm" asChild>
<Link to="/monitoring/monitors"><Radar size={14} /> {t('app.monitorsSummary.manage', 'Manage')}</Link>
</Button>
</div>
</div>
<div className="mon-monitor-list">
{monitors.slice(0, 8).map((monitor) => {
const state = monitorStateOf(monitor);
return (
<Link
key={monitor.id}
className="mon-monitor-row"
to={`/monitoring/monitors/${monitor.id}`}
>
<span className="mon-monitor-row__body">
<span className="mon-monitor-row__name">{monitor.name}</span>
<span className="mon-monitor-row__sub">
{monitor.check_type} · {monitor.check_target || t('app.monitorsSummary.boundSite', 'bound site')}
</span>
</span>
<span className="mon-monitor-row__ms">
{monitor.last_response_time == null ? '—' : `${monitor.last_response_time} ms`}
</span>
<Pill kind={state.tone}>{state.label}</Pill>
</Link>
);
})}
</div>
</section>
);
}
// The most recent check results across every monitor.
export function LiveChecks({ summary }) {
const { t } = useTranslation();
const { monitors, feed } = summary;
if (!monitors.length) return null;
return (
<section className="monitoring-panel">
<div className="monitoring-panel__header">
<div>
<h3>{t('app.monitorsSummary.liveChecks', 'Live checks')}</h3>
<span className="mon-panel-sub">{t('app.monitorsSummary.mostRecentResults', 'Most recent results')}</span>
</div>
</div>
{feed.length === 0 ? (
<p className="mon-panel-hint">
{t('app.monitorsSummary.noChecksRecordedYetTheScheduler', "No checks recorded yet. The scheduler polls on each monitor's interval.")}
</p>
) : (
<div className="mon-feed">
{feed.map((monitor) => {
const state = monitorStateOf(monitor);
const ok = state.key === 'up';
return (
<Link
key={monitor.id}
className="mon-feed-row"
to={`/monitoring/monitors/${monitor.id}`}
>
<span className={`mon-code mon-code--${ok ? 'ok' : 'bad'}`}>
{ok ? 'ok' : state.label.toLowerCase()}
</span>
<span className="mon-feed-row__body">
<span className="mon-feed-row__name">{monitor.name}</span>
<span className="mon-feed-row__sub">
{relativeTime(monitor.last_check_at)}
</span>
</span>
<span className="mon-feed-row__ms">
{monitor.last_response_time == null ? 'fail' : `${monitor.last_response_time}ms`}
</span>
</Link>
);
})}
</div>
)}
</section>
);
}
@@ -4,7 +4,7 @@ import { Link } from 'react-router-dom';
import api from '../../services/api';
import { useContributions } from '@/plugins/contributions';
import { Button } from '@/components/ui/button';
import { Pill, ScoreGauge, KpiBand, MetricCard } from '@/components/ds';
import { Pill, ScoreGauge, MetricCard } from '@/components/ds';
import { useTranslation } from 'react-i18next';
import useMediaQuery from '../../hooks/useMediaQuery';
import {
@@ -18,14 +18,20 @@ import {
Radar,
Puzzle,
Bell,
ListChecks,
} from 'lucide-react';
import InfoTip from '@/components/InfoTip';
import { Card as SharedCard, CardHeader as SharedCardHeader, CardContent as SharedCardContent } from '@/components/ui/card';
import { translateLabel } from '@/i18n/labels';
import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard';
// Status glyph per check state — paired with the label so state never relies on
// color alone (color-blind operators), per the product a11y bar.
const STATE_ICON = { pass: CheckCircle2, warn: AlertTriangle, unknown: Circle };
// Board rows: a KPI tile (the score block shares the row), and the checks list.
const KPI_TILE_ROWS = 3;
const CHECKS_ROWS = 6;
const OverviewTab = ({ status, onRefresh, onNavigateTab }) => {
const { t } = useTranslation();
const phone = useMediaQuery('(max-width: 640px)'); // = $breakpoint-sm
@@ -127,14 +133,10 @@ const OverviewTab = ({ status, onRefresh, onNavigateTab }) => {
<div className="security-overview">
{error && <div className="alert alert-danger">{error}</div>}
<SharedCard variant="legacy" className="card sec-posture-card">
<SharedCardHeader variant="legacy" className="card-header">
<h3><ShieldCheck size={13} /> {t('app.overviewTab.securityPosture', 'Security posture')}</h3>
<Button variant="outline" size="sm" onClick={() => runFix('recheck', async () => {})} disabled={busy}>
<RefreshCw size={13} className={busyKey === 'recheck' ? 'sec-spin' : undefined} /> {t('app.overviewTab.reCheck', 'Re-check')}
</Button>
</SharedCardHeader>
<SharedCardContent variant="legacy" className="card-body">
{/* The posture as separate board blocks: the score, one tile per
live count, then the checks behind the score. */}
<OverviewBoard kind="security">
<OverviewSection id="posture" title={t('app.overviewTab.securityPosture', 'Security posture')} icon={ShieldCheck} tile w={6} h={KPI_TILE_ROWS}>
<div className="sec-posture__top">
{score !== null ? (
<ScoreGauge value={score} size={phone ? 72 : 104} stroke={phone ? 7 : 9} color={scoreColor} label="posture" />
@@ -144,7 +146,6 @@ const OverviewTab = ({ status, onRefresh, onNavigateTab }) => {
<span>{t('app.overviewTab.computing', 'Computing…')}</span>
</div>
)}
<div className="sec-posture__summary">
<p className="sec-posture__verdict">
{score === null
@@ -157,23 +158,24 @@ const OverviewTab = ({ status, onRefresh, onNavigateTab }) => {
defaultValue_other: '{{count}} checks need attention.',
})}
</p>
<KpiBand dense className="sec-posture__kpis">
{kpis.map((k) => {
const Icon = k.icon;
return (
<MetricCard
key={k.key}
icon={<Icon size={16} />}
tone={k.tone}
value={k.value}
label={k.label}
/>
);
})}
</KpiBand>
<Button variant="outline" size="sm" onClick={() => runFix('recheck', async () => {})} disabled={busy}>
<RefreshCw size={13} className={busyKey === 'recheck' ? 'sec-spin' : undefined} /> {t('app.overviewTab.reCheck', 'Re-check')}
</Button>
</div>
</div>
</OverviewSection>
{kpis.map((k) => {
const Icon = k.icon;
const label = translateLabel(t, k);
return (
<OverviewSection key={k.key} id={`kpi-${k.key}`} title={label} tile w={2} h={KPI_TILE_ROWS}>
<MetricCard icon={<Icon size={16} />} tone={k.tone} value={k.value} label={label} />
</OverviewSection>
);
})}
<OverviewSection id="checks" title={t('app.overviewTab.hardeningChecks', 'Hardening checks')} icon={ListChecks} w={12} h={CHECKS_ROWS}>
<div className="sec-posture__checks">
{checks.map((c) => {
const Icon = STATE_ICON[c.state];
@@ -217,8 +219,8 @@ const OverviewTab = ({ status, onRefresh, onNavigateTab }) => {
</Link>
<InfoTip subject={t('app.overviewTab.notificationsLink', 'Notifications')}>{t('app.overviewTab.addAlertDeliveryChannelsDiscordSlack', 'Add alert delivery channels (Discord, Slack, Telegram) in Settings → Notifications.')}</InfoTip>
</div>
</SharedCardContent>
</SharedCard>
</OverviewSection>
</OverviewBoard>
</div>
);
};
@@ -1,5 +1,5 @@
import { serverStatusKind } from './serverDetailData';
import { Pill, KpiBand, MetricCard, Gauge } from '../ds';
import { Pill, MetricCard, Gauge } from '../ds';
import OnboardingWizard from '../server/OnboardingWizard';
import SystemStatusCard from './SystemStatusCard';
import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard';
@@ -46,6 +46,8 @@ const SERVER_LEADING_WIDGETS = [
// Usage thresholds for the CPU / memory / disk tiles.
const USAGE_DANGER_PERCENT = 85;
const USAGE_WARN_PERCENT = 70;
// Board rows a KPI tile takes: value, label, a meter and its sub line.
const KPI_TILE_ROWS = 3;
// A percent tile on the shared MetricCard: the value, a thin meter and the
// capacity line underneath. Same tile the service overview's KPI band uses.
@@ -136,47 +138,53 @@ const ServerOverviewTab = ({ server, metrics, systemInfo, onRefreshServer }) =>
)}
</OverviewSection>
{/* The agent's live readings (no history needed). Offered in
the block library; the default layout opens with the
dashboard's metric widgets instead. */}
<OverviewSection id="live" title={t('app.serverOverviewTab.liveStatus', 'Live status')} w={12} h={4} placed={false}>
<KpiBand max={5}>
<MetricCard
icon={<PulseIcon />}
tone={isOnline ? 'green' : server.status === 'connecting' ? 'amber' : 'red'}
value={statusLabel.charAt(0).toUpperCase() + statusLabel.slice(1)}
label={t('common.labels.status', 'Status')}
/>
<MetricCard
icon={<ClockIcon />}
tone="accent"
value={isOnline ? formatUptime(metrics?.uptime) : '—'}
label={t('common.labels.uptime', 'Uptime')}
>
{isOnline && metrics?.uptime ? <div className="sk-kpi__sub">{t('app.serverOverviewTab.sinceLastBoot', 'since last boot')}</div> : null}
</MetricCard>
<UsageTile
icon={<CpuIcon />}
label="CPU"
percent={isOnline ? metrics?.cpu_percent : null}
color="var(--accent-bright)"
sub={cpuCores ? `${cpuCores} cores` : null}
/>
<UsageTile
icon={<MemoryIcon />}
label={t('common.labels.memory', 'Memory')}
percent={isOnline ? metrics?.memory_percent : null}
color="var(--cyan)"
sub={totalMemory ? formatBytes(totalMemory) : null}
/>
<UsageTile
icon={<DiskIcon />}
label={t('common.labels.disk', 'Disk')}
percent={isOnline ? metrics?.disk_percent : null}
color="var(--green)"
sub={totalDisk ? formatBytes(totalDisk) : null}
/>
</KpiBand>
{/* The agent's live readings (no history needed), one tile
each. Offered in the block library; the default layout
opens with the dashboard's metric widgets instead. */}
<OverviewSection id="live-status" title={t('common.labels.status', 'Status')} tile replaces="live" w={3} h={KPI_TILE_ROWS} placed={false}>
<MetricCard
icon={<PulseIcon />}
tone={isOnline ? 'green' : server.status === 'connecting' ? 'amber' : 'red'}
value={statusLabel.charAt(0).toUpperCase() + statusLabel.slice(1)}
label={t('common.labels.status', 'Status')}
/>
</OverviewSection>
<OverviewSection id="live-uptime" title={t('common.labels.uptime', 'Uptime')} tile replaces="live" w={3} h={KPI_TILE_ROWS} placed={false}>
<MetricCard
icon={<ClockIcon />}
tone="accent"
value={isOnline ? formatUptime(metrics?.uptime) : '—'}
label={t('common.labels.uptime', 'Uptime')}
>
{isOnline && metrics?.uptime ? <div className="sk-kpi__sub">{t('app.serverOverviewTab.sinceLastBoot', 'since last boot')}</div> : null}
</MetricCard>
</OverviewSection>
<OverviewSection id="live-cpu" title="CPU" tile replaces="live" w={3} h={KPI_TILE_ROWS} placed={false}>
<UsageTile
icon={<CpuIcon />}
label="CPU"
percent={isOnline ? metrics?.cpu_percent : null}
color="var(--accent-bright)"
sub={cpuCores ? `${cpuCores} cores` : null}
/>
</OverviewSection>
<OverviewSection id="live-memory" title={t('common.labels.memory', 'Memory')} tile replaces="live" w={3} h={KPI_TILE_ROWS} placed={false}>
<UsageTile
icon={<MemoryIcon />}
label={t('common.labels.memory', 'Memory')}
percent={isOnline ? metrics?.memory_percent : null}
color="var(--cyan)"
sub={totalMemory ? formatBytes(totalMemory) : null}
/>
</OverviewSection>
<OverviewSection id="live-disk" title={t('common.labels.disk', 'Disk')} tile replaces="live" w={3} h={KPI_TILE_ROWS} placed={false}>
<UsageTile
icon={<DiskIcon />}
label={t('common.labels.disk', 'Disk')}
percent={isOnline ? metrics?.disk_percent : null}
color="var(--green)"
sub={totalDisk ? formatBytes(totalDisk) : null}
/>
</OverviewSection>
<OverviewSection id="info" title={t('app.serverOverviewTab.serverInformation', 'Server information')} icon={ServerGlyph} w={4} h={6}>
@@ -1,31 +1,40 @@
import { KpiBand, MetricCard } from '@/components/ds';
import { MetricCard } from '@/components/ds';
import { Server, Boxes, Globe, Users } from 'lucide-react';
import { useTranslation } from 'react-i18next';
import { InfoList, InfoItem } from '../InfoList';
import { OverviewBoard, OverviewSection } from '@/components/detail/OverviewBoard';
// Board rows a KPI tile takes: a count and its label.
const KPI_TILE_ROWS = 2;
// The workspace's Overview tab on the overview board: its facts, then one tile
// per resource count. One layout per user, shared by every workspace page.
const WorkspaceOverviewTab = ({ ws, since, members, srvIn, services, sites }) => {
const { t } = useTranslation();
return (
<div className="ws-detail__grid">
<section className="ws-detail__card">
<h3>{t('common.labels.workspace', 'Workspace')}</h3>
<OverviewBoard kind="workspace" shared entityId={ws.id} entityLabel={ws.name}>
<OverviewSection id="count-servers" title={t('common.labels.servers', 'Servers')} tile w={3} h={KPI_TILE_ROWS}>
<MetricCard icon={<Server size={16} />} tone="accent" value={srvIn.length} label={t('common.labels.servers', 'Servers')} />
</OverviewSection>
<OverviewSection id="count-services" title={t('common.labels.services', 'Services')} tile w={3} h={KPI_TILE_ROWS}>
<MetricCard icon={<Boxes size={16} />} tone="accent" value={services.length} label={t('common.labels.services', 'Services')} />
</OverviewSection>
<OverviewSection id="count-sites" title={t('app.workspaceOverviewTab.sites', 'Sites')} tile w={3} h={KPI_TILE_ROWS}>
<MetricCard icon={<Globe size={16} />} tone="accent" value={sites.length} label={t('app.workspaceOverviewTab.sites', 'Sites')} />
</OverviewSection>
<OverviewSection id="count-members" title={t('app.workspaceOverviewTab.members', 'Members')} tile w={3} h={KPI_TILE_ROWS}>
<MetricCard icon={<Users size={16} />} tone="accent" value={members.length} label={t('app.workspaceOverviewTab.members', 'Members')} />
</OverviewSection>
<OverviewSection id="info" title={t('common.labels.workspace', 'Workspace')} w={6} h={5}>
<InfoList>
<InfoItem label={t('app.workspaceOverviewTab.slug', 'Slug')} value={`/${ws.slug}`} mono />
<InfoItem label={t('common.labels.created', 'Created')} value={since || '—'} />
<InfoItem label={t('app.workspaceOverviewTab.maxServers', 'Max servers')} value={ws.max_servers > 0 ? ws.max_servers : t('app.workspaceOverviewTab.unlimited', 'Unlimited')} />
<InfoItem label={t('app.workspaceOverviewTab.maxUsers', 'Max users')} value={ws.max_users > 0 ? ws.max_users : t('app.workspaceOverviewTab.unlimited', 'Unlimited')} />
</InfoList>
</section>
<section className="ws-detail__card">
<h3>{t('app.workspaceOverviewTab.resources', 'Resources')}</h3>
<KpiBand>
<MetricCard icon={<Server size={16} />} tone="accent" value={srvIn.length} label={t('common.labels.servers', 'Servers')} />
<MetricCard icon={<Boxes size={16} />} tone="accent" value={services.length} label={t('common.labels.services', 'Services')} />
<MetricCard icon={<Globe size={16} />} tone="accent" value={sites.length} label={t('app.workspaceOverviewTab.sites', 'Sites')} />
<MetricCard icon={<Users size={16} />} tone="accent" value={members.length} label={t('app.workspaceOverviewTab.members', 'Members')} />
</KpiBand>
</section>
</div>
</OverviewSection>
</OverviewBoard>
);
};
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "فشل إيقاف مشروع compose.",
"couldntUpdateProject": "فشل تحديث مشروع compose.",
"dockerComposeUpD": "عامل ميناء يؤلف -d",
"filterProjectOrConfigPath": "تصفية المشروع أو مسار التكوين...",
"imagesPulled": "الصور سحبت",
"lines": "الخطوط:",
"loadingComposeProjects": "جارٍ تحميل مشاريع الإنشاء...",
@@ -1441,7 +1440,6 @@
"exec": "تنفيذي",
"exec3": "المدير التنفيذي: {{value}}",
"executeCommandsInContainer": "تنفيذ الأوامر في الحاوية",
"filterNameImageOrId": "اسم الفلتر أو الصورة أو المعرف...",
"health": "صحة",
"hostPort": "منفذ المضيف",
"image": "صورة",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "فشلت إزالة الصورة. قد يكون قيد الاستخدام بواسطة حاوية.",
"filterRepositoryTagOrId": "مستودع التصفية أو العلامة أو المعرف...",
"imageName": "اسم الصورة *",
"imageRemovedSuccessfully": "تمت إزالة الصورة بنجاح",
"loadingImages": "جارٍ تحميل الصور...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "استخدام وحدة المعالجة المركزية",
"diskUsage": "استخدام القرص",
"down": "تحت",
"hostHealth": "صحة المضيف",
"latency": "كمون",
"loadAverage": "متوسط التحميل",
"loadingMetrics": "جارٍ تحميل المقاييس",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "إنشاء الشبكات متاح فقط على هدف Docker المحلي في الوقت الحالي",
"driver": "سائق",
"failedToRemoveNetworkItMay": "فشل في إزالة الشبكة. قد يكون قيد الاستخدام.",
"filterNameOrId": "اسم المرشح أو معرفه...",
"loadingNetworks": "جارٍ تحميل الشبكات...",
"networkName": "اسم الشبكة *",
"networkRemovedSuccessfully": "تمت إزالة الشبكة بنجاح",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "إنشاء وحدات التخزين متاح فقط على هدف Docker المحلي في الوقت الحالي",
"driver": "سائق",
"failedToRemoveVolumeItMay": "فشل في إزالة وحدة التخزين. قد يكون قيد الاستخدام.",
"filterNameOrMountpoint": "اسم الفلتر أو نقطة التثبيت...",
"loadingVolumes": "جارٍ تحميل وحدات التخزين...",
"mountpoint": "نقطة التثبيت",
"noMatchingVolumes": "لا توجد وحدات تخزين مطابقة",
@@ -7897,7 +7891,6 @@
"maxServers": "خوادم ماكس",
"maxUsers": "ماكس المستخدمين",
"members": "أعضاء",
"resources": "موارد",
"sites": "مواقع",
"slug": "سبيكة",
"unlimited": "غير محدود"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "compose প্রকল্প থামাতে ব্যর্থ হয়েছে।",
"couldntUpdateProject": "compose প্রকল্প আপডেট করতে ব্যর্থ হয়েছে।",
"dockerComposeUpD": "ডকার কম্পোজ আপ -d",
"filterProjectOrConfigPath": "ফিল্টার প্রকল্প বা কনফিগার পাথ...",
"imagesPulled": "ইমেজ পুল করা হয়েছে",
"lines": "লাইন:",
"loadingComposeProjects": "রচনা প্রকল্প লোড হচ্ছে...",
@@ -1441,7 +1440,6 @@
"exec": "Exec",
"exec3": "Exec: {{value}}",
"executeCommandsInContainer": "কন্টেইনারে কমান্ড চালান",
"filterNameImageOrId": "ফিল্টার নাম, ছবি বা আইডি...",
"health": "স্বাস্থ্য",
"hostPort": "হোস্ট পোর্ট",
"image": "ইমেজ",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "ছবি সরাতে ব্যর্থ হয়েছে৷ এটি একটি ধারক দ্বারা ব্যবহার করা হতে পারে.",
"filterRepositoryTagOrId": "ফিল্টার রিপোজিটরি, ট্যাগ বা আইডি...",
"imageName": "ইমেজের নাম *",
"imageRemovedSuccessfully": "ইমেজ মুছে ফেলা হয়েছে",
"loadingImages": "ইমেজ লোড হচ্ছে...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "CPU ব্যবহার",
"diskUsage": "ডিস্ক ব্যবহার",
"down": "নিচে",
"hostHealth": "হোস্ট স্বাস্থ্য",
"latency": "লেটেন্সি",
"loadAverage": "লোড গড়",
"loadingMetrics": "মেট্রিক্স লোড হচ্ছে",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "নেটওয়ার্ক তৈরি করা শুধুমাত্র স্থানীয় Docker লক্ষ্যে উপলব্ধ",
"driver": "ড্রাইভার",
"failedToRemoveNetworkItMay": "নেটওয়ার্ক সরাতে ব্যর্থ হয়েছে৷ এটি ব্যবহার হতে পারে।",
"filterNameOrId": "ফিল্টার নাম বা আইডি...",
"loadingNetworks": "নেটওয়ার্ক লোড হচ্ছে...",
"networkName": "নেটওয়ার্কের নাম *",
"networkRemovedSuccessfully": "নেটওয়ার্ক সফলভাবে সরানো হয়েছে",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "ভলিউম তৈরি করা শুধুমাত্র স্থানীয় Docker টার্গেটে উপলব্ধ",
"driver": "ড্রাইভার",
"failedToRemoveVolumeItMay": "ভলিউম সরাতে ব্যর্থ হয়েছে৷ এটি ব্যবহার হতে পারে।",
"filterNameOrMountpoint": "ফিল্টার নাম বা মাউন্টপয়েন্ট...",
"loadingVolumes": "ভলিউম লোড হচ্ছে...",
"mountpoint": "মাউন্টপয়েন্ট",
"noMatchingVolumes": "কোনো মিলে যাওয়া ভলিউম নেই",
@@ -7897,7 +7891,6 @@
"maxServers": "সর্বোচ্চ সার্ভার",
"maxUsers": "সর্বোচ্চ ব্যবহারকারী",
"members": "সদস্যরা",
"resources": "সম্পদ",
"sites": "সাইট",
"slug": "স্লাগ",
"unlimited": "সীমাহীন"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Das Compose-Projekt konnte nicht gestoppt werden.",
"couldntUpdateProject": "Das Compose-Projekt konnte nicht aktualisiert werden.",
"dockerComposeUpD": "Docker komponieren -d",
"filterProjectOrConfigPath": "Projekt- oder Konfigurationspfad filtern…",
"imagesPulled": "Images abgerufen",
"lines": "Zeilen:",
"loadingComposeProjects": "Compose-Projekte werden geladen...",
@@ -1441,7 +1440,6 @@
"exec": "Geschäftsführer",
"exec3": "Exec: {{value}}",
"executeCommandsInContainer": "Befehle im Container ausführen",
"filterNameImageOrId": "Name, Bild oder ID filtern…",
"health": "Gesundheit",
"hostPort": "Host-Port",
"image": "Image",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Das Bild konnte nicht entfernt werden. Es kann von einem Container verwendet werden.",
"filterRepositoryTagOrId": "Repository, Tag oder ID filtern …",
"imageName": "Image-Name *",
"imageRemovedSuccessfully": "Image erfolgreich entfernt",
"loadingImages": "Images werden geladen...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "CPU-Auslastung",
"diskUsage": "Festplattennutzung",
"down": "Runter",
"hostHealth": "Host-Zustand",
"latency": "Latenz",
"loadAverage": "Durchschnittliche Belastung",
"loadingMetrics": "Messwerte werden geladen",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "Das Erstellen von Netzwerken ist derzeit nur auf dem lokalen Docker-Ziel verfügbar",
"driver": "Fahrer",
"failedToRemoveNetworkItMay": "Netzwerk konnte nicht entfernt werden. Möglicherweise wird es verwendet.",
"filterNameOrId": "Name oder ID filtern…",
"loadingNetworks": "Netzwerke werden geladen...",
"networkName": "Netzwerkname *",
"networkRemovedSuccessfully": "Netzwerk erfolgreich entfernt",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "Das Erstellen von Volumes ist derzeit nur auf dem lokalen Docker-Ziel verfügbar",
"driver": "Fahrer",
"failedToRemoveVolumeItMay": "Das Volume konnte nicht entfernt werden. Möglicherweise wird es verwendet.",
"filterNameOrMountpoint": "Filtername oder Mountpoint…",
"loadingVolumes": "Volumes werden geladen...",
"mountpoint": "Mountpoint",
"noMatchingVolumes": "Keine passenden Volumes",
@@ -7897,7 +7891,6 @@
"maxServers": "Maximale Anzahl an Servern",
"maxUsers": "Max. Benutzer",
"members": "Mitglieder",
"resources": "Ressourcen",
"sites": "Websites",
"slug": "Schnecke",
"unlimited": "Unbegrenzt"
+7 -9
View File
@@ -768,7 +768,6 @@
"acrossDestinations_one": "across 1 destination",
"acrossDestinations_other": "across {{count}} destinations",
"allSnapshots": "All backups",
"atAGlance": "At a glance",
"backupActivity": "Backup activity",
"backupCompleted": "Backup completed ·",
"backupFailed": "Couldn't back up ·",
@@ -1059,7 +1058,6 @@
"couldntStopProject": "Couldn't stop the compose project.",
"couldntUpdateProject": "Couldn't update the compose project.",
"dockerComposeUpD": "docker compose up -d",
"filterProjectOrConfigPath": "Filter compose project or config path…",
"imagesPulled": "Images pulled",
"lines": "Lines:",
"loadingComposeProjects": "Loading compose projects…",
@@ -1073,6 +1071,7 @@
"projectStarted": "Compose project started",
"projectStopped": "Compose project stopped",
"pullImages": "Pull images",
"searchProjects": "Search compose projects…",
"service": "Service:",
"stopComposeProject": "Stop Compose project",
"stopThisComposeProjectContainersWill": "Stop this compose project? Containers will be removed."
@@ -1481,7 +1480,6 @@
"exec": "Exec",
"exec3": "Exec: {{value}}",
"executeCommandsInContainer": "Execute commands in container",
"filterNameImageOrId": "Filter name, image, or ID…",
"health": "Health",
"hostPort": "Host port",
"image": "Image",
@@ -1516,6 +1514,7 @@
"running": "Running…",
"runningNewContainersIsOnlyAvailable": "Running new containers is only available on the panel server right now",
"runtime": "Runtime",
"searchContainers": "Search containers…",
"serverkitSystemContainerManagedByThe": "ServerKit system container: managed by the panel, so lifecycle controls are disabled",
"systemContainer": "System container",
"systemSkipped_one": "1 system container skipped",
@@ -3210,7 +3209,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Couldn't delete the image. A container may still use it.",
"filterRepositoryTagOrId": "Filter repository, tag, or ID…",
"imageName": "Image name *",
"imageRemovedSuccessfully": "Image deleted",
"loadingImages": "Loading images…",
@@ -3218,6 +3216,7 @@
"noImages": "No images",
"noImagesMatchTheCurrentSearch": "No images match the current search.",
"noMatchingImages": "No matching images",
"pull": "Pull",
"pullAnImageToSeeIt": "Pull an image to see it here.",
"pullImage": "Pull image",
"pulling": "Pulling…",
@@ -3225,6 +3224,7 @@
"removeImage2": "Delete image",
"removeThisImage": "Delete this image?",
"repository": "Repository",
"searchImages": "Search images…",
"tag": "Tag"
},
"importDumpModal": {
@@ -4102,7 +4102,6 @@
"cpuUsage": "CPU usage",
"diskUsage": "Disk usage",
"down": "Down",
"hostHealth": "Host health",
"latency": "Latency",
"loadAverage": "Load average",
"loadingHosts": "Loading hosts",
@@ -4193,7 +4192,6 @@
"creatingNetworksIsOnlyAvailableOn": "Creating networks is only available on the panel server right now",
"driver": "Driver",
"failedToRemoveNetworkItMay": "Couldn't delete the network. A container may still use it.",
"filterNameOrId": "Filter name or ID…",
"loadingNetworks": "Loading networks…",
"networkName": "Network name *",
"networkRemovedSuccessfully": "Network deleted",
@@ -4204,6 +4202,7 @@
"removeNetwork2": "Delete network",
"removeThisNetwork": "Delete this network?",
"scope": "Scope",
"searchNetworks": "Search networks…",
"shipsWithTheDockerDaemonIt": "Ships with the Docker daemon, so it cannot be deleted"
},
"newService": {
@@ -4418,6 +4417,7 @@
"environment": "Environment",
"fileIntegrityMonitoringEnabled": "File integrity monitoring enabled",
"fixWorking": "Working…",
"hardeningChecks": "Hardening checks",
"hints": "Hints",
"inactive": "Inactive",
"initializeBaseline": "Initialize baseline",
@@ -5680,7 +5680,6 @@
"group": "Group",
"hostname": "Hostname",
"lastSeen": "Last seen",
"liveStatus": "Live status",
"operatingSystem": "Operating system",
"serverInformation": "Server information",
"serverOffline": "Server offline",
@@ -8028,7 +8027,6 @@
"creatingVolumesIsOnlyAvailableOn": "Creating volumes is only available on the panel server right now",
"driver": "Driver",
"failedToRemoveVolumeItMay": "Couldn't delete the volume. A container may still use it.",
"filterNameOrMountpoint": "Filter name or mountpoint…",
"loadingVolumes": "Loading volumes…",
"mountpoint": "Mountpoint",
"noMatchingVolumes": "No matching volumes",
@@ -8037,6 +8035,7 @@
"removeThisVolumeAllDataWill": "Delete this volume? All data will be lost.",
"removeVolume": "Delete volume",
"removeVolume2": "Delete volume",
"searchVolumes": "Search volumes…",
"volumeName": "Volume name *",
"volumeRemovedSuccessfully": "Volume deleted"
},
@@ -8361,7 +8360,6 @@
"maxServers": "Max servers",
"maxUsers": "Max users",
"members": "Members",
"resources": "Resources",
"sites": "Sites",
"slug": "Slug",
"unlimited": "Unlimited"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "No se pudo detener el proyecto de Compose.",
"couldntUpdateProject": "No se pudo actualizar el proyecto de Compose.",
"dockerComposeUpD": "docker compose up -d",
"filterProjectOrConfigPath": "Filtrar por proyecto o ruta de configuración…",
"imagesPulled": "Imágenes descargadas",
"lines": "Líneas:",
"loadingComposeProjects": "Cargando proyectos de Compose...",
@@ -1441,7 +1440,6 @@
"exec": "Ejecutar",
"exec3": "Ejecutar: {{value}}",
"executeCommandsInContainer": "Ejecutar comandos en el contenedor",
"filterNameImageOrId": "Filtrar por nombre, imagen o ID…",
"health": "Salud",
"hostPort": "Puerto del host",
"image": "Imagen",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "No se pudo eliminar la imagen. Puede que esté en uso por un contenedor.",
"filterRepositoryTagOrId": "Filtrar por repositorio, etiqueta o ID…",
"imageName": "Nombre de la imagen *",
"imageRemovedSuccessfully": "Imagen eliminada correctamente",
"loadingImages": "Cargando imágenes...",
@@ -3955,7 +3952,6 @@
"cpuUsage": "Uso de CPU",
"diskUsage": "Uso de disco",
"down": "Caído",
"hostHealth": "Salud del host",
"latency": "Latencia",
"loadAverage": "Carga promedio",
"loadingMetrics": "Cargando métricas",
@@ -4042,7 +4038,6 @@
"creatingNetworksIsOnlyAvailableOn": "Por ahora, crear redes solo está disponible en el destino Docker local",
"driver": "Driver",
"failedToRemoveNetworkItMay": "No se pudo quitar la red. Puede que esté en uso.",
"filterNameOrId": "Filtrar por nombre o ID…",
"loadingNetworks": "Cargando redes...",
"networkName": "Nombre de la red *",
"networkRemovedSuccessfully": "Red quitada correctamente",
@@ -7567,7 +7562,6 @@
"creatingVolumesIsOnlyAvailableOn": "Por ahora, la creación de volúmenes solo está disponible en el destino Docker local",
"driver": "Driver",
"failedToRemoveVolumeItMay": "No se pudo quitar el volumen. Puede que esté en uso.",
"filterNameOrMountpoint": "Filtrar por nombre o punto de montaje…",
"loadingVolumes": "Cargando volúmenes…",
"mountpoint": "Punto de montaje",
"noMatchingVolumes": "No hay volúmenes que coincidan",
@@ -7898,7 +7892,6 @@
"maxServers": "Máx. servidores",
"maxUsers": "Máx. usuarios",
"members": "Miembros",
"resources": "Recursos",
"sites": "Sitios",
"slug": "Slug",
"unlimited": "Ilimitado"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Impossible d'arrêter le projet compose.",
"couldntUpdateProject": "Impossible de mettre à jour le projet compose.",
"dockerComposeUpD": "docker compose -d",
"filterProjectOrConfigPath": "Filtrer le chemin du projet ou de la configuration…",
"imagesPulled": "Images extraites",
"lines": "Lignes :",
"loadingComposeProjects": "Chargement des projets de composition...",
@@ -1441,7 +1440,6 @@
"exec": "Exécutif",
"exec3": "Exécutif : {{value}}",
"executeCommandsInContainer": "Exécuter des commandes dans le conteneur",
"filterNameImageOrId": "Filtrer le nom, l’image ou l’identifiant…",
"health": "Santé",
"hostPort": "Port de l'hôte",
"image": "Image",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Échec de la suppression de l'image. Il peut être utilisé par un conteneur.",
"filterRepositoryTagOrId": "Filtrer le référentiel, la balise ou l'ID…",
"imageName": "Nom de l'image *",
"imageRemovedSuccessfully": "Image supprimée avec succès",
"loadingImages": "Chargement des images...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "Utilisation du processeur",
"diskUsage": "Utilisation du disque",
"down": "Vers le bas",
"hostHealth": "Santé de l'hôte",
"latency": "Latence",
"loadAverage": "Charge moyenne",
"loadingMetrics": "Chargement des métriques",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "La création de réseaux n'est disponible que sur la cible locale Docker pour le moment.",
"driver": "Conducteur",
"failedToRemoveNetworkItMay": "Échec de la suppression du réseau. Il est peut-être utilisé.",
"filterNameOrId": "Filtrer le nom ou l'identifiant…",
"loadingNetworks": "Chargement des réseaux...",
"networkName": "Nom du réseau *",
"networkRemovedSuccessfully": "Réseau supprimé avec succès",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "La création de volumes n'est disponible que sur la cible locale Docker pour le moment",
"driver": "Conducteur",
"failedToRemoveVolumeItMay": "Échec de la suppression du volume. Il est peut-être utilisé.",
"filterNameOrMountpoint": "Nom du filtre ou point de montage…",
"loadingVolumes": "Chargement des volumes...",
"mountpoint": "Point de montage",
"noMatchingVolumes": "Aucun volume correspondant",
@@ -7897,7 +7891,6 @@
"maxServers": "Nombre maximum de serveurs",
"maxUsers": "Nombre maximum d'utilisateurs",
"members": "Membres",
"resources": "Ressources",
"sites": "Sites",
"slug": "Limace",
"unlimited": "Illimité"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Gagal menghentikan proyek compose.",
"couldntUpdateProject": "Gagal memperbarui proyek compose.",
"dockerComposeUpD": "buruh pelabuhan menyusun -d",
"filterProjectOrConfigPath": "Filter proyek atau jalur konfigurasi…",
"imagesPulled": "Image ditarik",
"lines": "Garis:",
"loadingComposeProjects": "Memuat proyek penulisan...",
@@ -1441,7 +1440,6 @@
"exec": "Eksekutif",
"exec3": "Eksekutif: {{value}}",
"executeCommandsInContainer": "Jalankan perintah dalam wadah",
"filterNameImageOrId": "Filter nama, gambar, atau ID…",
"health": "Kesehatan",
"hostPort": "Port host",
"image": "Image",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Gagal menghapus gambar. Ini mungkin digunakan oleh sebuah wadah.",
"filterRepositoryTagOrId": "Filter repositori, tag, atau ID…",
"imageName": "Nama Image *",
"imageRemovedSuccessfully": "Image berhasil dihapus",
"loadingImages": "Memuat image...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "penggunaan CPU",
"diskUsage": "Penggunaan disk",
"down": "Turun",
"hostHealth": "Kesehatan host",
"latency": "Latensi",
"loadAverage": "Rata-rata beban",
"loadingMetrics": "Memuat metrik",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "Saat ini pembuatan jaringan hanya tersedia pada target Docker lokal",
"driver": "Pengemudi",
"failedToRemoveNetworkItMay": "Gagal menghapus jaringan. Ini mungkin sedang digunakan.",
"filterNameOrId": "Filter nama atau ID…",
"loadingNetworks": "Memuat jaringan...",
"networkName": "Nama Jaringan *",
"networkRemovedSuccessfully": "Jaringan berhasil dihapus",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "Pembuatan volume saat ini hanya tersedia pada target Docker lokal",
"driver": "Pengemudi",
"failedToRemoveVolumeItMay": "Gagal menghapus volume. Ini mungkin sedang digunakan.",
"filterNameOrMountpoint": "Nama filter atau titik pemasangan…",
"loadingVolumes": "Memuat volume...",
"mountpoint": "titik pemasangan",
"noMatchingVolumes": "Tidak ada volume yang cocok",
@@ -7897,7 +7891,6 @@
"maxServers": "Server maksimal",
"maxUsers": "Pengguna maksimal",
"members": "Anggota",
"resources": "Sumber daya",
"sites": "Situs",
"slug": "Siput",
"unlimited": "Tidak terbatas"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Impossibile arrestare il progetto compose",
"couldntUpdateProject": "Impossibile aggiornare il progetto compose",
"dockerComposeUpD": "la finestra mobile compone -d",
"filterProjectOrConfigPath": "Filtra il progetto o il percorso di configurazione...",
"imagesPulled": "Immagini scaricate",
"lines": "Linee:",
"loadingComposeProjects": "Caricamento progetti di composizione...",
@@ -1441,7 +1440,6 @@
"exec": "Esecutivo",
"exec3": "Esecuzione: {{value}}",
"executeCommandsInContainer": "Esegui comandi nel contenitore",
"filterNameImageOrId": "Filtra nome, immagine o ID…",
"health": "Salute",
"hostPort": "Porta dell'host",
"image": "Immagine",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Impossibile rimuovere l'immagine. Potrebbe essere utilizzato da un contenitore.",
"filterRepositoryTagOrId": "Filtra repository, tag o ID…",
"imageName": "Nome immagine *",
"imageRemovedSuccessfully": "Immagine rimossa con successo",
"loadingImages": "Caricamento immagini...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "Utilizzo della CPU",
"diskUsage": "Utilizzo del disco",
"down": "Giù",
"hostHealth": "Stato dell'host",
"latency": "Latenza",
"loadAverage": "Carica media",
"loadingMetrics": "Caricamento delle metriche",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "Al momento la creazione di reti è disponibile solo sul target locale Docker",
"driver": "Autista",
"failedToRemoveNetworkItMay": "Impossibile rimuovere la rete. Potrebbe essere in uso.",
"filterNameOrId": "Filtra nome o ID...",
"loadingNetworks": "Caricamento reti...",
"networkName": "Nome della rete *",
"networkRemovedSuccessfully": "Rete rimossa con successo",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "Al momento la creazione di volumi è disponibile solo sul target Docker locale",
"driver": "Autista",
"failedToRemoveVolumeItMay": "Impossibile rimuovere il volume. Potrebbe essere in uso.",
"filterNameOrMountpoint": "Nome del filtro o punto di montaggio...",
"loadingVolumes": "Caricamento volumi...",
"mountpoint": "Punto di montaggio",
"noMatchingVolumes": "Nessun volume corrispondente",
@@ -7897,7 +7891,6 @@
"maxServers": "Server massimi",
"maxUsers": "Utenti massimi",
"members": "Membri",
"resources": "Risorse",
"sites": "Siti",
"slug": "Lumaca",
"unlimited": "Illimitato"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Compose 프로젝트를 중지하지 못했습니다.",
"couldntUpdateProject": "Compose 프로젝트를 업데이트하지 못했습니다.",
"dockerComposeUpD": "docker compose up -d",
"filterProjectOrConfigPath": "프로젝트 또는 구성 경로 필터링…",
"imagesPulled": "가져온 이미지",
"lines": "라인:",
"loadingComposeProjects": "작성 프로젝트 로드 중...",
@@ -1441,7 +1440,6 @@
"exec": "임원",
"exec3": "실행: {{value}}",
"executeCommandsInContainer": "컨테이너에서 명령 실행",
"filterNameImageOrId": "필터 이름, 이미지, ID…",
"health": "상태",
"hostPort": "호스트 포트",
"image": "이미지",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "이미지를 제거하지 못했습니다. 컨테이너에서 사용 중일 수 있습니다.",
"filterRepositoryTagOrId": "저장소, 태그 또는 ID 필터링…",
"imageName": "이미지 이름 *",
"imageRemovedSuccessfully": "이미지가 성공적으로 제거되었습니다.",
"loadingImages": "이미지 로드 중...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "CPU 사용량",
"diskUsage": "디스크 사용량",
"down": "아래로",
"hostHealth": "호스트 상태",
"latency": "대기 시간",
"loadAverage": "평균 부하",
"loadingMetrics": "측정항목 로드 중",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "네트워크 생성은 현재 로컬 Docker 대상에서만 가능합니다.",
"driver": "드라이버",
"failedToRemoveNetworkItMay": "네트워크를 제거하지 못했습니다. 사용 중일 수도 있습니다.",
"filterNameOrId": "필터 이름 또는 ID…",
"loadingNetworks": "네트워크 로드 중...",
"networkName": "네트워크 이름 *",
"networkRemovedSuccessfully": "네트워크가 성공적으로 제거되었습니다.",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "볼륨 생성은 현재 로컬 Docker 대상에서만 가능합니다.",
"driver": "드라이버",
"failedToRemoveVolumeItMay": "볼륨을 제거하지 못했습니다. 사용 중일 수도 있습니다.",
"filterNameOrMountpoint": "필터 이름 또는 마운트 지점…",
"loadingVolumes": "볼륨 로드 중...",
"mountpoint": "마운트포인트",
"noMatchingVolumes": "일치하는 볼륨 없음",
@@ -7897,7 +7891,6 @@
"maxServers": "최대 서버",
"maxUsers": "최대 사용자",
"members": "회원",
"resources": "자원",
"sites": "사이트",
"slug": "슬러그",
"unlimited": "무제한"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Nie udało się zatrzymać projektu compose.",
"couldntUpdateProject": "Nie udało się zaktualizować projektu compose.",
"dockerComposeUpD": "doker komponuj -d",
"filterProjectOrConfigPath": "Filtruj projekt lub ścieżkę konfiguracji…",
"imagesPulled": "Obrazy pobrane",
"lines": "Kwestia:",
"loadingComposeProjects": "Ładowanie projektów tworzenia...",
@@ -1441,7 +1440,6 @@
"exec": "Wykonawczy",
"exec3": "Wykonanie: {{value}}",
"executeCommandsInContainer": "Wykonuj polecenia w kontenerze",
"filterNameImageOrId": "Filtruj nazwę, obraz lub identyfikator…",
"health": "Zdrowie",
"hostPort": "Port hosta",
"image": "Obraz",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Nie udało się usunąć obrazu. Może być używany przy pojemniku.",
"filterRepositoryTagOrId": "Filtruj repozytorium, tag lub identyfikator…",
"imageName": "Nazwa obrazu *",
"imageRemovedSuccessfully": "Obraz został pomyślnie usunięty",
"loadingImages": "Ładowanie obrazów...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "Użycie procesora",
"diskUsage": "Użycie dysku",
"down": "W dół",
"hostHealth": "Kondycja hosta",
"latency": "Utajenie",
"loadAverage": "Średnie obciążenie",
"loadingMetrics": "Ładowanie metryk",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "Tworzenie sieci jest obecnie dostępne tylko na lokalnym obiekcie docelowym Docker",
"driver": "Kierowca",
"failedToRemoveNetworkItMay": "Nie udało się usunąć sieci. Może być w użyciu.",
"filterNameOrId": "Filtruj nazwę lub identyfikator…",
"loadingNetworks": "Ładowanie sieci...",
"networkName": "Nazwa sieci *",
"networkRemovedSuccessfully": "Sieć została pomyślnie usunięta",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "Tworzenie woluminów jest obecnie dostępne tylko w lokalnym obiekcie docelowym Docker",
"driver": "Kierowca",
"failedToRemoveVolumeItMay": "Nie udało się usunąć woluminu. Może być w użyciu.",
"filterNameOrMountpoint": "Nazwa filtra lub punkt podłączenia…",
"loadingVolumes": "Ładowanie woluminów...",
"mountpoint": "Punkt mocowania",
"noMatchingVolumes": "Brak pasujących woluminów",
@@ -7897,7 +7891,6 @@
"maxServers": "Maksymalne serwery",
"maxUsers": "Maksymalna liczba użytkowników",
"members": "Członkowie",
"resources": "Zasoby",
"sites": "Witryny",
"slug": "Ślimak",
"unlimited": "Bez limitu"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Falha ao parar o projeto compose.",
"couldntUpdateProject": "Falha ao atualizar o projeto compose.",
"dockerComposeUpD": "docker compose up -d",
"filterProjectOrConfigPath": "Filtrar projeto ou caminho de configuração…",
"imagesPulled": "Imagens baixadas",
"lines": "Linhas:",
"loadingComposeProjects": "Carregando projetos de composição...",
@@ -1441,7 +1440,6 @@
"exec": "Executivo",
"exec3": "Executivo: {{value}}",
"executeCommandsInContainer": "Executar comandos no contêiner",
"filterNameImageOrId": "Nome do filtro, imagem ou ID…",
"health": "Saúde",
"hostPort": "Porta do host",
"image": "Imagem",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Falha ao remover a imagem. Pode estar em uso por um contêiner.",
"filterRepositoryTagOrId": "Filtrar repositório, tag ou ID…",
"imageName": "Nome da imagem *",
"imageRemovedSuccessfully": "Imagem removida com sucesso",
"loadingImages": "Carregando imagens...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "Uso da CPU",
"diskUsage": "Uso de disco",
"down": "Para baixo",
"hostHealth": "Saúde do host",
"latency": "Latência",
"loadAverage": "Média de carga",
"loadingMetrics": "Carregando métricas",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "A criação de redes está disponível apenas no destino local do Docker no momento",
"driver": "Motorista",
"failedToRemoveNetworkItMay": "Falha ao remover rede. Pode estar em uso.",
"filterNameOrId": "Nome ou ID do filtro…",
"loadingNetworks": "Carregando redes...",
"networkName": "Nome da rede *",
"networkRemovedSuccessfully": "Rede removida com sucesso",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "A criação de volumes está disponível apenas no destino local do Docker no momento",
"driver": "Motorista",
"failedToRemoveVolumeItMay": "Falha ao remover o volume. Pode estar em uso.",
"filterNameOrMountpoint": "Nome do filtro ou ponto de montagem…",
"loadingVolumes": "Carregando volumes...",
"mountpoint": "Ponto de montagem",
"noMatchingVolumes": "Nenhum volume correspondente",
@@ -7897,7 +7891,6 @@
"maxServers": "Máximo de servidores",
"maxUsers": "Máximo de usuários",
"members": "Membros",
"resources": "Recursos",
"sites": "Locais",
"slug": "Lesma",
"unlimited": "Ilimitado"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Не удалось остановить проект compose.",
"couldntUpdateProject": "Не удалось обновить проект compose.",
"dockerComposeUpD": "docker compose up -d",
"filterProjectOrConfigPath": "Фильтровать проект или путь конфигурации…",
"imagesPulled": "Образы загружены",
"lines": "Линии:",
"loadingComposeProjects": "Загрузка проектов создания...",
@@ -1441,7 +1440,6 @@
"exec": "Исполнительный директор",
"exec3": "Исполнитель: {{value}}",
"executeCommandsInContainer": "Выполнять команды в контейнере",
"filterNameImageOrId": "Имя фильтра, изображение или идентификатор…",
"health": "Здоровье",
"hostPort": "Порт хоста",
"image": "Образ",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Не удалось удалить изображение. Он может использоваться контейнером.",
"filterRepositoryTagOrId": "Фильтрация репозитория, тега или идентификатора…",
"imageName": "Имя образа *",
"imageRemovedSuccessfully": "Образ удален",
"loadingImages": "Загрузка образов...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "Использование процессора",
"diskUsage": "Использование диска",
"down": "Недоступен",
"hostHealth": "Состояние хоста",
"latency": "Задержка",
"loadAverage": "Средняя нагрузка",
"loadingMetrics": "Загрузка показателей",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "Создание сетей сейчас доступно только для локальной цели Docker.",
"driver": "Драйвер",
"failedToRemoveNetworkItMay": "Не удалось удалить сеть. Возможно, он используется.",
"filterNameOrId": "Имя или идентификатор фильтра…",
"loadingNetworks": "Загрузка сетей...",
"networkName": "Имя сети *",
"networkRemovedSuccessfully": "Сеть успешно удалена",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "Создание томов сейчас доступно только для локальной цели Docker.",
"driver": "Драйвер",
"failedToRemoveVolumeItMay": "Не удалось удалить том. Возможно, он используется.",
"filterNameOrMountpoint": "Имя фильтра или точка монтирования…",
"loadingVolumes": "Загрузка томов...",
"mountpoint": "Точка монтирования",
"noMatchingVolumes": "Нет соответствующих томов",
@@ -7897,7 +7891,6 @@
"maxServers": "Макс серверов",
"maxUsers": "Максимальное количество пользователей",
"members": "Члены",
"resources": "Ресурсы",
"sites": "Сайты",
"slug": "Идентификатор",
"unlimited": "Без ограничений"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "ไม่สามารถหยุดโปรเจกต์ compose ได้",
"couldntUpdateProject": "ไม่สามารถอัปเดตโปรเจกต์ compose ได้",
"dockerComposeUpD": "นักเทียบท่าเขียน -d",
"filterProjectOrConfigPath": "กรองโปรเจ็กต์หรือเส้นทางการกำหนดค่า...",
"imagesPulled": "ดึงอิมเมจแล้ว",
"lines": "เส้น:",
"loadingComposeProjects": "กำลังโหลดโปรเจ็กต์การเขียน...",
@@ -1441,7 +1440,6 @@
"exec": "ผู้บริหาร",
"exec3": "ดำเนินการ: {{value}}",
"executeCommandsInContainer": "ดำเนินการคำสั่งในคอนเทนเนอร์",
"filterNameImageOrId": "ชื่อตัวกรอง รูปภาพ หรือรหัส...",
"health": "สุขภาพ",
"hostPort": "พอร์ตโฮสต์",
"image": "อิมเมจ",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "ไม่สามารถลบรูปภาพได้ มันอาจจะถูกใช้โดยภาชนะ",
"filterRepositoryTagOrId": "กรองที่เก็บ แท็ก หรือ ID...",
"imageName": "ชื่ออิมเมจ *",
"imageRemovedSuccessfully": "ลบอิมเมจแล้ว",
"loadingImages": "กำลังโหลดอิมเมจ...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "การใช้งานซีพียู",
"diskUsage": "การใช้งานดิสก์",
"down": "ลง",
"hostHealth": "สถานะของโฮสต์",
"latency": "เวลาแฝง",
"loadAverage": "โหลดเฉลี่ย",
"loadingMetrics": "กำลังโหลดเมตริก",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "ขณะนี้การสร้างเครือข่ายใช้ได้เฉพาะกับเป้าหมาย Docker ในเครื่องเท่านั้น",
"driver": "คนขับ",
"failedToRemoveNetworkItMay": "ไม่สามารถลบเครือข่าย มันอาจจะใช้งานได้",
"filterNameOrId": "ชื่อหรือรหัสตัวกรอง...",
"loadingNetworks": "กำลังโหลดเครือข่าย...",
"networkName": "ชื่อเครือข่าย *",
"networkRemovedSuccessfully": "ลบเครือข่ายเรียบร้อยแล้ว",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "ขณะนี้การสร้างวอลุ่มสามารถทำได้บนเป้าหมาย Docker ในเครื่องเท่านั้น",
"driver": "คนขับ",
"failedToRemoveVolumeItMay": "ไม่สามารถลบโวลุ่มได้ มันอาจจะใช้งานได้",
"filterNameOrMountpoint": "ชื่อตัวกรองหรือจุดเมานท์...",
"loadingVolumes": "กำลังโหลดวอลุ่ม...",
"mountpoint": "จุดเมานต์",
"noMatchingVolumes": "ไม่มีโวลุ่มที่ตรงกัน",
@@ -7897,7 +7891,6 @@
"maxServers": "เซิร์ฟเวอร์สูงสุด",
"maxUsers": "ผู้ใช้สูงสุด",
"members": "สมาชิก",
"resources": "ทรัพยากร",
"sites": "เว็บไซต์",
"slug": "กระสุน",
"unlimited": "ไม่จำกัด"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Compose projesi durdurulamadı.",
"couldntUpdateProject": "Compose projesi güncellenemedi.",
"dockerComposeUpD": "liman işçisi oluştur -d",
"filterProjectOrConfigPath": "Projeyi veya yapılandırma yolunu filtreleyin…",
"imagesPulled": "İmajlar çekildi",
"lines": "Satırlar:",
"loadingComposeProjects": "Proje oluşturma yükleniyor...",
@@ -1441,7 +1440,6 @@
"exec": "Yönetici",
"exec3": "Yürütme: {{value}}",
"executeCommandsInContainer": "Komutları kapsayıcıda yürütün",
"filterNameImageOrId": "Adı, resmi veya kimliği filtreleyin…",
"health": "Sağlık",
"hostPort": "Ana makine portu",
"image": "İmaj",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Resim kaldırılamadı. Bir konteyner tarafından kullanılıyor olabilir.",
"filterRepositoryTagOrId": "Depoyu, etiketi veya kimliği filtreleyin…",
"imageName": "İmaj Adı *",
"imageRemovedSuccessfully": "İmaj silindi",
"loadingImages": "İmajlar yükleniyor...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "CPU kullanımı",
"diskUsage": "Disk kullanımı",
"down": "Aşağı",
"hostHealth": "Ana bilgisayar sağlığı",
"latency": "Gecikme",
"loadAverage": "Yük ortalaması",
"loadingMetrics": "Metrikler yükleniyor",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "Ağ oluşturmak şu anda yalnızca yerel Docker hedefinde mümkündür",
"driver": "Sürücü",
"failedToRemoveNetworkItMay": "Ağ kaldırılamadı. Kullanımda olabilir.",
"filterNameOrId": "Adı veya kimliği filtrele…",
"loadingNetworks": "Ağlar yükleniyor...",
"networkName": "Ağ Adı *",
"networkRemovedSuccessfully": "Ağ başarıyla kaldırıldı",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "Birim oluşturma şu anda yalnızca yerel Docker hedefinde mümkündür",
"driver": "Sürücü",
"failedToRemoveVolumeItMay": "Birim kaldırılamadı. Kullanımda olabilir.",
"filterNameOrMountpoint": "Filtre adı veya bağlama noktası…",
"loadingVolumes": "Birimler yükleniyor...",
"mountpoint": "Bağlantı Noktası",
"noMatchingVolumes": "Eşleşen birim yok",
@@ -7897,7 +7891,6 @@
"maxServers": "Maksimum sunucular",
"maxUsers": "Maksimum kullanıcı",
"members": "Üyeler",
"resources": "Kaynaklar",
"sites": "Siteler",
"slug": "Sümüklüböcek",
"unlimited": "Sınırsız"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "Không thể dừng dự án compose.",
"couldntUpdateProject": "Không thể cập nhật dự án compose.",
"dockerComposeUpD": "docker soạn thảo -d",
"filterProjectOrConfigPath": "Lọc dự án hoặc đường dẫn cấu hình…",
"imagesPulled": "Đã kéo các image",
"lines": "Dòng:",
"loadingComposeProjects": "Đang tải dự án soạn thư...",
@@ -1441,7 +1440,6 @@
"exec": "Thực thi",
"exec3": "Thực thi: {{value}}",
"executeCommandsInContainer": "Thực thi các lệnh trong vùng chứa",
"filterNameImageOrId": "Lọc tên, hình ảnh hoặc ID…",
"health": "Sức khỏe",
"hostPort": "Cổng máy chủ",
"image": "Image",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "Không thể xóa hình ảnh. Nó có thể được sử dụng bởi một container.",
"filterRepositoryTagOrId": "Lọc kho lưu trữ, thẻ hoặc ID…",
"imageName": "Tên image *",
"imageRemovedSuccessfully": "Đã xóa image",
"loadingImages": "Đang tải image...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "mức sử dụng CPU",
"diskUsage": "Sử dụng đĩa",
"down": "Xuống",
"hostHealth": "Tình trạng máy chủ",
"latency": "Độ trễ",
"loadAverage": "Tải trung bình",
"loadingMetrics": "Đang tải số liệu",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "Tạo mạng hiện chỉ khả dụng trên mục tiêu Docker cục bộ",
"driver": "Tài xế",
"failedToRemoveNetworkItMay": "Không xóa được mạng. Nó có thể được sử dụng.",
"filterNameOrId": "Lọc tên hoặc ID…",
"loadingNetworks": "Đang tải mạng...",
"networkName": "Tên mạng *",
"networkRemovedSuccessfully": "Đã xóa mạng thành công",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "Việc tạo khối hiện chỉ khả dụng trên mục tiêu Docker cục bộ",
"driver": "Tài xế",
"failedToRemoveVolumeItMay": "Không thể xóa âm lượng. Nó có thể được sử dụng.",
"filterNameOrMountpoint": "Tên bộ lọc hoặc điểm gắn kết…",
"loadingVolumes": "Đang tải volume...",
"mountpoint": "điểm gắn kết",
"noMatchingVolumes": "Không có volume nào phù hợp",
@@ -7897,7 +7891,6 @@
"maxServers": "Máy chủ tối đa",
"maxUsers": "Số người dùng tối đa",
"members": "Thành viên",
"resources": "Tài nguyên",
"sites": "Trang web",
"slug": "sên",
"unlimited": "Không giới hạn"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "停止 Compose 项目失败",
"couldntUpdateProject": "更新 Compose 项目失败",
"dockerComposeUpD": "docker 组成-d",
"filterProjectOrConfigPath": "过滤项目或配置路径...",
"imagesPulled": "镜像已拉取",
"lines": "线路:",
"loadingComposeProjects": "正在加载撰写项目...",
@@ -1441,7 +1440,6 @@
"exec": "执行者",
"exec3": "执行:{{value}}",
"executeCommandsInContainer": "在容器中执行命令",
"filterNameImageOrId": "过滤器名称、图像或 ID...",
"health": "健康",
"hostPort": "主机端口",
"image": "镜像",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "删除图像失败。它可能正在被容器使用。",
"filterRepositoryTagOrId": "过滤存储库、标签或 ID...",
"imageName": "镜像名称 *",
"imageRemovedSuccessfully": "镜像已删除",
"loadingImages": "正在加载镜像...",
@@ -3954,7 +3951,6 @@
"cpuUsage": "CPU 使用率",
"diskUsage": "磁盘使用率",
"down": "向下",
"hostHealth": "主机健康状况",
"latency": "延迟",
"loadAverage": "平均负载",
"loadingMetrics": "加载指标",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "目前只能在本地 Docker 目标上创建网络",
"driver": "驱动",
"failedToRemoveNetworkItMay": "删除网络失败。它可能正在使用中。",
"filterNameOrId": "过滤器名称或 ID...",
"loadingNetworks": "正在加载网络...",
"networkName": "网络名称 *",
"networkRemovedSuccessfully": "网络删除成功",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "目前只能在本地 Docker 目标上创建卷",
"driver": "驱动",
"failedToRemoveVolumeItMay": "删除音量失败。它可能正在使用中。",
"filterNameOrMountpoint": "过滤器名称或安装点...",
"loadingVolumes": "正在加载卷...",
"mountpoint": "挂载点",
"noMatchingVolumes": "没有匹配的卷",
@@ -7897,7 +7891,6 @@
"maxServers": "最大服务器数",
"maxUsers": "最大用户数",
"members": "会员",
"resources": "资源",
"sites": "站点",
"slug": "标识符",
"unlimited": "无限制"
-7
View File
@@ -1020,7 +1020,6 @@
"couldntStopProject": "無法停止 Compose 專案",
"couldntUpdateProject": "無法更新 Compose 專案",
"dockerComposeUpD": "docker compose up -d",
"filterProjectOrConfigPath": "篩選專案或設定路徑…",
"imagesPulled": "已下載的映像檔",
"lines": "行數",
"loadingComposeProjects": "正在載入 Compose 專案…",
@@ -1441,7 +1440,6 @@
"exec": "執行",
"exec3": "執行:{{value}}",
"executeCommandsInContainer": "在容器中執行命令",
"filterNameImageOrId": "篩選名稱、映像檔或 ID…",
"health": "健康",
"hostPort": "主機連接埠",
"image": "映像檔",
@@ -3109,7 +3107,6 @@
},
"imagesTab": {
"failedToRemoveImageItMay": "無法移除映像檔,可能正由容器使用。",
"filterRepositoryTagOrId": "篩選儲存庫、標籤或 ID…",
"imageName": "映像檔名稱 *",
"imageRemovedSuccessfully": "已移除映像檔",
"loadingImages": "正在載入映像檔…",
@@ -3954,7 +3951,6 @@
"cpuUsage": "CPU 使用率",
"diskUsage": "磁碟使用情況",
"down": "異常",
"hostHealth": "主機健康狀況",
"latency": "延遲",
"loadAverage": "平均負載",
"loadingMetrics": "載入指標",
@@ -4041,7 +4037,6 @@
"creatingNetworksIsOnlyAvailableOn": "目前建立網路僅可在本機 Docker 目標上使用",
"driver": "驅動程式",
"failedToRemoveNetworkItMay": "刪除網路失敗。它可能正在使用中。",
"filterNameOrId": "依名稱或 ID 篩選…",
"loadingNetworks": "正在載入網路…",
"networkName": "網路名稱 *",
"networkRemovedSuccessfully": "網路刪除成功",
@@ -7566,7 +7561,6 @@
"creatingVolumesIsOnlyAvailableOn": "目前只能在本機 Docker 目標上建立磁碟區",
"driver": "驅動程式",
"failedToRemoveVolumeItMay": "刪除磁碟區失敗。它可能正在使用中。",
"filterNameOrMountpoint": "篩選名稱或掛載點…",
"loadingVolumes": "正在載入磁碟區…",
"mountpoint": "掛載點",
"noMatchingVolumes": "沒有符合條件的磁碟區",
@@ -7897,7 +7891,6 @@
"maxServers": "最大伺服器數",
"maxUsers": "最大使用者數",
"members": "成員",
"resources": "資源",
"sites": "網站",
"slug": "網址代稱",
"unlimited": "無限制"
@@ -366,6 +366,11 @@ $skw-z-tv: 200;
box-shadow: $focus-ring;
}
// A bare widget is its own card (a KPI tile): the frame draws the card and
// the body says what it is, so there is no header. Edit mode keeps the
// header, which is the drag handle.
&--bare:not(.skw-frame--edit) > .skw-frame__head { display: none; }
&__head {
display: flex;
align-items: center;
@@ -251,6 +251,32 @@
}
}
// A KPI tile block: the frame is the tile's card, so the tile inside fills it
// edge to edge and drops its own border and surface.
.sk-overview-section--tile {
display: flex;
padding: 0;
overflow: hidden;
> .sk-overview-section__host {
display: flex;
flex: 1;
min-inline-size: 0;
}
.sk-kpi {
flex: 1;
min-inline-size: 0;
border: 0;
border-radius: 0;
background: none;
// A tile with no sparkline sits in the middle of its block instead of
// leaving the lower half empty.
&:not(:has(> .sk-kpi__spark)) { align-content: center; }
}
}
// Monitoring styles its panels under its own page class, which outranks the
// plain reset above; scoping to the board puts the reset back on top.
.sk-overview-board .sk-overview-section__host > .monitoring-panel {
+5 -34
View File
@@ -256,22 +256,16 @@
flex-direction: column;
gap: $space-4;
.sec-posture-card .card-header {
display: flex;
align-items: center;
justify-content: space-between;
}
// ── Posture header: ScoreGauge + verdict + live readouts ──
// ── Posture block: ScoreGauge + verdict + Re-check. Its own board block,
// so it pads itself and fills the frame. ──
.sec-posture__top {
display: flex;
flex: 1;
align-items: center;
gap: $space-6;
padding-bottom: $space-4;
margin-bottom: $space-2;
border-bottom: 1px solid var(--border-soft);
padding: $space-3 $space-4;
// Phone: gauge beside the verdict, KPI row below at full width
// Phone: a smaller gauge beside the verdict
@media (max-width: $breakpoint-sm) {
display: grid;
grid-template-columns: 72px minmax(0, 1fr); // gauge size
@@ -297,14 +291,6 @@
.sec-posture__summary {
flex: 1;
min-width: 0;
// Dissolve so verdict joins the gauge row and the KPIs span below
@media (max-width: $breakpoint-sm) {
display: contents;
// KpiBand's wrapper is the grid item, so it must do the spanning
.sk-kpiband-wrap { grid-column: 1 / -1; margin-bottom: 0; }
}
}
.sec-posture__verdict {
@@ -316,21 +302,6 @@
color: var(--text);
}
// Live event readouts — relocated from the old page-wide KPI strip
.sec-posture__kpis {
display: flex;
flex-wrap: wrap;
gap: $space-2 $space-5;
@media (max-width: $breakpoint-sm) {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: $space-2;
.sk-kpi { padding: $space-2; gap: $space-2; }
}
}
.sec-kpi {
display: grid;
grid-template-columns: auto auto;