|
|
@ -67,8 +67,10 @@ onMounted(() => { |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="flex w-full flex-col p-1 border-t-1 border-gray-200 gap-y-2"> |
|
|
|
<div class="flex w-full flex-col p-1 border-t-1 border-gray-200 gap-y-2"> |
|
|
|
<NcDropdown v-model:visible="isMenuOpen" placement="topLeft" overlay-class-name="!min-w-64"> |
|
|
|
<NcDropdown v-model:visible="isMenuOpen" placement="topLeft" overlay-class-name="!min-w-64"> |
|
|
|
<div class="flex flex-row py-2 px-3 gap-x-2 items-center hover:bg-gray-200 rounded-lg cursor-pointer h-10" |
|
|
|
<div |
|
|
|
data-testid="nc-sidebar-userinfo"> |
|
|
|
class="flex flex-row py-2 px-3 gap-x-2 items-center hover:bg-gray-200 rounded-lg cursor-pointer h-10" |
|
|
|
|
|
|
|
data-testid="nc-sidebar-userinfo" |
|
|
|
|
|
|
|
> |
|
|
|
<GeneralUserIcon /> |
|
|
|
<GeneralUserIcon /> |
|
|
|
<div class="flex truncate"> |
|
|
|
<div class="flex truncate"> |
|
|
|
{{ name ? name : user?.email }} |
|
|
|
{{ name ? name : user?.email }} |
|
|
@ -96,9 +98,7 @@ onMounted(() => { |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a href="https://www.reddit.com/r/NocoDB" target="_blank" class="!underline-transparent"> |
|
|
|
<a href="https://www.reddit.com/r/NocoDB" target="_blank" class="!underline-transparent"> |
|
|
|
<NcMenuItem class="social-icon-wrapper"> |
|
|
|
<NcMenuItem class="social-icon-wrapper"> <GeneralIcon class="social-icon" icon="reddit" />/r/NocoDB </NcMenuItem> |
|
|
|
<GeneralIcon class="social-icon" icon="reddit" />/r/NocoDB |
|
|
|
|
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a href="https://twitter.com/nocodb" target="_blank" class="!underline-transparent"> |
|
|
|
<a href="https://twitter.com/nocodb" target="_blank" class="!underline-transparent"> |
|
|
|
<NcMenuItem class="social-icon-wrapper group"> |
|
|
|
<NcMenuItem class="social-icon-wrapper group"> |
|
|
@ -114,8 +114,7 @@ onMounted(() => { |
|
|
|
<div class="flex items-center text-gray-400 text-xs">(Community Translated)</div> |
|
|
|
<div class="flex items-center text-gray-400 text-xs">(Community Translated)</div> |
|
|
|
<div class="flex-1" /> |
|
|
|
<div class="flex-1" /> |
|
|
|
|
|
|
|
|
|
|
|
<MaterialSymbolsChevronRightRounded |
|
|
|
<MaterialSymbolsChevronRightRounded class="transform group-hover:(scale-115 text-accent) text-xl text-gray-400" /> |
|
|
|
class="transform group-hover:(scale-115 text-accent) text-xl text-gray-400" /> |
|
|
|
|
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
|
|
|
|
<template #content> |
|
|
|
<template #content> |
|
|
@ -134,9 +133,7 @@ onMounted(() => { |
|
|
|
<template v-else> Copy Auth Token </template> |
|
|
|
<template v-else> Copy Auth Token </template> |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
<nuxt-link v-e="['c:navbar:user:email']" class="!no-underline" to="/account/profile"> |
|
|
|
<nuxt-link v-e="['c:navbar:user:email']" class="!no-underline" to="/account/profile"> |
|
|
|
<NcMenuItem> |
|
|
|
<NcMenuItem> <GeneralIcon icon="settings" class="menu-icon" /> Account Settings </NcMenuItem> |
|
|
|
<GeneralIcon icon="settings" class="menu-icon" /> Account Settings |
|
|
|
|
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
</nuxt-link> |
|
|
|
</nuxt-link> |
|
|
|
</NcMenu> |
|
|
|
</NcMenu> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -145,8 +142,13 @@ onMounted(() => { |
|
|
|
<div v-if="appInfo.ee" class="text-gray-500 text-xs pl-3">© 2023 NocoDB. Inc</div> |
|
|
|
<div v-if="appInfo.ee" class="text-gray-500 text-xs pl-3">© 2023 NocoDB. Inc</div> |
|
|
|
<div v-else-if="isMounted" class="flex flex-row justify-between pt-1 truncate"> |
|
|
|
<div v-else-if="isMounted" class="flex flex-row justify-between pt-1 truncate"> |
|
|
|
<div class="flex flex-wrap mb-1"> |
|
|
|
<div class="flex flex-wrap mb-1"> |
|
|
|
<GithubButton class="px-2 mb-1" href="https://github.com/nocodb/nocodb" data-icon="octicon-star" |
|
|
|
<GithubButton |
|
|
|
data-show-count="true" data-size="large"> |
|
|
|
class="px-2 mb-1" |
|
|
|
|
|
|
|
href="https://github.com/nocodb/nocodb" |
|
|
|
|
|
|
|
data-icon="octicon-star" |
|
|
|
|
|
|
|
data-show-count="true" |
|
|
|
|
|
|
|
data-size="large" |
|
|
|
|
|
|
|
> |
|
|
|
Star |
|
|
|
Star |
|
|
|
</GithubButton> |
|
|
|
</GithubButton> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|