diff --git a/src/lib/components/admin/Evaluations.svelte b/src/lib/components/admin/Evaluations.svelte index 89303568de..ee2930ebbb 100644 --- a/src/lib/components/admin/Evaluations.svelte +++ b/src/lib/components/admin/Evaluations.svelte @@ -91,7 +91,7 @@ ? '' : ' text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'}" > -
{$i18n.t('Leaderboard')}
+
{$i18n.t('Leaderboard')}
{#if formattedLeaderboardCount !== null}
{formattedLeaderboardCount} @@ -108,7 +108,7 @@ ? '' : ' text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'}" > -
{$i18n.t('Feedback')}
+
{$i18n.t('Feedback')}
{#if formattedFeedbackCount !== null}
{formattedFeedbackCount} diff --git a/src/lib/components/admin/Evaluations/Feedbacks.svelte b/src/lib/components/admin/Evaluations/Feedbacks.svelte index 53a2629a23..aa7ebda9a8 100644 --- a/src/lib/components/admin/Evaluations/Feedbacks.svelte +++ b/src/lib/components/admin/Evaluations/Feedbacks.svelte @@ -217,7 +217,7 @@
{:else} -
+
{#if modelIds.length > 0 || total > 0}
setSortKey('user')} >
@@ -341,7 +341,7 @@ setSortKey('model_id')} >
@@ -364,7 +364,7 @@ setSortKey('rating')} >
@@ -387,7 +387,7 @@ setSortKey('updated_at')} >
@@ -408,7 +408,11 @@
- + + diff --git a/src/lib/components/admin/Evaluations/Leaderboard.svelte b/src/lib/components/admin/Evaluations/Leaderboard.svelte index 84178d27d1..3feff897ba 100644 --- a/src/lib/components/admin/Evaluations/Leaderboard.svelte +++ b/src/lib/components/admin/Evaluations/Leaderboard.svelte @@ -122,8 +122,8 @@ -
-
+
+
@@ -177,7 +177,7 @@ {#each [{ key: 'rating', label: 'RK', class: 'w-3' }, { key: 'name', label: 'Model', class: '' }, { key: 'rating', label: 'Rating', class: 'text-right w-fit' }, { key: 'won', label: 'Won', class: 'text-right w-5' }, { key: 'lost', label: 'Lost', class: 'text-right w-5' }] as col} toggleSort(col.key)} >
-
+
{#if selectedTab === 'overview'} {:else if selectedTab === 'groups'} diff --git a/src/lib/components/admin/Users/Groups.svelte b/src/lib/components/admin/Users/Groups.svelte index e495235955..a9c0083517 100644 --- a/src/lib/components/admin/Users/Groups.svelte +++ b/src/lib/components/admin/Users/Groups.svelte @@ -110,66 +110,68 @@ onSubmit={addGroupHandler} /> -
-
-
-
- +
+
+
+
+
+ +
+ + {#if query} +
+ +
+ {/if}
- - {#if query} -
-
- - - -
{#if filteredGroups.length !== 0} diff --git a/src/lib/components/admin/Users/UserList.svelte b/src/lib/components/admin/Users/UserList.svelte index 9e0c566303..1bd59edbbb 100644 --- a/src/lib/components/admin/Users/UserList.svelte +++ b/src/lib/components/admin/Users/UserList.svelte @@ -176,7 +176,7 @@
{:else} -
+