update: 前端增加通知方式组相关选项

This commit is contained in:
Akkia
2022-04-15 10:56:04 +08:00
parent ab033f3b2e
commit 548d25c9a6
7 changed files with 18 additions and 8 deletions

View File

@@ -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>

View File

@@ -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" />

View File

@@ -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>

View File

@@ -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">

View File

@@ -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>

View File

@@ -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">