mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
fix: improves styles for redirect alert
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<template>
|
||||
<div class="flex-1 font-sans text-[0.9rem]">
|
||||
<span class="whitespace-pre-wrap" :data-event="logEntry.event" v-html="logEntry.message"></span>
|
||||
<div class="alert alert-info mx-auto mt-8 w-1/2 text-[1rem]" v-if="nextContainer">
|
||||
<div
|
||||
class="alert alert-info mt-8 w-auto text-[1rem] md:mx-auto md:w-1/2"
|
||||
v-if="nextContainer && logEntry.event === 'container-stopped'"
|
||||
>
|
||||
<carbon:information class="h-6 w-6 shrink-0 stroke-current" />
|
||||
<span>
|
||||
Another container instance with the same name was created <distance-time :date="nextContainer.created" />. Do
|
||||
|
||||
@@ -102,7 +102,7 @@ export class DockerEventLogEntry extends LogEntry<string> {
|
||||
constructor(
|
||||
message: string,
|
||||
date: Date,
|
||||
public readonly event: string,
|
||||
public readonly event: "container-stopped" | "container-started",
|
||||
) {
|
||||
super(message, date.getTime(), date, "stderr", "info");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user