mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 09:16:36 +08:00
feat: update LogsTable input and button sizes to 'small' for improved UI consistency
This commit is contained in:
parent
95009b254a
commit
a56cb4a2d5
@ -328,6 +328,7 @@ const LogsTable = () => {
|
|||||||
<Form.Input
|
<Form.Input
|
||||||
fluid
|
fluid
|
||||||
label={t('log.table.token_name')}
|
label={t('log.table.token_name')}
|
||||||
|
size={'small'}
|
||||||
width={3}
|
width={3}
|
||||||
value={token_name}
|
value={token_name}
|
||||||
placeholder={t('log.table.token_name_placeholder')}
|
placeholder={t('log.table.token_name_placeholder')}
|
||||||
@ -337,6 +338,7 @@ const LogsTable = () => {
|
|||||||
<Form.Input
|
<Form.Input
|
||||||
fluid
|
fluid
|
||||||
label={t('log.table.model_name')}
|
label={t('log.table.model_name')}
|
||||||
|
size={'small'}
|
||||||
width={3}
|
width={3}
|
||||||
value={model_name}
|
value={model_name}
|
||||||
placeholder={t('log.table.model_name_placeholder')}
|
placeholder={t('log.table.model_name_placeholder')}
|
||||||
@ -346,6 +348,7 @@ const LogsTable = () => {
|
|||||||
<Form.Input
|
<Form.Input
|
||||||
fluid
|
fluid
|
||||||
label={t('log.table.start_time')}
|
label={t('log.table.start_time')}
|
||||||
|
size={'small'}
|
||||||
width={4}
|
width={4}
|
||||||
value={start_timestamp}
|
value={start_timestamp}
|
||||||
type='datetime-local'
|
type='datetime-local'
|
||||||
@ -355,6 +358,7 @@ const LogsTable = () => {
|
|||||||
<Form.Input
|
<Form.Input
|
||||||
fluid
|
fluid
|
||||||
label={t('log.table.end_time')}
|
label={t('log.table.end_time')}
|
||||||
|
size={'small'}
|
||||||
width={4}
|
width={4}
|
||||||
value={end_timestamp}
|
value={end_timestamp}
|
||||||
type='datetime-local'
|
type='datetime-local'
|
||||||
@ -364,6 +368,7 @@ const LogsTable = () => {
|
|||||||
<Form.Button
|
<Form.Button
|
||||||
fluid
|
fluid
|
||||||
label={t('log.buttons.query')}
|
label={t('log.buttons.query')}
|
||||||
|
size={'small'}
|
||||||
width={2}
|
width={2}
|
||||||
onClick={refresh}
|
onClick={refresh}
|
||||||
>
|
>
|
||||||
@ -376,6 +381,7 @@ const LogsTable = () => {
|
|||||||
<Form.Input
|
<Form.Input
|
||||||
fluid
|
fluid
|
||||||
label={t('log.table.channel_id')}
|
label={t('log.table.channel_id')}
|
||||||
|
size={'small'}
|
||||||
width={3}
|
width={3}
|
||||||
value={channel}
|
value={channel}
|
||||||
placeholder={t('log.table.channel_id_placeholder')}
|
placeholder={t('log.table.channel_id_placeholder')}
|
||||||
@ -385,6 +391,7 @@ const LogsTable = () => {
|
|||||||
<Form.Input
|
<Form.Input
|
||||||
fluid
|
fluid
|
||||||
label={t('log.table.username')}
|
label={t('log.table.username')}
|
||||||
|
size={'small'}
|
||||||
width={3}
|
width={3}
|
||||||
value={username}
|
value={username}
|
||||||
placeholder={t('log.table.username_placeholder')}
|
placeholder={t('log.table.username_placeholder')}
|
||||||
|
Loading…
Reference in New Issue
Block a user