mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
feat: add Remnawave panel 2.7.0 support
- Add MONTH_ROLLING traffic reset mode (button, locales: ru/en/zh/fa) - Add NodeInfo config_profile and active_plugin_uuid fields - Update bandwidth display: remove /s suffix, label as Inbound Traffic - Update tariffs.ts type comment with MONTH_ROLLING
This commit is contained in:
@@ -405,24 +405,24 @@ function OverviewTab({ stats, isLoading, onRefresh }: OverviewTabProps) {
|
||||
{/* Bandwidth */}
|
||||
<div>
|
||||
<h3 className="mb-3 text-sm font-medium text-dark-300">
|
||||
{t('admin.remnawave.overview.bandwidth', 'Realtime Bandwidth')}
|
||||
{t('admin.remnawave.overview.bandwidth', 'Inbound Traffic')}
|
||||
</h3>
|
||||
<div className="grid grid-cols-2 gap-3 sm:grid-cols-3">
|
||||
<StatCard
|
||||
label={t('admin.remnawave.overview.download', 'Download')}
|
||||
value={formatBytes(stats.bandwidth.realtime_download) + '/s'}
|
||||
value={formatBytes(stats.bandwidth.realtime_download)}
|
||||
icon={<span className="text-lg">↓</span>}
|
||||
color="green"
|
||||
/>
|
||||
<StatCard
|
||||
label={t('admin.remnawave.overview.upload', 'Upload')}
|
||||
value={formatBytes(stats.bandwidth.realtime_upload) + '/s'}
|
||||
value={formatBytes(stats.bandwidth.realtime_upload)}
|
||||
icon={<span className="text-lg">↑</span>}
|
||||
color="blue"
|
||||
/>
|
||||
<StatCard
|
||||
label={t('admin.remnawave.overview.total', 'Total')}
|
||||
value={formatBytes(stats.bandwidth.realtime_total) + '/s'}
|
||||
value={formatBytes(stats.bandwidth.realtime_total)}
|
||||
icon={<span className="text-lg">⇅</span>}
|
||||
color="purple"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user