@hedhog/admin 0.51.5 → 0.51.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/frontend/dashboard/components/database-stats.tsx.ejs +2 -2
- package/frontend/dashboard/components/module-installed.tsx.ejs +2 -2
- package/frontend/dashboard/components/system-info.tsx.ejs +3 -3
- package/frontend/dashboard/components/user-summary.tsx.ejs +2 -2
- package/hedhog.yaml +70 -0
- package/package.json +1 -1
@@ -64,7 +64,7 @@ const DatabaseStats = () => {
|
|
64
64
|
}, [])
|
65
65
|
|
66
66
|
return (
|
67
|
-
<Card>
|
67
|
+
<Card className='flex h-full flex-col'>
|
68
68
|
<CardHeader>
|
69
69
|
<CardTitle className='flex items-center'>
|
70
70
|
<Database className='mr-2 h-5 w-5 text-primary' />
|
@@ -74,7 +74,7 @@ const DatabaseStats = () => {
|
|
74
74
|
Informações sobre o banco de dados do sistema
|
75
75
|
</CardDescription>
|
76
76
|
</CardHeader>
|
77
|
-
<CardContent>
|
77
|
+
<CardContent className='flex flex-1 flex-col overflow-auto'>
|
78
78
|
{isRefreshing ? (
|
79
79
|
<div className='grid grid-cols-1 gap-4 md:grid-cols-3'>
|
80
80
|
<div className='animate-pulse rounded-lg border p-4'>
|
@@ -64,7 +64,7 @@ const ModuleInstalled = () => {
|
|
64
64
|
}, [])
|
65
65
|
|
66
66
|
return (
|
67
|
-
<Card>
|
67
|
+
<Card className='flex h-full flex-col'>
|
68
68
|
<CardHeader className='pb-2'>
|
69
69
|
<CardTitle className='flex items-center'>
|
70
70
|
<Package className='mr-2 h-5 w-5 text-primary' />
|
@@ -72,7 +72,7 @@ const ModuleInstalled = () => {
|
|
72
72
|
</CardTitle>
|
73
73
|
<CardDescription>Módulos e suas versões</CardDescription>
|
74
74
|
</CardHeader>
|
75
|
-
<CardContent>
|
75
|
+
<CardContent className='flex flex-1 flex-col overflow-auto'>
|
76
76
|
{isRefreshing ? (
|
77
77
|
<div className='space-y-4'>
|
78
78
|
{Array.from({ length: 5 }).map((_, index) => (
|
@@ -66,7 +66,7 @@ const SystemInfo = () => {
|
|
66
66
|
}, [])
|
67
67
|
|
68
68
|
return (
|
69
|
-
<Card>
|
69
|
+
<Card className='flex h-full flex-col'>
|
70
70
|
<CardHeader className='pb-2'>
|
71
71
|
<CardTitle className='flex items-center'>
|
72
72
|
<Server className='mr-2 h-5 w-5 text-primary' />
|
@@ -76,7 +76,7 @@ const SystemInfo = () => {
|
|
76
76
|
Detalhes do sistema operacional e hardware
|
77
77
|
</CardDescription>
|
78
78
|
</CardHeader>
|
79
|
-
<CardContent>
|
79
|
+
<CardContent className='flex flex-1 flex-col overflow-auto'>
|
80
80
|
{isRefreshing ? (
|
81
81
|
<div className='space-y-4'>
|
82
82
|
<div className='animate-pulse'>
|
@@ -117,7 +117,7 @@ const SystemInfo = () => {
|
|
117
117
|
<Cpu className='mr-2 h-4 w-4 text-muted-foreground' />
|
118
118
|
Hardware
|
119
119
|
</h3>
|
120
|
-
<div className='mt-1 grid grid-cols-2 gap-1 text-sm'>
|
120
|
+
<div className='mt-1 grid grid-cols-2 gap-1 text-sm overflow-auto'>
|
121
121
|
<div className='text-muted-foreground'>CPU:</div>
|
122
122
|
<div>{data.os.cpu.model}</div>
|
123
123
|
<div className='text-muted-foreground'>Memória:</div>
|
@@ -67,7 +67,7 @@ const UserSummary = () => {
|
|
67
67
|
}, [])
|
68
68
|
|
69
69
|
return (
|
70
|
-
<Card>
|
70
|
+
<Card className='flex h-full flex-col'>
|
71
71
|
<CardHeader className='pb-2'>
|
72
72
|
<CardTitle className='flex items-center'>
|
73
73
|
<Users className='mr-2 h-5 w-5 text-primary' />
|
@@ -75,7 +75,7 @@ const UserSummary = () => {
|
|
75
75
|
</CardTitle>
|
76
76
|
<CardDescription>Visão geral dos usuários do sistema</CardDescription>
|
77
77
|
</CardHeader>
|
78
|
-
<CardContent>
|
78
|
+
<CardContent className='flex flex-1 flex-col overflow-auto'>
|
79
79
|
<div className='space-y-4'>
|
80
80
|
{isRefreshing ? (
|
81
81
|
<div className='grid grid-cols-3 gap-4'>
|
package/hedhog.yaml
CHANGED
@@ -404,6 +404,76 @@ data:
|
|
404
404
|
- where:
|
405
405
|
slug: admin
|
406
406
|
setting_group:
|
407
|
+
- slug: oauth
|
408
|
+
icon: brand-auth0
|
409
|
+
name:
|
410
|
+
en: OAuth
|
411
|
+
pt: OAuth
|
412
|
+
description:
|
413
|
+
en: OAuth settings and configurations.
|
414
|
+
pt: Configurações e definições do OAuth.
|
415
|
+
relations:
|
416
|
+
setting:
|
417
|
+
- slug: google_client_id
|
418
|
+
type: string
|
419
|
+
name:
|
420
|
+
en: Google Client ID
|
421
|
+
pt: ID do Cliente Google
|
422
|
+
description:
|
423
|
+
en: The client ID for Google OAuth
|
424
|
+
pt: O ID do cliente para o OAuth do Google
|
425
|
+
value: null
|
426
|
+
user_override: false
|
427
|
+
- slug: google_client_secret
|
428
|
+
type: string
|
429
|
+
name:
|
430
|
+
en: Google Client Secret
|
431
|
+
pt: Segredo do Cliente Google
|
432
|
+
description:
|
433
|
+
en: The client secret for Google OAuth
|
434
|
+
pt: O segredo do cliente para o OAuth do Google
|
435
|
+
value: null
|
436
|
+
user_override: false
|
437
|
+
- slug: google_scopes
|
438
|
+
type: array
|
439
|
+
name:
|
440
|
+
en: Google Scopes
|
441
|
+
pt: Escopos do Google
|
442
|
+
description:
|
443
|
+
en: The scopes for Google OAuth
|
444
|
+
pt: Os escopos para o OAuth do Google
|
445
|
+
value: email,profile
|
446
|
+
user_override: false
|
447
|
+
- slug: facebook_client_id
|
448
|
+
type: string
|
449
|
+
name:
|
450
|
+
en: Facebook Client ID
|
451
|
+
pt: ID do Cliente Facebook
|
452
|
+
description:
|
453
|
+
en: The client ID for Facebook OAuth
|
454
|
+
pt: O ID do cliente para o OAuth do Facebook
|
455
|
+
value: null
|
456
|
+
user_override: false
|
457
|
+
- slug: facebook_client_secret
|
458
|
+
type: string
|
459
|
+
name:
|
460
|
+
en: Facebook Client Secret
|
461
|
+
pt: Segredo do Cliente Facebook
|
462
|
+
description:
|
463
|
+
en: The client secret for Facebook OAuth
|
464
|
+
pt: O segredo do cliente para o OAuth do Facebook
|
465
|
+
value: null
|
466
|
+
user_override: false
|
467
|
+
- slug: facebook_scopes
|
468
|
+
type: array
|
469
|
+
name:
|
470
|
+
en: Facebook Scopes
|
471
|
+
pt: Escopos do Facebook
|
472
|
+
description:
|
473
|
+
en: The scopes for Facebook OAuth
|
474
|
+
pt: Os escopos para o OAuth do Facebook
|
475
|
+
value: id,emails,name,displayName,photos
|
476
|
+
user_override: false
|
407
477
|
- slug: general
|
408
478
|
icon: settings
|
409
479
|
name:
|