2020-12-19 09:14:36 -05:00
|
|
|
{{define "component/rule"}}
|
2020-12-19 10:11:16 -05:00
|
|
|
<div class="ui tiny rule modal transition hidden">
|
2020-12-19 09:14:36 -05:00
|
|
|
<div class="header">添加通知规则</div>
|
|
|
|
<div class="content">
|
2020-12-19 10:11:16 -05:00
|
|
|
<form id="ruleForm" class="ui form">
|
2020-12-19 09:14:36 -05:00
|
|
|
<input type="hidden" name="ID">
|
|
|
|
<div class="field">
|
2021-01-29 22:22:59 -05:00
|
|
|
<label>名称</label>
|
2020-12-19 09:14:36 -05:00
|
|
|
<input type="text" name="Name">
|
|
|
|
</div>
|
|
|
|
<div class="secret field">
|
|
|
|
<label>规则</label>
|
2020-12-19 10:11:16 -05:00
|
|
|
<textarea name="RulesRaw"></textarea>
|
2020-12-19 09:14:36 -05:00
|
|
|
</div>
|
2022-04-14 15:13:53 -04:00
|
|
|
<div class="field">
|
|
|
|
<label>通知方式组</label>
|
2022-04-14 22:56:04 -04:00
|
|
|
<input type="text" name="NotificationTag" placeholder="default">
|
2022-04-14 15:13:53 -04:00
|
|
|
</div>
|
2020-12-19 09:14:36 -05:00
|
|
|
<div class="field">
|
2020-12-19 10:11:16 -05:00
|
|
|
<div class="ui rule-enable checkbox">
|
|
|
|
<input name="Enable" type="checkbox" tabindex="0" class="hidden">
|
2020-12-19 09:14:36 -05:00
|
|
|
<label>启用</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="actions">
|
|
|
|
<div class="ui negative button">取消</div>
|
2021-08-05 23:48:34 -04:00
|
|
|
<button class="ui positive nezha-primary-btn right labeled icon button">确认<i class="checkmark icon"></i>
|
2020-12-19 09:14:36 -05:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|