Update index.html

This commit is contained in:
Anyon 2019-11-12 10:55:26 +08:00
parent 0cb2795545
commit 3fd2f992a2

View File

@ -3,15 +3,15 @@
{block name="button"}
{if auth("remove")}
<button data-action='{:url("remove")}' data-confirm="确定要批量删除任务吗?" data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>批量删除任务</button>
<button data-action='{:url("remove")}' data-confirm="确定要批量删除任务吗?" data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>批量删除</button>
{/if}
{if auth("start") && $iswin}
<button data-load='{:url("start")}' class='layui-btn layui-btn-sm layui-btn-primary'>创建监听进程</button>
<button data-load='{:url("start")}' class='layui-btn layui-btn-sm layui-btn-primary'>创建监听</button>
{/if}
{if auth("stop") && $iswin}
<button data-load='{:url("stop")}' class='layui-btn layui-btn-sm layui-btn-primary'>停止监听进程</button>
<button data-load='{:url("stop")}' class='layui-btn layui-btn-sm layui-btn-primary'>停止监听</button>
{/if}
{/block}