|
|
@ -186,7 +186,7 @@ const copyAuthToken = async () => { |
|
|
|
</a-tooltip> |
|
|
|
</a-tooltip> |
|
|
|
<div v-else class="text-lg font-semibold truncate">{{ project.title }}</div> |
|
|
|
<div v-else class="text-lg font-semibold truncate">{{ project.title }}</div> |
|
|
|
|
|
|
|
|
|
|
|
<MdiChevronDown class="min-w-[28.5px] group-hover:text-pink-500 text-2xl" /> |
|
|
|
<MdiChevronDown class="min-w-[28.5px] group-hover:text-accent text-2xl" /> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<template v-else> |
|
|
|
<template v-else> |
|
|
@ -199,7 +199,7 @@ const copyAuthToken = async () => { |
|
|
|
<a-menu-item-group> |
|
|
|
<a-menu-item-group> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
<div class="group select-none flex items-center gap-4 py-1"> |
|
|
|
<div class="group select-none flex items-center gap-4 py-1"> |
|
|
|
<MdiFolder class="group-hover:text-pink-500 text-xl" /> |
|
|
|
<MdiFolder class="group-hover:text-accent text-xl" /> |
|
|
|
|
|
|
|
|
|
|
|
<div class="flex flex-col"> |
|
|
|
<div class="flex flex-col"> |
|
|
|
<div class="text-lg group-hover:(!text-primary) font-semibold truncate">{{ project.title }}</div> |
|
|
|
<div class="text-lg group-hover:(!text-primary) font-semibold truncate">{{ project.title }}</div> |
|
|
@ -207,7 +207,7 @@ const copyAuthToken = async () => { |
|
|
|
<div class="flex items-center gap-1"> |
|
|
|
<div class="flex items-center gap-1"> |
|
|
|
<div class="group-hover:(!text-primary)">ID:</div> |
|
|
|
<div class="group-hover:(!text-primary)">ID:</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="text-xs group-hover:text-pink-500 truncate font-italic">{{ project.id }}</div> |
|
|
|
<div class="text-xs group-hover:text-accent truncate font-italic">{{ project.id }}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -215,7 +215,7 @@ const copyAuthToken = async () => { |
|
|
|
|
|
|
|
|
|
|
|
<a-menu-item key="copy"> |
|
|
|
<a-menu-item key="copy"> |
|
|
|
<div class="nc-project-menu-item group" @click.stop="copyProjectInfo"> |
|
|
|
<div class="nc-project-menu-item group" @click.stop="copyProjectInfo"> |
|
|
|
<MdiContentCopy class="group-hover:text-pink-500" /> |
|
|
|
<MdiContentCopy class="group-hover:text-accent" /> |
|
|
|
Copy Project Info |
|
|
|
Copy Project Info |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
@ -229,14 +229,14 @@ const copyAuthToken = async () => { |
|
|
|
class="nc-project-menu-item group" |
|
|
|
class="nc-project-menu-item group" |
|
|
|
@click.stop="openLink(`/api/v1/db/meta/projects/${route.params.projectId}/swagger`, appInfo.ncSiteUrl)" |
|
|
|
@click.stop="openLink(`/api/v1/db/meta/projects/${route.params.projectId}/swagger`, appInfo.ncSiteUrl)" |
|
|
|
> |
|
|
|
> |
|
|
|
<MdiApi class="group-hover:text-pink-500" /> |
|
|
|
<MdiApi class="group-hover:text-accent" /> |
|
|
|
Swagger: Rest APIs |
|
|
|
Swagger: Rest APIs |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
|
|
|
|
|
|
|
|
|
<a-menu-item key="copy"> |
|
|
|
<a-menu-item key="copy"> |
|
|
|
<div v-t="['a:navbar:user:copy-auth-token']" class="nc-project-menu-item group" @click.stop="copyAuthToken"> |
|
|
|
<div v-t="['a:navbar:user:copy-auth-token']" class="nc-project-menu-item group" @click.stop="copyAuthToken"> |
|
|
|
<MdiScriptTextKeyOutline class="group-hover:text-pink-500" /> |
|
|
|
<MdiScriptTextKeyOutline class="group-hover:text-accent" /> |
|
|
|
Copy Auth Token |
|
|
|
Copy Auth Token |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
@ -250,7 +250,7 @@ const copyAuthToken = async () => { |
|
|
|
class="nc-project-menu-item group" |
|
|
|
class="nc-project-menu-item group" |
|
|
|
@click="toggleDialog(true, 'teamAndAuth')" |
|
|
|
@click="toggleDialog(true, 'teamAndAuth')" |
|
|
|
> |
|
|
|
> |
|
|
|
<MdiCog class="group-hover:text-pink-500" /> |
|
|
|
<MdiCog class="group-hover:text-accent" /> |
|
|
|
Team & Settings |
|
|
|
Team & Settings |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
@ -260,13 +260,13 @@ const copyAuthToken = async () => { |
|
|
|
<a-sub-menu v-if="isUIAllowed('previewAs')" key="preview-as"> |
|
|
|
<a-sub-menu v-if="isUIAllowed('previewAs')" key="preview-as"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
<div v-t="['c:navdraw:preview-as']" class="nc-project-menu-item group"> |
|
|
|
<div v-t="['c:navdraw:preview-as']" class="nc-project-menu-item group"> |
|
|
|
<MdiFileEyeOutline class="group-hover:text-pink-500" /> |
|
|
|
<MdiFileEyeOutline class="group-hover:text-accent" /> |
|
|
|
Preview Project As |
|
|
|
Preview Project As |
|
|
|
|
|
|
|
|
|
|
|
<div class="flex-1" /> |
|
|
|
<div class="flex-1" /> |
|
|
|
|
|
|
|
|
|
|
|
<MaterialSymbolsChevronRightRounded |
|
|
|
<MaterialSymbolsChevronRightRounded |
|
|
|
class="transform group-hover:(scale-115 text-pink-500) text-xl text-gray-400" |
|
|
|
class="transform group-hover:(scale-115 text-accent) text-xl text-gray-400" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -279,12 +279,12 @@ const copyAuthToken = async () => { |
|
|
|
<a-sub-menu key="language" class="lang-menu scrollbar-thin-dull min-w-50 max-h-90vh overflow-auto !py-0"> |
|
|
|
<a-sub-menu key="language" class="lang-menu scrollbar-thin-dull min-w-50 max-h-90vh overflow-auto !py-0"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
<div class="nc-project-menu-item group"> |
|
|
|
<div class="nc-project-menu-item group"> |
|
|
|
<MaterialSymbolsTranslate class="group-hover:text-pink-500 nc-language" /> |
|
|
|
<MaterialSymbolsTranslate class="group-hover:text-accent nc-language" /> |
|
|
|
Language |
|
|
|
Language |
|
|
|
<div class="flex-1" /> |
|
|
|
<div class="flex-1" /> |
|
|
|
|
|
|
|
|
|
|
|
<MaterialSymbolsChevronRightRounded |
|
|
|
<MaterialSymbolsChevronRightRounded |
|
|
|
class="transform group-hover:(scale-115 text-pink-500) text-xl text-gray-400" |
|
|
|
class="transform group-hover:(scale-115 text-accent) text-xl text-gray-400" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -297,12 +297,12 @@ const copyAuthToken = async () => { |
|
|
|
<a-sub-menu v-if="isUIAllowed('previewAs')" key="account"> |
|
|
|
<a-sub-menu v-if="isUIAllowed('previewAs')" key="account"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
<div class="nc-project-menu-item group"> |
|
|
|
<div class="nc-project-menu-item group"> |
|
|
|
<MdiAccount class="group-hover:text-pink-500" /> |
|
|
|
<MdiAccount class="group-hover:text-accent" /> |
|
|
|
Account |
|
|
|
Account |
|
|
|
<div class="flex-1" /> |
|
|
|
<div class="flex-1" /> |
|
|
|
|
|
|
|
|
|
|
|
<MaterialSymbolsChevronRightRounded |
|
|
|
<MaterialSymbolsChevronRightRounded |
|
|
|
class="transform group-hover:(scale-115 text-pink-500) text-xl text-gray-400" |
|
|
|
class="transform group-hover:(scale-115 text-accent) text-xl text-gray-400" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -311,7 +311,7 @@ const copyAuthToken = async () => { |
|
|
|
|
|
|
|
|
|
|
|
<a-menu-item key="0" class="!rounded-t"> |
|
|
|
<a-menu-item key="0" class="!rounded-t"> |
|
|
|
<nuxt-link v-t="['c:navbar:user:email']" class="nc-project-menu-item group no-underline" to="/user"> |
|
|
|
<nuxt-link v-t="['c:navbar:user:email']" class="nc-project-menu-item group no-underline" to="/user"> |
|
|
|
<MdiAt class="mt-1 group-hover:text-pink-500" /> |
|
|
|
<MdiAt class="mt-1 group-hover:text-accent" /> |
|
|
|
|
|
|
|
|
|
|
|
<span class="prose-sm">{{ email }}</span> |
|
|
|
<span class="prose-sm">{{ email }}</span> |
|
|
|
</nuxt-link> |
|
|
|
</nuxt-link> |
|
|
@ -319,7 +319,7 @@ const copyAuthToken = async () => { |
|
|
|
|
|
|
|
|
|
|
|
<a-menu-item key="1" class="!rounded-b"> |
|
|
|
<a-menu-item key="1" class="!rounded-b"> |
|
|
|
<div v-t="['a:navbar:user:sign-out']" class="nc-project-menu-item group" @click="logout"> |
|
|
|
<div v-t="['a:navbar:user:sign-out']" class="nc-project-menu-item group" @click="logout"> |
|
|
|
<MdiLogout class="group-hover:(!text-pink-500)" /> |
|
|
|
<MdiLogout class="group-hover:(!text-accent)" /> |
|
|
|
|
|
|
|
|
|
|
|
<span class="prose-sm"> |
|
|
|
<span class="prose-sm"> |
|
|
|
{{ $t('general.signOut') }} |
|
|
|
{{ $t('general.signOut') }} |
|
|
|