Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,7 @@ const message = {
author: 'Author',
ifPause: 'Pause Container During Creation',
ifMakeImageWithContainer: 'Create New Image from This Container?',
finishTime: 'Last stop time',
},
cronjob: {
create: 'Create cron job',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/es-es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,7 @@ const message = {
author: 'Autor',
ifPause: '¿Pausar el contenedor durante la creación?',
ifMakeImageWithContainer: '¿Crear nueva imagen a partir de este contenedor?',
finishTime: 'Hora de la última detención',
},
cronjob: {
create: 'Crear tarea programada',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,7 @@ const message = {
author: '著者',
ifPause: '作成中にコンテナを一時停止します',
ifMakeImageWithContainer: 'このコンテナから新しい画像を作成しますか?',
finishTime: '前回の停止時間',
},
cronjob: {
create: 'Cronジョブを作成します',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,7 @@ const message = {
author: '작성자',
ifPause: '생성 중 컨테이너 일시 정지',
ifMakeImageWithContainer: '이 컨테이너에서 새 이미지를 생성하시겠습니까?',
finishTime: '마지막 중지 시간',
},
cronjob: {
create: '크론 작업 생성',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/ms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,7 @@ const message = {
author: 'Pengarang',
ifPause: 'Jeda Kontena Semasa Penciptaan',
ifMakeImageWithContainer: 'Cipta Imej Baru daripada Kontena Ini?',
finishTime: 'Masa berhenti terakhir',
},
cronjob: {
create: 'Cipta tugas cron',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/pt-br.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,7 @@ const message = {
author: 'Autor',
ifPause: 'Pausar container durante a criação',
ifMakeImageWithContainer: 'Criar nova imagem a partir deste container?',
finishTime: 'Horário da última parada',
},
cronjob: {
create: 'Criar tarefa cron',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,7 @@ const message = {
author: 'Автор',
ifPause: 'Приостановить контейнер во время создания',
ifMakeImageWithContainer: 'Создать новый образ из этого контейнера?',
finishTime: 'Время последней остановки',
},
cronjob: {
create: 'Создать задачу cron',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/tr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,7 @@ const message = {
author: 'Yazar',
ifPause: 'Oluşturma Sırasında Konteyneri Duraklat',
ifMakeImageWithContainer: 'Bu Konteynerden Yeni İmaj Oluşturulsun mu?',
finishTime: 'Son durdurma zamanı',
},
cronjob: {
create: 'Cron görevi oluştur',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/zh-Hant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ const message = {
author: '作者',
ifPause: '製作過程中是否暫停容器',
ifMakeImageWithContainer: '是否根據此容器製作新鏡像?',
finishTime: '上一次停止時間',
},
cronjob: {
create: '建立計劃任務',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ const message = {
author: '作者',
ifPause: '制作过程中是否暂停容器',
ifMakeImageWithContainer: '是否根据此容器制作新镜像?',
finishTime: '上一次停止时间',
},
cronjob: {
create: '创建计划任务',
Expand Down
14 changes: 4 additions & 10 deletions frontend/src/views/container/container/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@

<OpDialog ref="opRef" @search="search" />

<CodemirrorDrawer ref="myDetail" />
<ContainerInspectDialog ref="containerInspectRef" />
<PruneDialog @search="search" ref="dialogPruneRef" />

<RenameDialog @search="search" ref="dialogRenameRef" />
Expand All @@ -358,7 +358,7 @@ import UpgradeDialog from '@/views/container/container/upgrade/index.vue';
import CommitDialog from '@/views/container/container/commit/index.vue';
import MonitorDialog from '@/views/container/container/monitor/index.vue';
import TerminalDialog from '@/views/container/container/terminal/index.vue';
import CodemirrorDrawer from '@/components/codemirror-pro/drawer.vue';
import ContainerInspectDialog from '@/views/container/container/inspect/index.vue';
import PortJumpDialog from '@/components/port-jump/index.vue';
import DockerStatus from '@/views/container/docker-status/index.vue';
import ContainerLogDialog from '@/components/log/container-drawer/index.vue';
Expand Down Expand Up @@ -431,7 +431,7 @@ const props = withDefaults(defineProps<Filters>(), {
filters: '',
});

const myDetail = ref();
const containerInspectRef = ref();

const dialogContainerLogRef = ref();
const dialogRenameRef = ref();
Expand Down Expand Up @@ -611,13 +611,7 @@ const onTerminal = (row: any) => {

const onInspect = async (id: string) => {
const res = await inspect({ id: id, type: 'container' });
let detailInfo = JSON.stringify(JSON.parse(res.data), null, 2);
let param = {
header: i18n.global.t('commons.button.view'),
detailInfo: detailInfo,
mode: 'json',
};
myDetail.value!.acceptParams(param);
containerInspectRef.value!.acceptParams({ data: res.data });
};

const onClean = () => {
Expand Down
Loading
Loading