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

feat: adds host to container table on homepage (#2367)

* feat: adds host to container table on homepage

* more translations
This commit is contained in:
Amir Raminfar
2023-08-25 10:26:39 -07:00
committed by GitHub
parent 0dd68b22ca
commit 9cdc8ad8f5
7 changed files with 12 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
{{ container.name }}
</router-link>
</td>
<td v-if="isVisible('host')">{{ container.host }}</td>
<td v-if="isVisible('state')">{{ container.state }}</td>
<td v-if="isVisible('created')">
<distance-time :date="container.created" strict :suffix="false"></distance-time>
@@ -66,6 +67,11 @@ const fields = {
sortFunc: (a: Container, b: Container) => a.name.localeCompare(b.name) * direction.value,
mobileVisible: true,
},
host: {
label: "label.host",
sortFunc: (a: Container, b: Container) => a.host.localeCompare(b.host) * direction.value,
mobileVisible: false,
},
state: {
label: "label.status",
sortFunc: (a: Container, b: Container) => a.state.localeCompare(b.state) * direction.value,

View File

@@ -12,6 +12,7 @@ label:
total-mem-usage: Gesamte Speicher Auslastung
dozzle-version: Dozzle Version
all: Alle
host: Host
password: Passwort
username: Benutzername
container-name: Container Name

View File

@@ -12,6 +12,7 @@ label:
total-mem-usage: Total Mem Usage
dozzle-version: Dozzle Version
all: All
host: Host
password: Password
username: Username
container-name: Container Name

View File

@@ -12,6 +12,7 @@ label:
total-mem-usage: Uso total de la Memoria
dozzle-version: Versión de Dozzle
all: Todo
host: Host
password: Contraseña
username: Nombre de usuario
container-name: Nombre del contenedor

View File

@@ -12,6 +12,7 @@ label:
total-mem-usage: Total de utilização da memória
dozzle-version: Versão Dozzle
all: Tudo
host: Anfitrião
password: Senha
username: Nome de usuário
container-name: Nome do contentor

View File

@@ -12,6 +12,7 @@ label:
total-mem-usage: Использование памяти
dozzle-version: Версия Dozzle
all: Все
host: Хост
password: Пароль
username: Имя пользователя
container-name: Имя контейнера

View File

@@ -12,6 +12,7 @@ label:
total-mem-usage: 所有内存使用率
dozzle-version: Dozzle版本
all: 全部
host: 主机
password: 密码
username: 用户名
container-name: 容器名称