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:
Kris
2022-04-29 04:52:26 +02:00
parent 4dad15150c
commit 0e9dfc0c7e
16 changed files with 351 additions and 159 deletions

View File

@@ -1,32 +1,32 @@
{{define "component/rule"}}
<div class="ui tiny rule modal transition hidden">
<div class="header">添加通知规则</div>
<div class="header">{{tr "AddNotificationRule"}}</div>
<div class="content">
<form id="ruleForm" class="ui form">
<input type="hidden" name="ID">
<div class="field">
<label>名称</label>
<label>{{tr "Name"}}</label>
<input type="text" name="Name">
</div>
<div class="secret field">
<label>规则</label>
<label>{{tr "Rules"}}</label>
<textarea name="RulesRaw"></textarea>
</div>
<div class="field">
<label>通知方式组</label>
<label>{{tr "NotificationMethod"}}</label>
<input type="text" name="NotificationTag" placeholder="default">
</div>
<div class="field">
<div class="ui rule-enable checkbox">
<input name="Enable" type="checkbox" tabindex="0" class="hidden">
<label>启用</label>
<label>{{tr "Enable"}}</label>
</div>
</div>
</form>
</div>
<div class="actions">
<div class="ui negative button">取消</div>
<button class="ui positive nezha-primary-btn right labeled icon button">确认<i class="checkmark icon"></i>
<div class="ui negative button">{{tr "Cancel"}}</div>
<button class="ui positive nezha-primary-btn right labeled icon button">{{tr "Confirm"}}<i class="checkmark icon"></i>
</button>
</div>
</div>