重新初始化

This commit is contained in:
2020-02-17 20:47:06 +08:00
parent 5c320206fb
commit 58d999ed73
4016 changed files with 1271 additions and 302396 deletions

View File

@@ -1,30 +0,0 @@
{extend name="admin/base"/}
{block name="body"}
<div class="main-box no-header clearfix">
<header class="box-header with-border">
<!-- 标题栏 -->
<h3 class="box-title">{$meta_title|default='新功能'}</h3>
<div class="pull-right">
</div>
</header>
<div class="box-body">
<table class="table table-striped">
<thead>
<tr>
<th align="right">名称</th>
<th>信息</th>
</tr>
</thead>
<tbody>
{volist name="info" id="item"}
<tr>
<td align="right">{$key}</td>
<td>{$item}</td>
</tr>
{/volist}
</tbody>
</table>
</div>
</div>
{/block}

View File

@@ -1,65 +0,0 @@
{extend name="admin/base"/}
{block name="body"}
<div class="main-box no-header clearfix">
<header class="box-header with-border">
<!-- 标题栏 -->
<h3 class="box-title">{$meta_title|default='新功能'}</h3>
<div class="pull-right">
<a class="btn btn-primary" id="action_add" href="{:url('add')}">新 增</a>
<button class="btn btn-success ajax-post" target-form="ids" url="{:url('setstatus?status=1')}" >启 用</button>
<button class="btn btn-default ajax-post" target-form="ids" url="{:url('setstatus?status=0')}">禁 用</button>
<button class="btn btn-danger ajax-post confirm" target-form="ids" url="{:url('del')}">删 除</button>
</div>
</header>
<div class="box-body">
<!-- 数据列表 -->
<table class="table table-striped">
<thead>
<tr>
<th class="row-selected row-selected">
<input class="check-all" type="checkbox"/>
</th>
<th class="">编号</th>
<th class="">标识</th>
<th class="">名称</th>
<th class="">类型</th>
<th class="">规则</th>
<th class="">状态</th>
<th class="">操作</th>
</tr>
</thead>
<tbody>
{volist name="list" id="vo"}
<tr>
<td>
<input class="ids" type="checkbox" name="id[]" value="{$vo['id']}" />
</td>
<td>{$vo.id}</td>
<td>{$vo.name}</td>
<td>
<a href="{:url('edit?id='.$vo['id'])}">{$vo.title}</a>
</td>
<td>
<span>{:get_action_type($vo['type'])}</span>
</td>
<td>{$vo.remark}</td>
<td>{$vo.status_text}</td>
<td>
<a href="{:url('edit?id='.$vo['id'])}">编辑</a>
{if $vo['status']}
<a href="{:url('setstatus',array('id'=> $vo['id'],'status'=>0))}" class="ajax-get">禁用</a>
{else/}
<a href="{:url('setstatus',array('id'=> $vo['id'],'status'=>1))}" class="ajax-get">启用</a>
{/if}
<a href="{:url('del' , array('id' => $vo['id']))}" class="confirm ajax-get">删除</a>
</td>
</tr>
{/volist}
</tbody>
</table>
<!-- 分页 -->
{$page|raw}
<!-- /分页 -->
</div>
</div>
{/block}

View File

@@ -1,47 +0,0 @@
{extend name="admin/base"/}
{block name="body"}
<div class="main-box no-header clearfix">
<header class="box-header with-border">
<!-- 标题栏 -->
<h3 class="box-title">{$meta_title|default='新功能'}</h3>
<div class="pull-right">
<a class="btn btn-warning ajax-get confirm" href="{:url('clear')}">清 空</a>
<button class="btn btn-danger ajax-post confirm" target-form="ids" url="{:url('dellog')}">删 除</button>
</div>
</header>
<div class="box-body">
<!-- 数据列表 -->
<table class="table table-striped">
<thead>
<tr>
<th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
<th class="">编号</th>
<th class="">行为名称</th>
<th class="">执行者</th>
<th class="">执行时间</th>
<th class="">操作</th>
</tr>
</thead>
<tbody>
{volist name="list" id="vo"}
<tr>
<td><input class="ids" type="checkbox" name="id[]" value="{$vo['id']}" /></td>
<td>{$vo['id']} </td>
<td>{:get_action($vo['action_id'],'title')}</td>
<td>{:get_nickname($vo['user_id'])}</td>
<td><span>{$vo.create_time|time_format}</span></td>
<td><a href="{:url('detail?id='.$vo['id'])}">详细</a>
<a class="confirm ajax-get" href="{:url('dellog?id='.$vo['id'])}">删除</a>
</td>
</tr>
{/volist}
</tbody>
</table>
<!-- 分页 -->
{$page|raw}
<!-- /分页 -->
</div>
</div>
{/block}