Browse Source

refactor(gui): title position update

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4134/head
Pranav C 2 years ago
parent
commit
dc5dec3d5a
  1. 3
      packages/nc-gui/components/account/AppStore.vue
  2. 3
      packages/nc-gui/components/account/License.vue
  3. 4
      packages/nc-gui/components/account/ResetPassword.vue
  4. 5
      packages/nc-gui/components/account/SignupSettings.vue
  5. 3
      packages/nc-gui/components/account/Token.vue
  6. 3
      packages/nc-gui/components/account/UserList.vue
  7. 11
      packages/nc-gui/nuxt.config.ts

3
packages/nc-gui/components/account/AppStore.vue

@ -1,7 +1,6 @@
<template> <template>
<div class="h-full overflow-y-scroll scrollbar-thin-dull pt-2"> <div class="h-full overflow-y-scroll scrollbar-thin-dull pt-2">
<div class="text-xl mt-4">{{ $t('title.appStore') }}</div> <div class="text-xl mt-4 mb-8 text-center font-weight-bold">{{ $t('title.appStore') }}</div>
<a-divider class="!my-3" />
<div> <div>
<LazyDashboardSettingsAppStore /> <LazyDashboardSettingsAppStore />
</div> </div>

3
packages/nc-gui/components/account/License.vue

@ -34,8 +34,7 @@ loadLicense()
<template> <template>
<div class="h-full overflow-y-scroll scrollbar-thin-dull"> <div class="h-full overflow-y-scroll scrollbar-thin-dull">
<div class="text-xl mt-4">License</div> <div class="text-xl mt-4 mb-8 text-center font-weight-bold">License</div>
<a-divider class="!my-3" />
<div> <div>
<a-textarea v-model:value="key" placeholder="License key" class="!mt-2 !max-w-[600px]"></a-textarea> <a-textarea v-model:value="key" placeholder="License key" class="!mt-2 !max-w-[600px]"></a-textarea>
</div> </div>

4
packages/nc-gui/components/account/ResetPassword.vue

@ -65,8 +65,8 @@ const resetError = () => {
</script> </script>
<template> <template>
<div class="relative flex flex-col justify-center gap-2 w-full p-8 md:(bg-white) max-w-[900px]"> <div class="mx-auto relative flex flex-col justify-center gap-2 w-full px-8 md:(bg-white) max-w-[900px]">
<h1 class="prose-2xl font-bold self-center my-4">{{ $t('activity.changePwd') }}</h1> <div class="text-xl mt-4 mb-8 text-center font-weight-bold">{{ $t('activity.changePwd') }}</div>
<a-form <a-form
ref="formValidator" ref="formValidator"
data-cy="nc-user-settings-form" data-cy="nc-user-settings-form"

5
packages/nc-gui/components/account/SignupSettings.vue

@ -31,9 +31,8 @@ loadSettings()
<template> <template>
<div> <div>
<div class="text-xl mt-4">Settings</div> <div class="text-xl mt-4 mb-8 text-center font-weight-bold">Settings</div>
<a-divider class="!my-3" /> <div class="flex justify-center">
<div class="-ml-6">
<a-form-item> <a-form-item>
<a-checkbox <a-checkbox
v-model:checked="settings.invite_only_signup" v-model:checked="settings.invite_only_signup"

3
packages/nc-gui/components/account/Token.vue

@ -98,8 +98,7 @@ const descriptionInput = ref((el) => {
<template> <template>
<div class="h-full overflow-y-scroll scrollbar-thin-dull pt-2"> <div class="h-full overflow-y-scroll scrollbar-thin-dull pt-2">
<div class="text-xl mt-4">Token Management</div> <div class="text-xl mt-4 mb-8 text-center font-weight-bold">Token Management</div>
<a-divider class="!my-3" />
<div class="max-w-[900px] mx-auto p-4" data-cy="nc-token-list"> <div class="max-w-[900px] mx-auto p-4" data-cy="nc-token-list">
<div class="py-2 flex gap-4 items-center"> <div class="py-2 flex gap-4 items-center">
<div class="flex-grow"></div> <div class="flex-grow"></div>

3
packages/nc-gui/components/account/UserList.vue

@ -124,8 +124,7 @@ const copyPasswordResetUrl = async (user: User) => {
<template> <template>
<div data-cy="nc-super-user-list"> <div data-cy="nc-super-user-list">
<div class="text-xl mt-4">User Management</div> <div class="text-xl mt-4 mb-8 text-center font-weight-bold">User Management</div>
<a-divider class="!my-3" />
<div class="max-w-[900px] mx-auto p-4"> <div class="max-w-[900px] mx-auto p-4">
<div class="py-2 flex gap-4 items-center"> <div class="py-2 flex gap-4 items-center">
<a-input-search <a-input-search

11
packages/nc-gui/nuxt.config.ts

@ -75,6 +75,14 @@ export default defineNuxtConfig({
}, },
}, },
ignore: ['./tests/**'],
typescript:{
tsConfig:{
exclude: [ './tests/**'],
}
},
vite: { vite: {
build: { build: {
commonjsOptions: { commonjsOptions: {
@ -166,6 +174,9 @@ export default defineNuxtConfig({
}, },
}, },
// ignore: [`tests/**`],
experimental: { experimental: {
reactivityTransform: true, reactivityTransform: true,
}, },

Loading…
Cancel
Save