mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 21:33:18 +01:00
fix: moves favorite star to the left and healthcheck to the right of container name (#2555)
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-1 items-center gap-2 truncate">
|
<div class="flex flex-1 items-center gap-2 truncate">
|
||||||
<container-health :health="container.health" v-if="container.health"></container-health>
|
<label class="swap swap-rotate">
|
||||||
|
<input type="checkbox" v-model="pinned" />
|
||||||
|
<carbon:star-filled class="swap-on text-secondary" />
|
||||||
|
<carbon:star class="swap-off" />
|
||||||
|
</label>
|
||||||
<div class="inline-flex font-mono text-sm">
|
<div class="inline-flex font-mono text-sm">
|
||||||
<div v-if="config.hosts.length > 1" class="mobile-hidden font-thin">
|
<div v-if="config.hosts.length > 1" class="mobile-hidden font-thin">
|
||||||
{{ container.hostLabel }}<span class="mx-2">/</span>
|
{{ container.hostLabel }}<span class="mx-2">/</span>
|
||||||
@@ -13,12 +17,8 @@
|
|||||||
{{ container.swarmId }}
|
{{ container.swarmId }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<container-health :health="container.health" v-if="container.health"></container-health>
|
||||||
<tag class="mobile-hidden font-mono" size="small">{{ container.image.replace(/@sha.*/, "") }}</tag>
|
<tag class="mobile-hidden font-mono" size="small">{{ container.image.replace(/@sha.*/, "") }}</tag>
|
||||||
<label class="swap swap-rotate">
|
|
||||||
<input type="checkbox" v-model="pinned" />
|
|
||||||
<carbon:star-filled class="swap-on text-secondary" />
|
|
||||||
<carbon:star class="swap-off" />
|
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user