Merge branch 'dev' of https://git.codelfi.com/TelemedPro/hgh_admin into dev
This commit is contained in:
commit
fdb8717a53
BIN
public/images/favicon.webp
Normal file
BIN
public/images/favicon.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
BIN
resources/images/favicon.webp
Normal file
BIN
resources/images/favicon.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
BIN
resources/images/logo-peptied-web.webp
Normal file
BIN
resources/images/logo-peptied-web.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
@ -1,5 +1,5 @@
|
|||||||
export const GET_BASE_PATH = ""
|
export const GET_BASE_PATH = ""
|
||||||
let MAIN_DOMAIN = "http://127.0.0.1:8005";
|
let MAIN_DOMAIN = "http://127.0.0.1:8000";
|
||||||
export const ADMIN_LOGIN_API = MAIN_DOMAIN + "/api/admin/login"
|
export const ADMIN_LOGIN_API = MAIN_DOMAIN + "/api/admin/login"
|
||||||
|
|
||||||
export const PATIENT_LIST_API = MAIN_DOMAIN + "/api/admin/patient-list"
|
export const PATIENT_LIST_API = MAIN_DOMAIN + "/api/admin/patient-list"
|
||||||
|
@ -4,12 +4,12 @@ import { themeConfig } from '@themeConfig'
|
|||||||
|
|
||||||
// Components
|
// Components
|
||||||
import Footer from '@/layouts/components/Footer.vue'
|
import Footer from '@/layouts/components/Footer.vue'
|
||||||
import NavBarNotifications from '@/layouts/components/NavBarNotifications.vue'
|
// import NavBarNotifications from '@/layouts/components/NavBarNotifications.vue'
|
||||||
import NavSearchBar from '@/layouts/components/NavSearchBar.vue'
|
// import NavSearchBar from '@/layouts/components/NavSearchBar.vue'
|
||||||
import NavbarShortcuts from '@/layouts/components/NavbarShortcuts.vue'
|
// import NavbarShortcuts from '@/layouts/components/NavbarShortcuts.vue'
|
||||||
import NavbarThemeSwitcher from '@/layouts/components/NavbarThemeSwitcher.vue'
|
import NavbarThemeSwitcher from '@/layouts/components/NavbarThemeSwitcher.vue'
|
||||||
import UserProfile from '@/layouts/components/UserProfile.vue'
|
import UserProfile from '@/layouts/components/UserProfile.vue'
|
||||||
import NavBarI18n from '@core/components/I18n.vue'
|
// import NavBarI18n from '@core/components/I18n.vue'
|
||||||
import { HorizontalNavLayout } from '@layouts'
|
import { HorizontalNavLayout } from '@layouts'
|
||||||
import { VNodeRenderer } from '@layouts/components/VNodeRenderer'
|
import { VNodeRenderer } from '@layouts/components/VNodeRenderer'
|
||||||
|
|
||||||
@ -45,16 +45,16 @@ watch([
|
|||||||
</RouterLink>
|
</RouterLink>
|
||||||
<VSpacer />
|
<VSpacer />
|
||||||
|
|
||||||
<NavSearchBar />
|
<!-- <NavSearchBar /> -->
|
||||||
|
|
||||||
<NavBarI18n
|
<!-- <NavBarI18n
|
||||||
v-if="themeConfig.app.i18n.enable && themeConfig.app.i18n.langConfig?.length"
|
v-if="themeConfig.app.i18n.enable && themeConfig.app.i18n.langConfig?.length"
|
||||||
:languages="themeConfig.app.i18n.langConfig"
|
:languages="themeConfig.app.i18n.langConfig"
|
||||||
/>
|
/> -->
|
||||||
|
|
||||||
<NavbarThemeSwitcher />
|
<NavbarThemeSwitcher />
|
||||||
<NavbarShortcuts />
|
<!-- <NavbarShortcuts /> -->
|
||||||
<NavBarNotifications class="me-2" />
|
<!-- <NavBarNotifications class="me-2" /> -->
|
||||||
<UserProfile />
|
<UserProfile />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -77,6 +77,6 @@ watch([
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- 👉 Customizer -->
|
<!-- 👉 Customizer -->
|
||||||
<TheCustomizer />
|
<!-- <TheCustomizer /> -->
|
||||||
</HorizontalNavLayout>
|
</HorizontalNavLayout>
|
||||||
</template>
|
</template>
|
||||||
|
@ -1,16 +1,15 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import navItems from '@/navigation/vertical';
|
import navItems from '@/navigation/vertical';
|
||||||
import { themeConfig } from '@themeConfig';
|
|
||||||
import { useStore } from 'vuex';
|
import { useStore } from 'vuex';
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
// Components
|
// Components
|
||||||
import Footer from '@/layouts/components/Footer.vue';
|
import Footer from '@/layouts/components/Footer.vue';
|
||||||
import NavBarNotifications from '@/layouts/components/NavBarNotifications.vue';
|
// import NavBarNotifications from '@/layouts/components/NavBarNotifications.vue';
|
||||||
import NavSearchBar from '@/layouts/components/NavSearchBar.vue';
|
// import NavSearchBar from '@/layouts/components/NavSearchBar.vue';
|
||||||
import NavbarShortcuts from '@/layouts/components/NavbarShortcuts.vue';
|
// import NavbarShortcuts from '@/layouts/components/NavbarShortcuts.vue';
|
||||||
import NavbarThemeSwitcher from '@/layouts/components/NavbarThemeSwitcher.vue';
|
import NavbarThemeSwitcher from '@/layouts/components/NavbarThemeSwitcher.vue';
|
||||||
import UserProfile from '@/layouts/components/UserProfile.vue';
|
import UserProfile from '@/layouts/components/UserProfile.vue';
|
||||||
import NavBarI18n from '@core/components/I18n.vue';
|
// import NavBarI18n from '@core/components/I18n.vue';
|
||||||
|
|
||||||
// @layouts plugin
|
// @layouts plugin
|
||||||
import { VerticalNavLayout } from '@layouts';
|
import { VerticalNavLayout } from '@layouts';
|
||||||
@ -45,17 +44,17 @@ watch([
|
|||||||
<VIcon icon="ri-menu-line" />
|
<VIcon icon="ri-menu-line" />
|
||||||
</IconBtn>
|
</IconBtn>
|
||||||
|
|
||||||
<NavSearchBar class="ms-lg-n2" />
|
<!-- <NavSearchBar class="ms-lg-n2" /> -->
|
||||||
|
|
||||||
<VSpacer />
|
<VSpacer />
|
||||||
|
|
||||||
<NavBarI18n
|
<!-- <NavBarI18n
|
||||||
v-if="themeConfig.app.i18n.enable && themeConfig.app.i18n.langConfig?.length"
|
v-if="themeConfig.app.i18n.enable && themeConfig.app.i18n.langConfig?.length"
|
||||||
:languages="themeConfig.app.i18n.langConfig"
|
:languages="themeConfig.app.i18n.langConfig"
|
||||||
/>
|
/> -->
|
||||||
<NavbarThemeSwitcher />
|
<NavbarThemeSwitcher />
|
||||||
<NavbarShortcuts />
|
<!-- <NavbarShortcuts /> -->
|
||||||
<NavBarNotifications class="me-2" />
|
<!-- <NavBarNotifications class="me-2" /> -->
|
||||||
<UserProfile />
|
<UserProfile />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -79,6 +78,6 @@ watch([
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- 👉 Customizer -->
|
<!-- 👉 Customizer -->
|
||||||
<TheCustomizer />
|
<!-- <TheCustomizer /> -->
|
||||||
</VerticalNavLayout>
|
</VerticalNavLayout>
|
||||||
</template>
|
</template>
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
<div class="h-100 d-flex align-center justify-space-between text-medium-emphasis">
|
<div class="h-100 d-flex align-center justify-space-between text-medium-emphasis">
|
||||||
<!-- 👉 Footer: left content -->
|
<!-- 👉 Footer: left content -->
|
||||||
<span class="d-flex align-center">
|
<span class="d-flex align-center">
|
||||||
©
|
© Copyright
|
||||||
{{ new Date().getFullYear() }}
|
{{ new Date().getFullYear() }}
|
||||||
Made With
|
, All Rights Reserved.
|
||||||
<VIcon
|
<!-- <VIcon
|
||||||
icon="ri-heart-line"
|
icon="ri-heart-line"
|
||||||
color="error"
|
color="error"
|
||||||
size="1.25rem"
|
size="1.25rem"
|
||||||
@ -16,10 +16,10 @@
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
class="text-primary ms-1"
|
class="text-primary ms-1"
|
||||||
>ThemeSelection</a>
|
>ThemeSelection</a> -->
|
||||||
</span>
|
</span>
|
||||||
<!-- 👉 Footer: right content -->
|
<!-- 👉 Footer: right content -->
|
||||||
<span class="d-md-flex gap-x-4 text-primary d-none">
|
<!-- <span class="d-md-flex gap-x-4 text-primary d-none">
|
||||||
<a
|
<a
|
||||||
href="https://themeselection.com/license/"
|
href="https://themeselection.com/license/"
|
||||||
target="noopener noreferrer"
|
target="noopener noreferrer"
|
||||||
@ -32,6 +32,6 @@
|
|||||||
href="https://demos.themeselection.com/materio-vuetify-vuejs-admin-template/documentation/guide/laravel-integration/folder-structure.html"
|
href="https://demos.themeselection.com/materio-vuetify-vuejs-admin-template/documentation/guide/laravel-integration/folder-structure.html"
|
||||||
target="noopener noreferrer"
|
target="noopener noreferrer"
|
||||||
>Documentation</a>
|
>Documentation</a>
|
||||||
</span>
|
</span> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -48,7 +48,7 @@ const login = async () => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
store.dispatch('updateIsLoading', true)
|
store.dispatch('updateIsLoading', true)
|
||||||
isLoading.value = true
|
// isLoading.value = true
|
||||||
const response = await axios.post(ADMIN_LOGIN_API, {
|
const response = await axios.post(ADMIN_LOGIN_API, {
|
||||||
email: credentials.value.email,
|
email: credentials.value.email,
|
||||||
password: credentials.value.password,
|
password: credentials.value.password,
|
||||||
@ -70,7 +70,8 @@ const login = async () => {
|
|||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
store.dispatch('updateIsLoading', false)
|
store.dispatch('updateIsLoading', false)
|
||||||
isLoading.value = false
|
errors.value.email = error.response.data.error
|
||||||
|
// isLoading.value = false
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
// try {
|
// try {
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" href="{{ asset('favicon.ico') }}" />
|
<link rel="icon" href="{{ asset('images/favicon.webp') }}" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Materio - Vuetify Vuejs Admin Template</title>
|
<title>{{ config('app.name') }}</title>
|
||||||
<link rel="stylesheet" type="text/css" href="{{ asset('loader.css') }}" />
|
<link rel="stylesheet" type="text/css" href="{{ asset('loader.css') }}" />
|
||||||
@vite(['resources/js/main.js'])
|
@vite(['resources/js/main.js'])
|
||||||
</head>
|
</head>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
<div id="loading-bg">
|
<div id="loading-bg">
|
||||||
<div class="loading-logo">
|
<div class="loading-logo">
|
||||||
<!-- SVG Logo -->
|
<!-- SVG Logo -->
|
||||||
<svg width="86" height="48" viewBox="0 0 30 24" xmlns="http://www.w3.org/2000/svg">
|
<!-- <svg width="86" height="48" viewBox="0 0 30 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
<g fill="none" fill-rule="evenodd">
|
<g fill="none" fill-rule="evenodd">
|
||||||
<path d="M30 21.392a2 2 0 0 1-3.027 1.716l-3.258-1.95a2 2 0 0 1-.973-1.716l-.001-6.7L15
|
<path d="M30 21.392a2 2 0 0 1-3.027 1.716l-3.258-1.95a2 2 0 0 1-.973-1.716l-.001-6.7L15
|
||||||
17.178l-7.742-4.434v6.7a2 2 0 0 1-.973 1.715l-3.258 1.95A2 2 0 0 1 0 21.392V3.585l.005-.15L0 3.572a2 2 0 0
|
17.178l-7.742-4.434v6.7a2 2 0 0 1-.973 1.715l-3.258 1.95A2 2 0 0 1 0 21.392V3.585l.005-.15L0 3.572a2 2 0 0
|
||||||
@ -26,10 +26,9 @@
|
|||||||
<path fill="var(--initial-loader-color)" opacity=".078" d="m30 8.589-7.258 4.052v2.62z" />
|
<path fill="var(--initial-loader-color)" opacity=".078" d="m30 8.589-7.258 4.052v2.62z" />
|
||||||
<path d="M3.045 1.866 15 9.194v7.983L0 8.587V3.571a2 2 0 0 1 3.045-1.706Z" fill-opacity=".15" fill="
|
<path d="M3.045 1.866 15 9.194v7.983L0 8.587V3.571a2 2 0 0 1 3.045-1.706Z" fill-opacity=".15" fill="
|
||||||
#FFF" />
|
#FFF" />
|
||||||
<path d="M26.955 1.866 15 9.194v7.983l15-8.59V3.571a2 2 0 0 0-3.045-1.706Z" fill-opacity=".35"
|
<path d="M26.955 1.866 15 9.194v7.983l15-8.59V3.571a2 2 0 0 0-3.045-1.706Z" fill-opacity=".35" fill="#FFF" />
|
||||||
fill="#FFF" />
|
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg> -->
|
||||||
</div>
|
</div>
|
||||||
<div class=" loading">
|
<div class=" loading">
|
||||||
<div class="effect-1 effects"></div>
|
<div class="effect-1 effects"></div>
|
||||||
|
@ -4,15 +4,16 @@ import { breakpointsVuetify } from '@vueuse/core'
|
|||||||
import { VIcon } from 'vuetify/components/VIcon'
|
import { VIcon } from 'vuetify/components/VIcon'
|
||||||
|
|
||||||
// ❗ Logo SVG must be imported with ?raw suffix
|
// ❗ Logo SVG must be imported with ?raw suffix
|
||||||
import logo from '@images/logo.svg?raw'
|
import logoImage from '@images/logo-peptied-web.webp'
|
||||||
|
|
||||||
import { AppContentLayoutNav, ContentWidth, FooterType, NavbarType } from '@layouts/enums'
|
import { AppContentLayoutNav, ContentWidth, FooterType, NavbarType } from '@layouts/enums'
|
||||||
|
|
||||||
export const { themeConfig, layoutConfig } = defineThemeConfig({
|
export const { themeConfig, layoutConfig } = defineThemeConfig({
|
||||||
app: {
|
app: {
|
||||||
title: 'TelemedPro',
|
title: '',
|
||||||
|
|
||||||
// ❗ if you have SVG logo and want it to adapt according to theme color, you have to apply color as `color: rgb(var(--v-global-theme-primary))`
|
// ❗ if you have SVG logo and want it to adapt according to theme color, you have to apply color as `color: rgb(var(--v-global-theme-primary))`
|
||||||
logo: h('div', { innerHTML: logo, style: 'line-height:0; color: rgb(var(--v-global-theme-primary))' }),
|
logo: h('div', { innerHTML: `<img src="${logoImage}" alt="Logo" style="width:150px;">` }),
|
||||||
contentWidth: ContentWidth.Boxed,
|
contentWidth: ContentWidth.Boxed,
|
||||||
contentLayoutNav: AppContentLayoutNav.Vertical,
|
contentLayoutNav: AppContentLayoutNav.Vertical,
|
||||||
overlayNavFromBreakpoint: breakpointsVuetify.md + 16, // 16 for scrollbar. Docs: https://next.vuetifyjs.com/en/features/display-and-platform/
|
overlayNavFromBreakpoint: breakpointsVuetify.md + 16, // 16 for scrollbar. Docs: https://next.vuetifyjs.com/en/features/display-and-platform/
|
||||||
|
Loading…
Reference in New Issue
Block a user