style: change some style (#8629)

This commit is contained in:
CityFun 2025-05-14 12:58:26 +08:00 committed by GitHub
parent 9d198f7dfe
commit 7fc829d3a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 3 deletions

View file

@ -1191,7 +1191,6 @@ func getApps(oldApps []model.App, items []dto.AppDefine, systemVersion string, t
continue
}
if config.Deprecated > 0 && common.CompareAppVersion(systemVersion, strconv.FormatFloat(config.Deprecated, 'f', -1, 64)) {
task.Log(i18n.GetWithName("AppVersionNotMatch", item.Name))
continue
}

View file

@ -78,7 +78,7 @@ PullImageStart: "开始拉取镜像 {{ .name }}"
PullImageSuccess: "镜像拉取成功"
AppStoreSyncSuccess: "应用商店同步成功"
SyncAppDetail: "同步应用配置"
AppVersionNotMatch: "{{ .name }} 应用不适配当前 1Panel 版本,跳过"
AppVersionNotMatch: "{{ .name }} 应用需要更高的 1Panel 版本,跳过"
MoveSiteDir: "当前升级需要迁移 OpenResty 网站目录"
MoveSiteToDir: "迁移网站目录到 {{ .name }}"
ErrMoveSiteDir: "迁移网站目录失败"

View file

@ -7,12 +7,15 @@
<el-input v-model="env.key" :placeholder="$t('runtime.envKey')" />
</el-form-item>
</el-col>
<el-col :span="1">
<div class="mt-1">=</div>
</el-col>
<el-col :span="7">
<el-form-item :prop="`environments.${index}.value`" :rules="rules.value">
<el-input v-model="env.value" :placeholder="$t('runtime.envValue')" />
</el-form-item>
</el-col>
<el-col :span="4">
<el-col :span="3">
<el-form-item>
<el-button type="primary" @click="removeEnv(index)" link class="mt-1">
{{ $t('commons.button.delete') }}

View file

@ -122,6 +122,7 @@
<el-text>{{ $t('container.env') }}</el-text>
<br />
<Environment :environments="runtime.environments" />
<br />
<el-form-item>
<el-alert type="warning" :closable="false">
<template #default>