mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
parent
5e38723cc1
commit
7a3716a363
@ -1463,12 +1463,12 @@ const message = {
|
|||||||
certificatePath: 'Certificate file',
|
certificatePath: 'Certificate file',
|
||||||
ipWhiteListHelper: 'The role of IP whitelist: all rules are invalid for IP whitelist',
|
ipWhiteListHelper: 'The role of IP whitelist: all rules are invalid for IP whitelist',
|
||||||
redirect: 'redirect',
|
redirect: 'redirect',
|
||||||
sourceDomain: 'source domain name/path',
|
sourceDomain: 'Source domain',
|
||||||
targetURL: 'Target URL address',
|
targetURL: 'Target URL address',
|
||||||
keepPath: 'Keep URI parameters',
|
keepPath: 'URI params',
|
||||||
path: 'path',
|
path: 'path',
|
||||||
redirectType: 'redirection type',
|
redirectType: 'redirection type',
|
||||||
redirectWay: 'way',
|
redirectWay: 'Way',
|
||||||
keep: 'keep',
|
keep: 'keep',
|
||||||
notKeep: 'Do not keep',
|
notKeep: 'Do not keep',
|
||||||
redirectRoot: 'Redirect to the homepage',
|
redirectRoot: 'Redirect to the homepage',
|
||||||
|
@ -5,28 +5,28 @@
|
|||||||
{{ $t('commons.button.create') + $t('website.redirect') }}
|
{{ $t('commons.button.create') + $t('website.redirect') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<el-table-column :label="$t('commons.table.name')" prop="name"></el-table-column>
|
<el-table-column :label="$t('commons.table.name')" prop="name" min-width="60px" show-overflow-tooltip />
|
||||||
<el-table-column :label="$t('website.sourceDomain')" prop="domain" min-width="150px">
|
<el-table-column :label="$t('website.sourceDomain')" prop="domain" min-width="80px" show-overflow-tooltip>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span v-if="row.type === 'domain'">{{ row.domains.join(',') }}</span>
|
<span v-if="row.type === 'domain'">{{ row.domains.join(',') }}</span>
|
||||||
<span v-else>{{ row.path }}</span>
|
<span v-else>{{ row.path }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('commons.table.type')" prop="type" width="80px">
|
<el-table-column :label="$t('commons.table.type')" prop="type" min-width="60px">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span v-if="row.type != 404">{{ $t('website.' + row.type) }}</span>
|
<span v-if="row.type != 404">{{ $t('website.' + row.type) }}</span>
|
||||||
<span v-else>{{ 404 }}</span>
|
<span v-else>{{ 404 }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('website.redirectWay')" prop="redirect" width="80px"></el-table-column>
|
<el-table-column :label="$t('website.redirectWay')" prop="redirect" min-width="50px"></el-table-column>
|
||||||
<el-table-column :label="$t('website.targetURL')" prop="target"></el-table-column>
|
<el-table-column :label="$t('website.targetURL')" prop="target" min-width="100px" show-overflow-tooltip />
|
||||||
<el-table-column :label="$t('website.keepPath')" prop="keepPath">
|
<el-table-column :label="$t('website.keepPath')" prop="keepPath" min-width="80px" show-overflow-tooltip>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span v-if="row.type != '404'">{{ row.keepPath ? $t('website.keep') : $t('website.notKeep') }}</span>
|
<span v-if="row.type != '404'">{{ row.keepPath ? $t('website.keep') : $t('website.notKeep') }}</span>
|
||||||
<span v-else></span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('commons.table.status')" prop="enable">
|
<el-table-column :label="$t('commons.table.status')" prop="enable" min-width="50px">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-button v-if="row.enable" link type="success" :icon="VideoPlay" @click="opProxy(row)">
|
<el-button v-if="row.enable" link type="success" :icon="VideoPlay" @click="opProxy(row)">
|
||||||
{{ $t('commons.status.running') }}
|
{{ $t('commons.status.running') }}
|
||||||
@ -38,7 +38,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<fu-table-operations
|
<fu-table-operations
|
||||||
:ellipsis="10"
|
:ellipsis="10"
|
||||||
width="220px"
|
width="180px"
|
||||||
:buttons="buttons"
|
:buttons="buttons"
|
||||||
:label="$t('commons.table.operate')"
|
:label="$t('commons.table.operate')"
|
||||||
:fixed="mobile ? false : 'right'"
|
:fixed="mobile ? false : 'right'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user