mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 00:46:52 +08:00
### What problem does this PR solve? Feat: Make the scroll bar of the DatasetSettings page appear inside #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -12,36 +12,36 @@ const modelLibraryList = new Array(4).fill(1);
|
||||
|
||||
export default function ModelManagement() {
|
||||
return (
|
||||
<section className="p-8 space-y-8">
|
||||
<section className="p-8 space-y-8 ">
|
||||
<div className="flex justify-between items-center ">
|
||||
<h1 className="text-4xl font-bold">Team management</h1>
|
||||
<Button className="hover:bg-[#6B4FD8] text-white bg-colors-background-core-standard">
|
||||
Unfinished
|
||||
</Button>
|
||||
<Button>Unfinished</Button>
|
||||
</div>
|
||||
<div className="max-h-[84vh] overflow-auto">
|
||||
<SystemModelSetting></SystemModelSetting>
|
||||
<section className="mt-6">
|
||||
<h2 className="text-2xl font-semibold mb-3">Added model</h2>
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-4 2xl:grid-cols-4 gap-4">
|
||||
{addedModelList.map((x, idx) => (
|
||||
<AddModelCard key={idx}></AddModelCard>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
<section className="mt-6">
|
||||
<div className="flex justify-between items-center mb-3">
|
||||
<h2 className="text-2xl font-semibold ">Model library</h2>
|
||||
<Input
|
||||
placeholder="search"
|
||||
className="bg-colors-background-inverse-weak w-1/5"
|
||||
></Input>
|
||||
</div>
|
||||
<div className="grid grid-cols-2 lg:grid-cols-4 xl:grid-cols-6 2xl:grid-cols-8 gap-4">
|
||||
{modelLibraryList.map((x, idx) => (
|
||||
<ModelLibraryCard key={idx}></ModelLibraryCard>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<SystemModelSetting></SystemModelSetting>
|
||||
<section>
|
||||
<h2 className="text-2xl font-semibold mb-3">Added model</h2>
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-4 2xl:grid-cols-4 gap-4">
|
||||
{addedModelList.map((x, idx) => (
|
||||
<AddModelCard key={idx}></AddModelCard>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<div className="flex justify-between items-center mb-3">
|
||||
<h2 className="text-2xl font-semibold ">Model library</h2>
|
||||
<Input
|
||||
placeholder="search"
|
||||
className="bg-colors-background-inverse-weak w-1/5"
|
||||
></Input>
|
||||
</div>
|
||||
<div className="grid grid-cols-2 lg:grid-cols-4 xl:grid-cols-6 2xl:grid-cols-8 gap-4">
|
||||
{modelLibraryList.map((x, idx) => (
|
||||
<ModelLibraryCard key={idx}></ModelLibraryCard>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user