forked from phoenix/litellm-mirror
fix text hierarhcy
This commit is contained in:
parent
b04c4da12e
commit
e966d9fd0f
2 changed files with 11 additions and 10 deletions
|
@ -15,7 +15,7 @@ import {
|
||||||
message,
|
message,
|
||||||
} from "antd";
|
} from "antd";
|
||||||
import { CopyToClipboard } from "react-copy-to-clipboard";
|
import { CopyToClipboard } from "react-copy-to-clipboard";
|
||||||
import { Select, SelectItem } from "@tremor/react";
|
import { Select, SelectItem, Subtitle } from "@tremor/react";
|
||||||
import {
|
import {
|
||||||
Table,
|
Table,
|
||||||
TableBody,
|
TableBody,
|
||||||
|
@ -598,16 +598,17 @@ const AdminPanel: React.FC<AdminPanelProps> = ({
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid>
|
<Grid >
|
||||||
<Card>
|
<Card>
|
||||||
<Title level={4}> ✨ Security Settings</Title>
|
<Title level={4}> ✨ Security Settings</Title>
|
||||||
<Title level={4}>Add SSO</Title>
|
<div style={{ display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '1rem' }}>
|
||||||
|
<div>
|
||||||
<Button onClick={() => setIsAddSSOModalVisible(true)}>Add SSO</Button>
|
<Button onClick={() => setIsAddSSOModalVisible(true)}>Add SSO</Button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
<Title level={4}>Allowed IP Addresses</Title>
|
<Button onClick={handleShowAllowedIPs}>Allowed IPs</Button>
|
||||||
<Button onClick={handleShowAllowedIPs}>Manage Allowed IPs</Button>
|
</div>
|
||||||
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
<div className="flex justify-start mb-4">
|
<div className="flex justify-start mb-4">
|
||||||
|
|
|
@ -98,7 +98,7 @@ const Sidebar: React.FC<SidebarProps> = ({
|
||||||
) : null}
|
) : null}
|
||||||
{userRole == "Admin" ? (
|
{userRole == "Admin" ? (
|
||||||
<Menu.Item key="12" onClick={() => setPage("admin-panel")}>
|
<Menu.Item key="12" onClick={() => setPage("admin-panel")}>
|
||||||
<Text>Admin</Text>
|
<Text>Admin Settings</Text>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
) : null}
|
) : null}
|
||||||
<Menu.Item key="13" onClick={() => setPage("api_ref")}>
|
<Menu.Item key="13" onClick={() => setPage("api_ref")}>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue