This commit is contained in:
naiba 2022-04-29 11:45:41 +08:00 committed by GitHub
parent a3b799a2a0
commit c55c1edca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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, HTTPSSSL)
<b>ICMP-Ping</b> /IP
<b>HTTP-GET</b> URL( http/https, HTTPSSSL)<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>