修改后台样式及模板

This commit is contained in:
邹景立 2021-09-07 17:28:44 +08:00
parent a39c1fb728
commit 6a74290e91
4 changed files with 2088 additions and 6 deletions

View File

@ -94,7 +94,7 @@
{field: 'attempts', title: '执行次数', minWidth: 95, align: 'center', sort: true, templet: "<div>{{d.attempts||0}}</div>"},
{field: 'exec_desc', title: '执行结果', minWidth: 180},
{field: 'create_at', title: '创建时间', align: 'center', minWidth: 170},
{toolbar: '#toolbar', title: '操作面板', align: 'center', minWidth: 260, fixed: 'right',}
{toolbar: '#toolbar', title: '操作面板', align: 'center', width: 260, fixed: 'right',}
]]
});
});

View File

@ -1,13 +1,13 @@
<!--{if isset($isSuper) and $isSuper}-->
<fieldset class="margin-bottom-15 shadow-inset">
<legend class="notselect think-bg-gray">服务状态</legend>
<fieldset class="margin-bottom-15">
<legend class="notselect">服务状态</legend>
<div class="layui-code border-0 margin-top-0">
<h4 class="color-desc notselect">后台服务主进程运行状态</h4>
<div data-queue-message>Checking task process running status ...</div>
<script>$('[data-queue-message]').load('{:sysuri("admin/api.queue/status")}')</script>
<h4 class="color-desc margin-top-10 notselect">配置定时任务来检查并启动进程(建议每分钟执行)</h4>
<div>{$command|default='--'}</div>
</div>
<script>$('[data-queue-message]').load('{:url("admin/api.queue/status")}')</script>
</fieldset>
<!--{/if}-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long