forked from phoenix/litellm-mirror
ui - cleanup input text boxes
This commit is contained in:
parent
69121360ba
commit
40ae951634
3 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { Button, Modal, Form, Input, message, Select, InputNumber } from "antd";
|
import { Button, Modal, Form, Input, message, Select, InputNumber } from "antd";
|
||||||
import { Button as Button2, Text } from "@tremor/react";
|
import { Button as Button2, Text, TextInput } from "@tremor/react";
|
||||||
import { userCreateCall, modelAvailableCall } from "./networking";
|
import { userCreateCall, modelAvailableCall } from "./networking";
|
||||||
const { Option } = Select;
|
const { Option } = Select;
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ const Createuser: React.FC<CreateuserProps> = ({ userID, accessToken, teams }) =
|
||||||
labelAlign="left"
|
labelAlign="left"
|
||||||
>
|
>
|
||||||
<Form.Item label="User Email" name="user_email">
|
<Form.Item label="User Email" name="user_email">
|
||||||
<Input placeholder="Enter User Email" />
|
<TextInput placeholder="" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item label="Team ID" name="team_id">
|
<Form.Item label="Team ID" name="team_id">
|
||||||
<Select
|
<Select
|
||||||
|
|
|
@ -20,6 +20,7 @@ import {
|
||||||
TableHead,
|
TableHead,
|
||||||
TableHeaderCell,
|
TableHeaderCell,
|
||||||
TableRow,
|
TableRow,
|
||||||
|
TextInput,
|
||||||
Card,
|
Card,
|
||||||
Icon,
|
Icon,
|
||||||
Button,
|
Button,
|
||||||
|
@ -480,7 +481,7 @@ const handleEditSubmit = async (formValues: Record<string, any>) => {
|
||||||
name="team_alias"
|
name="team_alias"
|
||||||
rules={[{ required: true, message: 'Please input a team name' }]}
|
rules={[{ required: true, message: 'Please input a team name' }]}
|
||||||
>
|
>
|
||||||
<Input />
|
<TextInput placeholder="" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item label="Models" name="models">
|
<Form.Item label="Models" name="models">
|
||||||
<Select2
|
<Select2
|
||||||
|
|
|
@ -21,7 +21,8 @@ import {
|
||||||
SelectItem,
|
SelectItem,
|
||||||
Dialog,
|
Dialog,
|
||||||
DialogPanel,
|
DialogPanel,
|
||||||
Icon
|
Icon,
|
||||||
|
TextInput,
|
||||||
} from "@tremor/react";
|
} from "@tremor/react";
|
||||||
import { userInfoCall, adminTopEndUsersCall } from "./networking";
|
import { userInfoCall, adminTopEndUsersCall } from "./networking";
|
||||||
import { Badge, BadgeDelta, Button } from "@tremor/react";
|
import { Badge, BadgeDelta, Button } from "@tremor/react";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue