refac
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
<Modal bind:show size="md">
|
||||
<div>
|
||||
<div class=" flex justify-between dark:text-gray-300 px-5 pt-4 pb-0.5">
|
||||
<div class=" text-lg font-medium self-center">{$i18n.t('Available Tools')}</div>
|
||||
<div class=" text-lg font-normal self-center">{$i18n.t('Available Tools')}</div>
|
||||
<button
|
||||
class="self-center"
|
||||
aria-label={$i18n.t('Close')}
|
||||
@@ -49,7 +49,7 @@
|
||||
{#if selectedTools.length > 0}
|
||||
{#if $toolServers.length > 0}
|
||||
<div class=" flex justify-between dark:text-gray-300 px-5 pb-1">
|
||||
<div class=" text-base font-medium self-center">{$i18n.t('Tools')}</div>
|
||||
<div class=" text-base font-normal self-center">{$i18n.t('Tools')}</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
>
|
||||
<div class="min-w-0 flex-1">
|
||||
<div class="flex items-center gap-1 min-w-0">
|
||||
<div class="text-sm font-medium dark:text-gray-100 text-gray-800 truncate">
|
||||
<div class="text-sm font-normal dark:text-gray-100 text-gray-800 truncate">
|
||||
{tool?.name}
|
||||
</div>
|
||||
{#if status}
|
||||
@@ -107,7 +107,7 @@
|
||||
|
||||
{#if $toolServers.length > 0}
|
||||
<div class=" flex justify-between dark:text-gray-300 px-5 pb-0.5">
|
||||
<div class=" text-base font-medium self-center">{$i18n.t('Tool Servers')}</div>
|
||||
<div class=" text-base font-normal self-center">{$i18n.t('Tool Servers')}</div>
|
||||
</div>
|
||||
|
||||
<div class="px-5 pb-5 w-full flex flex-col justify-center">
|
||||
@@ -122,7 +122,7 @@
|
||||
{#each $toolServers as toolServer}
|
||||
<Collapsible buttonClassName="w-full" chevron>
|
||||
<div>
|
||||
<div class="text-sm font-medium dark:text-gray-100 text-gray-800">
|
||||
<div class="text-sm font-normal dark:text-gray-100 text-gray-800">
|
||||
{toolServer?.openapi?.info?.title} - v{toolServer?.openapi?.info?.version}
|
||||
</div>
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
<div slot="content">
|
||||
{#each toolServer?.specs ?? [] as tool_spec}
|
||||
<div class="my-1">
|
||||
<div class="font-medium text-gray-800 dark:text-gray-100">
|
||||
<div class="font-normal text-gray-800 dark:text-gray-100">
|
||||
{tool_spec?.name}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user