mirror of https://github.com/1Panel-dev/1Panel
style: 已安装应用按钮调整 (#2446)
parent
4366714f0b
commit
221c87e71e
|
@ -111,20 +111,37 @@
|
||||||
:content="installed.message"
|
:content="installed.message"
|
||||||
>
|
>
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<el-button link type="primary">
|
<el-button link type="danger">
|
||||||
{{ $t('app.detail') }}
|
<el-icon><Warning /></el-icon>
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</span>
|
</span>
|
||||||
|
<span class="ml-1">
|
||||||
<el-tooltip effect="dark" :content="$t('app.toFolder')" placement="top">
|
<el-tooltip effect="dark" :content="$t('app.toFolder')" placement="top">
|
||||||
<el-button type="primary" link @click="toFolder(installed.path)">
|
<el-button type="primary" link @click="toFolder(installed.path)">
|
||||||
<el-icon>
|
<el-icon>
|
||||||
<FolderOpened />
|
<FolderOpened />
|
||||||
</el-icon>
|
</el-icon>
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
</span>
|
||||||
|
<span class="ml-1">
|
||||||
|
<el-tooltip
|
||||||
|
effect="dark"
|
||||||
|
:content="$t('commons.button.log')"
|
||||||
|
placement="top"
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
link
|
||||||
|
type="primary"
|
||||||
|
@click="openLog(installed)"
|
||||||
|
:disabled="installed.status === 'DownloadErr'"
|
||||||
|
>
|
||||||
|
<el-icon><Tickets /></el-icon>
|
||||||
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
|
</span>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
class="h-button"
|
class="h-button"
|
||||||
|
@ -494,15 +511,6 @@ const buttons = [
|
||||||
return row.status === 'DownloadErr' || row.status === 'Upgrading' || row.status === 'Rebuilding';
|
return row.status === 'DownloadErr' || row.status === 'Upgrading' || row.status === 'Rebuilding';
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: i18n.global.t('commons.button.log'),
|
|
||||||
click: (row: any) => {
|
|
||||||
openLog(row);
|
|
||||||
},
|
|
||||||
disabled: (row: any) => {
|
|
||||||
return row.status === 'DownloadErr';
|
|
||||||
},
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const openBackups = (key: string, name: string) => {
|
const openBackups = (key: string, name: string) => {
|
||||||
|
|
Loading…
Reference in New Issue