mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-28 05:46:36 +08:00
chore: format
This commit is contained in:
@@ -165,7 +165,10 @@ export function SQLConsole({ dbType, onClose }: SQLConsoleProps) {
|
||||
{t('quickTemplates')}
|
||||
</span>
|
||||
<Select onValueChange={handlePresetSQLChange}>
|
||||
<SelectTrigger aria-label={t('selectPresetSQL')} className='h-7 w-[180px] text-[11px] bg-background'>
|
||||
<SelectTrigger
|
||||
aria-label={t('selectPresetSQL')}
|
||||
className='h-7 w-[180px] text-[11px] bg-background'
|
||||
>
|
||||
<SelectValue placeholder={t('selectPresetSQL')} />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
|
||||
@@ -140,7 +140,10 @@ export function TableBrowser({
|
||||
<Skeleton className='h-8 w-48' />
|
||||
) : (
|
||||
<Select value={selectedTable} onValueChange={handleTableChange}>
|
||||
<SelectTrigger aria-label={t('selectTable')} className='h-8 w-[200px] text-xs bg-background border-border/40'>
|
||||
<SelectTrigger
|
||||
aria-label={t('selectTable')}
|
||||
className='h-8 w-[200px] text-xs bg-background border-border/40'
|
||||
>
|
||||
<SelectValue placeholder={t('selectTable')} />
|
||||
</SelectTrigger>
|
||||
<SelectContent className='max-h-[300px]'>
|
||||
|
||||
@@ -269,7 +269,7 @@ export function SystemConfigs() {
|
||||
'h-full rounded-sm text-[11px] font-medium transition-colors',
|
||||
activeTab === tab
|
||||
? 'bg-background shadow-sm text-foreground'
|
||||
: 'text-muted-foreground hover:text-foreground'
|
||||
: 'text-muted-foreground hover:text-foreground',
|
||||
)}
|
||||
>
|
||||
{tab === 'business' ? t('businessConfig') : t('systemConfig')}
|
||||
|
||||
@@ -222,7 +222,11 @@ export function SyncTasksPanel() {
|
||||
setPage(1);
|
||||
}}
|
||||
>
|
||||
<SelectTrigger size='sm' className='w-[120px]' aria-label={t('statusPlaceholder')}>
|
||||
<SelectTrigger
|
||||
size='sm'
|
||||
className='w-[120px]'
|
||||
aria-label={t('statusPlaceholder')}
|
||||
>
|
||||
<SelectValue placeholder={t('statusPlaceholder')} />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
|
||||
@@ -96,7 +96,11 @@ export function DashboardStatCards({
|
||||
{t('onlineOf', { total: summary.total_nodes })}
|
||||
</span>
|
||||
</div>
|
||||
<Progress value={onlineRate} aria-label={t('nodeOverview')} className='h-1.5' />
|
||||
<Progress
|
||||
value={onlineRate}
|
||||
aria-label={t('nodeOverview')}
|
||||
className='h-1.5'
|
||||
/>
|
||||
<p className='text-[10px] text-muted-foreground flex flex-wrap items-center gap-x-3 gap-y-1'>
|
||||
<span className='inline-flex items-center gap-1'>
|
||||
<Users className='size-3' />
|
||||
|
||||
@@ -1462,4 +1462,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1462,4 +1462,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user