Commit 49a00d61 authored by Jun Siang Cheah's avatar Jun Siang Cheah
Browse files

feat: show oauth sub in admin panel

parent 983112d1
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "알림", "Notifications": "알림",
"November": "11월", "November": "11월",
"num_thread (Ollama)": "num_thread (올라마)", "num_thread (Ollama)": "num_thread (올라마)",
"OAuth ID": "",
"October": "10월", "October": "10월",
"Off": "끄기", "Off": "끄기",
"Okay, Let's Go!": "좋아요, 시작합시다!", "Okay, Let's Go!": "좋아요, 시작합시다!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Pranešimai", "Notifications": "Pranešimai",
"November": "lapkritis", "November": "lapkritis",
"num_thread (Ollama)": "", "num_thread (Ollama)": "",
"OAuth ID": "",
"October": "spalis", "October": "spalis",
"Off": "Išjungta", "Off": "Išjungta",
"Okay, Let's Go!": "Gerai, važiuojam!", "Okay, Let's Go!": "Gerai, važiuojam!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Varsler", "Notifications": "Varsler",
"November": "November", "November": "November",
"num_thread (Ollama)": "num_thread (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Oktober", "October": "Oktober",
"Off": "Av", "Off": "Av",
"Okay, Let's Go!": "Ok, la oss gå!", "Okay, Let's Go!": "Ok, la oss gå!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Desktop Notificaties", "Notifications": "Desktop Notificaties",
"November": "November", "November": "November",
"num_thread (Ollama)": "num_thread (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Oktober", "October": "Oktober",
"Off": "Uit", "Off": "Uit",
"Okay, Let's Go!": "Okay, Laten we gaan!", "Okay, Let's Go!": "Okay, Laten we gaan!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "ਸੂਚਨਾਵਾਂ", "Notifications": "ਸੂਚਨਾਵਾਂ",
"November": "ਨਵੰਬਰ", "November": "ਨਵੰਬਰ",
"num_thread (Ollama)": "num_thread (ਓਲਾਮਾ)", "num_thread (Ollama)": "num_thread (ਓਲਾਮਾ)",
"OAuth ID": "",
"October": "ਅਕਤੂਬਰ", "October": "ਅਕਤੂਬਰ",
"Off": "ਬੰਦ", "Off": "ਬੰਦ",
"Okay, Let's Go!": "ਠੀਕ ਹੈ, ਚੱਲੋ ਚੱਲੀਏ!", "Okay, Let's Go!": "ਠੀਕ ਹੈ, ਚੱਲੋ ਚੱਲੀਏ!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Powiadomienia", "Notifications": "Powiadomienia",
"November": "Listopad", "November": "Listopad",
"num_thread (Ollama)": "num_thread (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Październik", "October": "Październik",
"Off": "Wyłączony", "Off": "Wyłączony",
"Okay, Let's Go!": "Okej, zaczynamy!", "Okay, Let's Go!": "Okej, zaczynamy!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Notificações da Área de Trabalho", "Notifications": "Notificações da Área de Trabalho",
"November": "Novembro", "November": "Novembro",
"num_thread (Ollama)": "num_thread (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Outubro", "October": "Outubro",
"Off": "Desligado", "Off": "Desligado",
"Okay, Let's Go!": "Ok, Vamos Lá!", "Okay, Let's Go!": "Ok, Vamos Lá!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Notificações da Área de Trabalho", "Notifications": "Notificações da Área de Trabalho",
"November": "Novembro", "November": "Novembro",
"num_thread (Ollama)": "num_thread (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Outubro", "October": "Outubro",
"Off": "Desligado", "Off": "Desligado",
"Okay, Let's Go!": "Ok, Vamos Lá!", "Okay, Let's Go!": "Ok, Vamos Lá!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Уведомления на рабочем столе", "Notifications": "Уведомления на рабочем столе",
"November": "Ноябрь", "November": "Ноябрь",
"num_thread (Ollama)": "num_thread (Оллама)", "num_thread (Ollama)": "num_thread (Оллама)",
"OAuth ID": "",
"October": "Октябрь", "October": "Октябрь",
"Off": "Выключено.", "Off": "Выключено.",
"Okay, Let's Go!": "Давайте начнём!", "Okay, Let's Go!": "Давайте начнём!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Обавештења", "Notifications": "Обавештења",
"November": "Новембар", "November": "Новембар",
"num_thread (Ollama)": "нум _тхреад (Оллама)", "num_thread (Ollama)": "нум _тхреад (Оллама)",
"OAuth ID": "",
"October": "Октобар", "October": "Октобар",
"Off": "Искључено", "Off": "Искључено",
"Okay, Let's Go!": "У реду, хајде да кренемо!", "Okay, Let's Go!": "У реду, хајде да кренемо!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Notifikationer", "Notifications": "Notifikationer",
"November": "november", "November": "november",
"num_thread (Ollama)": "num_thread (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "oktober", "October": "oktober",
"Off": "Av", "Off": "Av",
"Okay, Let's Go!": "Okej, nu kör vi!", "Okay, Let's Go!": "Okej, nu kör vi!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "", "Notifications": "",
"November": "", "November": "",
"num_thread (Ollama)": "", "num_thread (Ollama)": "",
"OAuth ID": "",
"October": "", "October": "",
"Off": "", "Off": "",
"Okay, Let's Go!": "", "Okay, Let's Go!": "",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Bildirimler", "Notifications": "Bildirimler",
"November": "Kasım", "November": "Kasım",
"num_thread (Ollama)": "num_thread (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Ekim", "October": "Ekim",
"Off": "Kapalı", "Off": "Kapalı",
"Okay, Let's Go!": "Tamam, Hadi Başlayalım!", "Okay, Let's Go!": "Tamam, Hadi Başlayalım!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Сповіщення", "Notifications": "Сповіщення",
"November": "Листопад", "November": "Листопад",
"num_thread (Ollama)": "num_thread (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Жовтень", "October": "Жовтень",
"Off": "Вимк", "Off": "Вимк",
"Okay, Let's Go!": "Гаразд, давайте почнемо!", "Okay, Let's Go!": "Гаразд, давайте почнемо!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "Thông báo trên máy tính (Notification)", "Notifications": "Thông báo trên máy tính (Notification)",
"November": "Tháng 11", "November": "Tháng 11",
"num_thread (Ollama)": "num_thread (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Tháng 10", "October": "Tháng 10",
"Off": "Tắt", "Off": "Tắt",
"Okay, Let's Go!": "Được rồi, Bắt đầu thôi!", "Okay, Let's Go!": "Được rồi, Bắt đầu thôi!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "桌面通知", "Notifications": "桌面通知",
"November": "十一月", "November": "十一月",
"num_thread (Ollama)": "num_thread(Ollama)", "num_thread (Ollama)": "num_thread(Ollama)",
"OAuth ID": "",
"October": "十月", "October": "十月",
"Off": "关闭", "Off": "关闭",
"Okay, Let's Go!": "确认,开始使用!", "Okay, Let's Go!": "确认,开始使用!",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
"Notifications": "桌面通知", "Notifications": "桌面通知",
"November": "11月", "November": "11月",
"num_thread (Ollama)": "num_thread(奧拉馬)", "num_thread (Ollama)": "num_thread(奧拉馬)",
"OAuth ID": "",
"October": "10 月", "October": "10 月",
"Off": "關閉", "Off": "關閉",
"Okay, Let's Go!": "好的,啟動吧!", "Okay, Let's Go!": "好的,啟動吧!",
......
...@@ -195,6 +195,18 @@ ...@@ -195,6 +195,18 @@
<span class="invisible">▲</span> <span class="invisible">▲</span>
{/if} {/if}
</th> </th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
on:click={() => setSortKey('oauth_sub')}
>
{$i18n.t('OAuth ID')}
{#if sortKey === 'oauth_sub'}
{sortOrder === 'asc' ? '▲' : '▼'}
{:else}
<span class="invisible">▲</span>
{/if}
</th>
<th <th
scope="col" scope="col"
class="px-3 py-2 cursor-pointer select-none" class="px-3 py-2 cursor-pointer select-none"
...@@ -283,6 +295,8 @@ ...@@ -283,6 +295,8 @@
</td> </td>
<td class=" px-3 py-2"> {user.email} </td> <td class=" px-3 py-2"> {user.email} </td>
<td class=" px-3 py-2"> {user.oauth_sub ?? ""} </td>
<td class=" px-3 py-2"> <td class=" px-3 py-2">
{dayjs(user.last_active_at * 1000).fromNow()} {dayjs(user.last_active_at * 1000).fromNow()}
</td> </td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment