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

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

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

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

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

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

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

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

@ -98,8 +98,7 @@ const descriptionInput = ref((el) => {
<template>
<div class="h-full overflow-y-scroll scrollbar-thin-dull pt-2">
<div class="text-xl mt-4">Token Management</div>
<a-divider class="!my-3" />
<div class="text-xl mt-4 mb-8 text-center font-weight-bold">Token Management</div>
<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="flex-grow"></div>

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

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

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

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

Loading…
Cancel
Save