You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
3.2 KiB
91 lines
3.2 KiB
{template nheader.html}
|
|
<div class="page-bar">
|
|
<ul class="page-breadcrumb mylink">
|
|
{$menu.link}
|
|
|
|
</ul>
|
|
<ul class="page-breadcrumb myname">
|
|
{$menu.name}
|
|
</ul>
|
|
<div class="page-toolbar">
|
|
<div class="btn-group pull-right">
|
|
<button type="button" class="btn green btn-sm btn-outline dropdown-toggle" data-toggle="dropdown" aria-expanded="false" data-hover="dropdown"> {fc_lang('操作菜单')}
|
|
<i class="fa fa-angle-down"></i>
|
|
</button>
|
|
<ul class="dropdown-menu pull-right" role="menu">
|
|
{loop $menu.quick $t}
|
|
<li>
|
|
<a href="{$t.url}">{$t.icon} {$t.name}</a>
|
|
</li>
|
|
{/loop}
|
|
<li class="divider"> </li>
|
|
<li>
|
|
<a href="javascript:window.location.reload();">
|
|
<i class="icon-refresh"></i> {fc_lang('刷新页面')}</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="mytopsearch">
|
|
<form method="post" action="" name="searchform" id="searchform">
|
|
<input name="search" id="search" type="hidden" value="1" />
|
|
<label>{fc_lang('类型')}:</label>
|
|
<label><select class="form-control" name="data[type]">
|
|
<option value="0"> --- </option>
|
|
{loop $type $i $t}
|
|
<option value="{$i}" {if $i==$param.type} selected{/if}>{$t}</option>
|
|
{/loop}
|
|
</select></label>
|
|
<label><button type="submit" class="btn green btn-sm" name="submit" > <i class="fa fa-search"></i> {fc_lang('搜索')}</button></label>
|
|
</form>
|
|
</div>
|
|
<form action="" method="post" name="myform" id="myform">
|
|
<input name="action" id="action" type="hidden" value="del" />
|
|
<div class="portlet mylistbody">
|
|
<div class="portlet-body">
|
|
<div class="table-scrollable">
|
|
|
|
<table class="mytable table table-striped table-bordered table-hover table-checkable dataTable">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th width="33"></th>
|
|
<th>{fc_lang('类型')}</th>
|
|
<th>{fc_lang('入队时间')}</th>
|
|
<th>{fc_lang('最近执行')}</th>
|
|
<th>{fc_lang('状态')}</th>
|
|
<th class="dr_option">{fc_lang('操作')}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{loop $list $t}
|
|
<tr>
|
|
<td align="right"><input name="ids[]" class="dr_select toggle md-check" type="checkbox" value="{$t.id}" /></td>
|
|
<td>{$type[$t.type]}</td>
|
|
<td>{dr_date($t.inputtime, NULL, 'red')}</td>
|
|
<td>{dr_date($t.updatetime, NULL, 'red')}</td>
|
|
<td>{if $t.status}<span class="label label-sm label-success">{fc_lang('失败%s次', $t.status)}</span>{else}<span class="label label-sm label-danger">{fc_lang('等待执行')}</span>{/if}</td>
|
|
<td class="dr_option">
|
|
<a class="ago" href="javascript:;" onclick="dr_dialog_show('{fc_lang('查看参数')}', '{dr_url('cron/show', array('id'=>$t.id))}')">{fc_lang('查看参数')}</a>
|
|
<a class="aedit" href="{dr_url('cron/execute', array('id'=>$t.id))}" onclick="dr_tips('执行中..', 9999, 2)">{fc_lang('手动执行')}</a>
|
|
{if $t.error}({$t.error}){/if}
|
|
</td>
|
|
</tr>
|
|
{/loop}
|
|
<tr class="mtable_bottom">
|
|
<td align="right" ><input class=" toggle md-check" name="dr_select" id="dr_select" type="checkbox" onClick="dr_selected()" /></td>
|
|
<td colspan="99" >
|
|
<button type="submit" class="btn red btn-sm" name="submit"> {fc_lang('删除')}</button>
|
|
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<div id="pages"><a>{fc_lang('共%s条', $total)}</a>{$pages}</div>
|
|
{template footer.html}
|