mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-05 05:00:05 +00:00
modified: resource/l10n/zh-CN.toml
modified: resource/template/common/menu.html modified: resource/template/component/confirm.html modified: resource/template/component/cron.html modified: resource/template/component/monitor.html modified: resource/template/component/notification.html modified: resource/template/component/rule.html modified: resource/template/component/server.html modified: resource/template/dashboard/cron.html modified: resource/template/dashboard/error.html modified: resource/template/dashboard/login.html modified: resource/template/dashboard/monitor.html modified: resource/template/dashboard/notification.html modified: resource/template/dashboard/server.html modified: resource/template/dashboard/setting.html modified: resource/template/dashboard/terminal.html
This commit is contained in:
39
resource/template/component/monitor.html
vendored
39
resource/template/component/monitor.html
vendored
@@ -1,15 +1,15 @@
|
||||
{{define "component/monitor"}}
|
||||
<div class="ui tiny monitor modal transition hidden">
|
||||
<div class="header">添加监控</div>
|
||||
<div class="header">{{tr "AddMonitor"}}</div>
|
||||
<div class="content">
|
||||
<form id="monitorForm" class="ui form">
|
||||
<input type="hidden" name="ID" />
|
||||
<div class="field">
|
||||
<label>名称</label>
|
||||
<input type="text" name="Name" placeholder="博客" />
|
||||
<label>{{tr "Name"}}</label>
|
||||
<input type="text" name="Name" placeholder="{{tr "Blog"}}" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>目标</label>
|
||||
<label>{{tr "Target"}}</label>
|
||||
<input
|
||||
type="text"
|
||||
name="Target"
|
||||
@@ -17,57 +17,54 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>类型</label>
|
||||
<label>{{tr "Type"}}</label>
|
||||
<select name="Type" class="ui fluid dropdown">
|
||||
<option value="1">HTTP-GET(SSL到期、变更)</option>
|
||||
<option value="1">HTTP-GET{{tr "SslExpirationOrChange"}}</option>
|
||||
<option value="2">ICMP-Ping</option>
|
||||
<option value="3">TCP-Ping</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>请求间隔</label>
|
||||
<input type="number" name="Duration" placeholder="秒" />
|
||||
<label>{{tr "Duration"}}</label>
|
||||
<input type="number" name="Duration" placeholder="{{tr "Seconds"}}" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>覆盖范围</label>
|
||||
<label>{{tr "Coverage"}}</label>
|
||||
<select name="Cover" class="ui fluid dropdown">
|
||||
<option value="0">覆盖所有,仅忽略特定服务器</option>
|
||||
<option value="1">忽略所有,仅通过特定服务器请求</option>
|
||||
<option value="0">{{tr "AllIncludedOnlySpecificServersAreNotRequest"}}</option>
|
||||
<option value="1">{{tr "IgnoreAllRequestOnlyThroughSpecificServers"}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>特定服务器</label>
|
||||
<label>{{tr "SpecificServers"}}</label>
|
||||
<div class="ui fluid multiple servers search selection dropdown">
|
||||
<input type="hidden" name="SkipServersRaw" />
|
||||
<i class="dropdown icon"></i>
|
||||
<div class="default text">输入ID/名称以搜索</div>
|
||||
<div class="default text">{{tr "EnterIdAndNameToSearch"}}}}</div>
|
||||
<div class="menu"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>通知方式组</label>
|
||||
<label>{{tr "NotificationMethod"}}</label>
|
||||
<input type="text" name="NotificationTag" placeholder="default" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<div class="ui nb-notify checkbox">
|
||||
<input name="Notify" type="checkbox" tabindex="0" class="hidden" />
|
||||
<label>启用故障通知</label>
|
||||
<label>{{tr "EnableFailureNotification"}}</label>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="ui warning message">
|
||||
<p>
|
||||
类型为 <b>HTTP-GET</b> 时输入URL(带 http/https, HTTPS
|
||||
协议的会顺带监控SSL证书);<br />
|
||||
类型为 <b>ICMP-Ping</b> 时输入主机名/IP,不带端口;<br />
|
||||
类型为 <b>TCP-Ping</b> 时输入主机名/IP + 端口号:example.com:22
|
||||
{{tr "IntroductionOfMonitor"}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<div class="ui negative button">取消</div>
|
||||
<div class="ui negative button">{{tr "Cancel"}}</div>
|
||||
<button class="ui positive nezha-primary-btn right labeled icon button">
|
||||
确认<i class="checkmark icon"></i>
|
||||
{{tr "Confirm"}}<i class="checkmark icon"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user