mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-08 12:24:48 +08:00
### What problem does this PR solve? - Modify and adjust styles (CSS vars, components) to match the design system - Adjust file and directory structure of admin UI ### Type of change - [x] Refactoring
20 lines
563 B
TypeScript
20 lines
563 B
TypeScript
import Spotlight from '@/components/spotlight';
|
|
import { Card, CardContent } from '@/components/ui/card';
|
|
|
|
function AdminMonitoring() {
|
|
return (
|
|
<Card className="!shadow-none relative h-full border-0.5 border-border-button bg-transparent rounded-xl overflow-x-hidden overflow-y-auto">
|
|
<Spotlight />
|
|
|
|
<CardContent className="size-full p-0">
|
|
<iframe
|
|
className="size-full"
|
|
src={`${location.protocol}//${location.hostname}:9090/alerts`}
|
|
/>
|
|
</CardContent>
|
|
</Card>
|
|
);
|
|
}
|
|
|
|
export default AdminMonitoring;
|