update layout for logout and info button

This commit is contained in:
2024-12-11 12:09:38 +01:00
parent a3dd5f11fc
commit 3b39b811cb
2 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
{{ user.name + " " + user.surname }} {{ user.name + " " + user.surname }}
</span> </span>
<!-- <button @click="redirectProject()" class="p-button p-button-outlined">Projects</button> --> <!-- <button @click="redirectProject()" class="p-button p-button-outlined">Projects</button> -->
<button @click="auth.logout()" class="p-button p-button-danger p-button-outlined">Logout</button> <button @click="auth.logout()" class="p-button p-button-outlined">Logout</button>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -43,9 +43,10 @@
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
{{ slotProps.data.scenario.name }} {{ slotProps.data.scenario.name }}
<i <i
class="pi pi-info-circle text-blue-500 cursor-pointer" class="pi pi-info-circle text-violet-600 cursor-pointer"
v-tooltip="slotProps.data.scenario.description" v-tooltip="slotProps.data?.scenario?.description || 'No description available'"
></i> ></i>
<!-- controllare il tooltip -->
</div> </div>
</template> </template>
</Column> </Column>