This commit is contained in:
naiba
2022-04-29 11:45:41 +08:00
committed by GitHub
parent a3b799a2a0
commit c55c1edca3
5 changed files with 6 additions and 8 deletions

View File

@@ -80,8 +80,8 @@ other = "秒"
other = "启用故障通知"
[IntroductionOfMonitor]
other = """
类型为 <b>HTTP-GET</b> 时输入URL(带 http/https, HTTPS协议的会顺带监控SSL证书)
类型为 <b>ICMP-Ping</b> 时输入主机名/IP不带端口
类型为 <b>HTTP-GET</b> 时输入URL(带 http/https, HTTPS协议的会顺带监控SSL证书)<br>
类型为 <b>ICMP-Ping</b> 时输入主机名/IP不带端口<br>
类型为 <b>TCP-Ping</b> 时输入主机名/IP + 端口号example.com:22"""
[AddNotificationMethod]
other = "添加通知方式"
@@ -99,8 +99,6 @@ other = "验证SSL"
other = "添加报警规则"
[Rules]
other = "规则"
[NotificationMethod]
other = "通知方式组"
[Enable]
other = "启用"
[AddServer]

View File

@@ -34,7 +34,7 @@
<i class="terminal icon"></i>{{tr "AdminPanel"}}
</a>
{{end}}
<button class="item" onclick="showConfirm('{{tr "ConfirmLogout"}}','{{}tr "AfterLoggingOutYouHaveToLoginAgain"}',logout,{{.Admin.ID}})">
<button class="item" onclick="showConfirm('{{tr "ConfirmLogout"}}','{{tr "AfterLoggingOutYouHaveToLoginAgain"}}',logout,{{.Admin.ID}})">
<i class="logout icon"></i>{{tr "Logout"}}
</button>
</div>

View File

@@ -48,7 +48,7 @@
{{tr "TheFormaOfTheScheduleIs"}}<code>* * * * * *</code>&nbsp;{{tr "SecondsMinutesHoursDaysMonthsWeeksSeeDetails"}} <a
href="https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format"
target="_blank">{{tr "ScheduleExpressionFormat"}}</a><br>
{{tr "IntroductionOfCommands"}}
{{safe (tr "IntroductionOfCommands")}}
</p>
</div>
</div>

View File

@@ -57,7 +57,7 @@
</form>
<div class="ui warning message">
<p>
{{tr "IntroductionOfMonitor"}}
{{safe (tr "IntroductionOfMonitor")}}
</p>
</div>
</div>

View File

@@ -45,7 +45,7 @@
<i class="edit icon"></i>
</button>
<button class="ui button"
onclick="showConfirm('{tr "DeleteService"}','{{tr "ConfirmToDeleteThisService"}}',deleteRequest,'/api/monitor/'+{{$monitor.ID}})">
onclick="showConfirm('{{tr "DeleteService"}}','{{tr "ConfirmToDeleteThisService"}}',deleteRequest,'/api/monitor/'+{{$monitor.ID}})">
<i class="trash alternate outline icon"></i>
</button>
</div>