1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

feat: adds on hover popup on the side menu

This commit is contained in:
Amir Raminfar
2023-04-27 11:07:08 -07:00
parent e96ab50486
commit e6efe6ff59
7 changed files with 46 additions and 24 deletions

View File

@@ -87,9 +87,19 @@
</div>
</router-link>
<template #content>
<div class="tooltip">
This is data
<button>test</button>
<div>
<span class="has-text-weight-light"> RUNNING </span>
<span class="has-text-weight-semibold">
<distance-time :date="item.created" strict :suffix="false"></distance-time>
</span>
</div>
<div>
<span class="has-text-weight-light"> LOAD </span>
<span class="has-text-weight-semibold"> {{ item.getLastStat().snapshot.cpu }}% </span>
</div>
<div>
<span class="has-text-weight-light"> MEM </span>
<span class="has-text-weight-semibold"> {{ item.getLastStat().snapshot.memory }} </span>
</div>
</template>
</popup>