mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-10 23:47:39 +08:00
style: change some style (#8629)
This commit is contained in:
parent
9d198f7dfe
commit
7fc829d3a6
4 changed files with 6 additions and 3 deletions
|
@ -1191,7 +1191,6 @@ func getApps(oldApps []model.App, items []dto.AppDefine, systemVersion string, t
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if config.Deprecated > 0 && common.CompareAppVersion(systemVersion, strconv.FormatFloat(config.Deprecated, 'f', -1, 64)) {
|
if config.Deprecated > 0 && common.CompareAppVersion(systemVersion, strconv.FormatFloat(config.Deprecated, 'f', -1, 64)) {
|
||||||
task.Log(i18n.GetWithName("AppVersionNotMatch", item.Name))
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ PullImageStart: "开始拉取镜像 {{ .name }}"
|
||||||
PullImageSuccess: "镜像拉取成功"
|
PullImageSuccess: "镜像拉取成功"
|
||||||
AppStoreSyncSuccess: "应用商店同步成功"
|
AppStoreSyncSuccess: "应用商店同步成功"
|
||||||
SyncAppDetail: "同步应用配置"
|
SyncAppDetail: "同步应用配置"
|
||||||
AppVersionNotMatch: "{{ .name }} 应用不适配当前 1Panel 版本,跳过"
|
AppVersionNotMatch: "{{ .name }} 应用需要更高的 1Panel 版本,跳过"
|
||||||
MoveSiteDir: "当前升级需要迁移 OpenResty 网站目录"
|
MoveSiteDir: "当前升级需要迁移 OpenResty 网站目录"
|
||||||
MoveSiteToDir: "迁移网站目录到 {{ .name }}"
|
MoveSiteToDir: "迁移网站目录到 {{ .name }}"
|
||||||
ErrMoveSiteDir: "迁移网站目录失败"
|
ErrMoveSiteDir: "迁移网站目录失败"
|
||||||
|
|
|
@ -7,12 +7,15 @@
|
||||||
<el-input v-model="env.key" :placeholder="$t('runtime.envKey')" />
|
<el-input v-model="env.key" :placeholder="$t('runtime.envKey')" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="1">
|
||||||
|
<div class="mt-1">=</div>
|
||||||
|
</el-col>
|
||||||
<el-col :span="7">
|
<el-col :span="7">
|
||||||
<el-form-item :prop="`environments.${index}.value`" :rules="rules.value">
|
<el-form-item :prop="`environments.${index}.value`" :rules="rules.value">
|
||||||
<el-input v-model="env.value" :placeholder="$t('runtime.envValue')" />
|
<el-input v-model="env.value" :placeholder="$t('runtime.envValue')" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="3">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="removeEnv(index)" link class="mt-1">
|
<el-button type="primary" @click="removeEnv(index)" link class="mt-1">
|
||||||
{{ $t('commons.button.delete') }}
|
{{ $t('commons.button.delete') }}
|
||||||
|
|
|
@ -122,6 +122,7 @@
|
||||||
<el-text>{{ $t('container.env') }}</el-text>
|
<el-text>{{ $t('container.env') }}</el-text>
|
||||||
<br />
|
<br />
|
||||||
<Environment :environments="runtime.environments" />
|
<Environment :environments="runtime.environments" />
|
||||||
|
<br />
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-alert type="warning" :closable="false">
|
<el-alert type="warning" :closable="false">
|
||||||
<template #default>
|
<template #default>
|
||||||
|
|
Loading…
Add table
Reference in a new issue