mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-18 03:16:30 +08:00
feat: 增加计划任务服务器时间同步提示信息 (#3695)
This commit is contained in:
parent
45394598d9
commit
d1fde34a14
4 changed files with 16 additions and 0 deletions
|
@ -788,6 +788,7 @@ const message = {
|
|||
containerCheckBox: 'In container (no need to enter the container command)',
|
||||
containerName: 'Container name',
|
||||
ntp: 'Time synchronization',
|
||||
ntp_helper: 'By default, use the NTP server configured in the [Toolbox] - [Quick Setup] page',
|
||||
app: 'Backup app',
|
||||
website: 'Backup website',
|
||||
rulesHelper:
|
||||
|
|
|
@ -755,6 +755,7 @@ const message = {
|
|||
containerCheckBox: '在容器中執行(無需再輸入進入容器命令)',
|
||||
containerName: '容器名稱',
|
||||
ntp: '同步服務器時間',
|
||||
ntp_helper: '默認情況下,使用 [工具箱] - [快速設置] 頁面中配置的 NTP 伺服器',
|
||||
app: '備份應用',
|
||||
website: '備份網站',
|
||||
rulesHelper: '當存在多個壓縮排除規則時,需要換行顯示,例:\n*.log \n*.sql',
|
||||
|
|
|
@ -756,6 +756,7 @@ const message = {
|
|||
containerCheckBox: '在容器中执行(无需再输入进入容器命令)',
|
||||
containerName: '容器名称',
|
||||
ntp: '同步服务器时间',
|
||||
ntp_helper: '默认情况下,使用 [工具箱] - [快速设置] 页面中配置的 NTP 服务器',
|
||||
app: '备份应用',
|
||||
website: '备份网站',
|
||||
rulesHelper: '当存在多个压缩排除规则时,需要换行显示,例:\n*.log \n*.sql',
|
||||
|
|
|
@ -53,6 +53,19 @@
|
|||
</el-link>
|
||||
</span>
|
||||
</div>
|
||||
<div v-if="dialogData.rowData!.type === 'ntp'">
|
||||
<span class="input-help">
|
||||
{{ $t('cronjob.ntp_helper') }}
|
||||
<el-link
|
||||
style="font-size: 12px"
|
||||
icon="Position"
|
||||
@click="goRouter('/toolbox/device')"
|
||||
type="primary"
|
||||
>
|
||||
{{ $t('firewall.quickJump') }}
|
||||
</el-link>
|
||||
</span>
|
||||
</div>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item :label="$t('cronjob.taskName')" prop="name">
|
||||
|
|
Loading…
Add table
Reference in a new issue