commit fix bugs
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="config-panel hidden">
|
||||
<div class="config-panel-content">
|
||||
<span class="config-panel-label">Welcome </span>
|
||||
<span v-if="user">
|
||||
<span v-if="user" class="user-name">
|
||||
{{ user.name + " " + user.surname }}
|
||||
</span>
|
||||
<!-- <button @click="redirectProject()" class="p-button p-button-outlined">Projects</button> -->
|
||||
@@ -15,10 +15,10 @@
|
||||
|
||||
<script setup>
|
||||
|
||||
import { ScenarioStore } from '@/stores/ScenarioStore';
|
||||
import { useAuth } from '@websanova/vue-auth/src/v3.js';
|
||||
import { computed } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { ScenarioStore } from '@/stores/ScenarioStore';
|
||||
|
||||
|
||||
const auth = useAuth();
|
||||
@@ -41,3 +41,10 @@ function logout() {
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.config-panel-label,
|
||||
.user-name {
|
||||
color: #000000 !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -82,7 +82,7 @@ watch(() => userPrefStore.getSelApp, appUpdated, { immediate: true });
|
||||
<div v-if="loadingStore.isLoading">
|
||||
<!--<ProgressSpinner v-if="loadingStore.loadingType=='data'" style="width: 25px; height: 25px; margin-top: 6px" strokeWidth="2" fill="transparent"/>-->
|
||||
<JellyfishLoader v-if="loadingStore.loadingType == 'ai'" scale="0.5" color="#a100ff" style="width: 25px; height: 10px; margin-right: 25px; margin-top: -5px" />
|
||||
<RiseLoader v-if="loadingStore.loadingType == 'data'" color="#a100ff" style="scale: 0.5; height: 10px; margin-top: 5px" />
|
||||
<RiseLoader v-if="loadingStore.loadingType == 'data'" color="#ffffff" style="scale: 0.5; height: 10px; margin-top: 5px" />
|
||||
</div>
|
||||
<!-- <button @click="router.push('/mdcanvas')" class="layout-topbar-action" >
|
||||
<i class="pi pi-pencil"></i>
|
||||
@@ -117,19 +117,12 @@ watch(() => userPrefStore.getSelApp, appUpdated, { immediate: true });
|
||||
</div>
|
||||
<Dropdown v-model="selectedApp" :options="userPrefStore.availableApp" optionLabel="fe_name" placeholder="Select an Application" class="dropdown-list menu-list" @change="updateApplication()" :disabled="isDropdownDisabled" />
|
||||
|
||||
<button
|
||||
class="layout-topbar-menu-button layout-topbar-action"
|
||||
v-styleclass="{ selector: '@next', enterFromClass: 'hidden', enterActiveClass: 'animate-scalein', leaveToClass: 'hidden', leaveActiveClass: 'animate-fadeout', hideOnOutsideClick: true }"
|
||||
>
|
||||
<i class="pi pi-ellipsis-v"></i>
|
||||
</button>
|
||||
|
||||
<div class="layout-topbar-menu hidden lg:block">
|
||||
<div class="layout-topbar-menu">
|
||||
<div class="layout-topbar-menu-content">
|
||||
<button
|
||||
v-styleclass="{ selector: '@next', enterFromClass: 'hidden', enterActiveClass: 'animate-scalein', leaveToClass: 'hidden', leaveActiveClass: 'animate-fadeout', hideOnOutsideClick: true }"
|
||||
type="button"
|
||||
class="layout-topbar-action"
|
||||
class="layout-topbar-action user-menu-button"
|
||||
>
|
||||
<i class="pi pi-user"></i>
|
||||
</button>
|
||||
@@ -197,4 +190,8 @@ watch(() => userPrefStore.getSelApp, appUpdated, { immediate: true });
|
||||
border-color: rgba(255, 255, 255, 0.5);
|
||||
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.user-menu-button i {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user