添加新接口

This commit is contained in:
tangshuangpku@hotmail.com 2016-06-07 19:35:00 +08:00
parent bf5059ba95
commit 3f454d5351
1 changed files with 5 additions and 1 deletions

View File

@ -125,7 +125,11 @@
<label style="display: none"><input type="checkbox" checked name="groups" value="none" style="display: none"></label>
<label><input type="checkbox" name="groups" value="all">all&nbsp;&nbsp;</label>
{% for group_name in groups %}
<label><input type="checkbox" name="groups" value="{{ group_name }}">{{ group_name }}&nbsp;&nbsp;</label>
{% if group_name in notify['groups'] %}
<label><input type="checkbox" checked name="groups" value="{{ group_name }}">{{ group_name }}&nbsp;&nbsp;</label>
{% else %}
<label><input type="checkbox" name="groups" value="{{ group_name }}">{{ group_name }}&nbsp;&nbsp;</label>
{% endif %}
{% endfor %}
</div>
</div>