mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-05 05:00:05 +00:00
update: 前端增加通知方式组相关选项
This commit is contained in:
8
resource/template/component/cron.html
vendored
8
resource/template/component/cron.html
vendored
@@ -32,16 +32,16 @@
|
||||
<div class="menu"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>通知方式组</label>
|
||||
<input type="text" name="NotificationTag" placeholder="default">
|
||||
</div>
|
||||
<div class="field">
|
||||
<div class="ui push-successful checkbox">
|
||||
<input name="PushSuccessful" type="checkbox" tabindex="0" class="hidden">
|
||||
<label>推送成功的消息</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>通知方式组</label>
|
||||
<input type="text" name="NotificationTag" placeholder="default">
|
||||
</div>
|
||||
</form>
|
||||
<div class="ui warning message">
|
||||
<p>
|
||||
|
||||
4
resource/template/component/monitor.html
vendored
4
resource/template/component/monitor.html
vendored
@@ -44,6 +44,10 @@
|
||||
<div class="menu"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>通知方式组</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" />
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>分组</label>
|
||||
<input type="text" name="Tag">
|
||||
<input type="text" name="Tag" placeholder="default">
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>URL</label>
|
||||
|
||||
2
resource/template/component/rule.html
vendored
2
resource/template/component/rule.html
vendored
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>通知方式组</label>
|
||||
<input type="text" name="NotificationTag">
|
||||
<input type="text" name="NotificationTag" placeholder="default">
|
||||
</div>
|
||||
<div class="field">
|
||||
<div class="ui rule-enable checkbox">
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
<th>名称</th>
|
||||
<th>计划</th>
|
||||
<th>命令</th>
|
||||
<th>成功推送</th>
|
||||
<th>通知方式组</th>
|
||||
<th>成功推送</th>
|
||||
<th>覆盖范围</th>
|
||||
<th>特定服务器</th>
|
||||
<th>最后执行</th>
|
||||
@@ -33,8 +33,8 @@
|
||||
<td>{{$cron.Name}}</td>
|
||||
<td>{{$cron.Scheduler}}</td>
|
||||
<td>{{$cron.Command}}</td>
|
||||
<td>{{$cron.NotificationTag}}</td>
|
||||
<td>{{$cron.PushSuccessful}}</td>
|
||||
<td>{$cron.NotificationTag}</td>
|
||||
<td>{{if eq $cron.Cover 0}}忽略所有{{else}}覆盖所有{{end}}</td>
|
||||
<td>{{$cron.ServersRaw}}</td>
|
||||
<td>{{$cron.LastExecutedAt|tf}}</td>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
<th>特定服务器</th>
|
||||
<th>类型</th>
|
||||
<th>请求间隔</th>
|
||||
<th>通知方式组</th>
|
||||
<th>通知</th>
|
||||
<th>管理</th>
|
||||
</tr>
|
||||
@@ -36,6 +37,7 @@
|
||||
2}} ICMP Ping {{else}} TCP 端口 {{end}}
|
||||
</td>
|
||||
<td>{{$monitor.Duration}}秒</td>
|
||||
<td>{{$monitor.NotificationTag}}</td>
|
||||
<td>{{$monitor.Notify}}</td>
|
||||
<td>
|
||||
<div class="ui mini icon buttons">
|
||||
|
||||
Reference in New Issue
Block a user