diff --git a/.env.example b/.env.example index 0721cdd..31ff5e9 100644 --- a/.env.example +++ b/.env.example @@ -4,4 +4,5 @@ VUE_APP_I18N_FALLBACK_LOCALE=en VUE_APP_LOCALES={"en": "English", "ja": "日本語", "es": "Español"} VUE_APP_CURRENCY_FORMATS={"en": {"currency": {"style": "currency","currency": "USD"}}, "ja": {"currency": {"style": "currency", "currency": "JPY"}}, "es": {"currency": {"style": "currency","currency": "ESP"}}} VUE_APP_DEFAULT_ALIAS= -VUE_APP_MAARG_LOGIN=["atp", "company", "order-routing", "inventorycount-dev", "inventorycount-uat"] \ No newline at end of file +VUE_APP_MAARG_LOGIN=["atp", "company", "order-routing", "inventorycount-dev", "inventorycount-uat"] +VUE_APP_USERS_LOGIN_URL="http://users.hotwax.io/login" \ No newline at end of file diff --git a/src/components/Image.vue b/src/components/Image.vue new file mode 100644 index 0000000..ce0da42 --- /dev/null +++ b/src/components/Image.vue @@ -0,0 +1,64 @@ + + + diff --git a/src/components/UserActionsPopover.vue b/src/components/UserActionsPopover.vue new file mode 100644 index 0000000..0cfc92d --- /dev/null +++ b/src/components/UserActionsPopover.vue @@ -0,0 +1,64 @@ + + + \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index b8ef5a3..851679e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -14,5 +14,6 @@ "Something went wrong while login. Please contact administrator.": "Something went wrong while login. Please contact administrator.", "Sorry, your username or password is incorrect. Please try again.": "Sorry, your username or password is incorrect. Please try again.", "This application is not enabled for your account": "This application is not enabled for your account", - "Username": "Username" + "Username": "Username", + "View profile": "View profile" } \ No newline at end of file diff --git a/src/views/Home.vue b/src/views/Home.vue index b0b73b9..db047b0 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -9,19 +9,23 @@ - - - {{ authStore.current?.partyName ? authStore.current?.partyName : authStore.current.userLoginId }} - - {{ $t('Logout') }} + + + + + +

{{ authStore.current?.partyName ? authStore.current?.partyName : authStore.current.userLoginId }}

+
+ +
- +

{{ authStore.getOMS }}

- +
@@ -66,6 +70,7 @@