You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.5 KiB
HTML
67 lines
1.5 KiB
HTML
2 years ago
|
<extend name="Public/base" />
|
||
|
|
||
|
<block name="body">
|
||
|
<!-- 标题栏 -->
|
||
|
|
||
|
<div class="cf main-place top_nav_list navtab_list">
|
||
|
<h3 class="page_title">钩子列表</h3>
|
||
|
<p class="description_text"></p>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="cf top_nav_list">
|
||
|
<div class="fl button_list">
|
||
|
<?php if (IS_ROOT): ?>
|
||
|
<a class="" href="{:U('addhook')}"><span class="button_icon button_icon1"></span>新增</a>
|
||
|
<?php endif ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<!-- 数据列表 -->
|
||
|
<div class="data_list">
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>ID</th>
|
||
|
<th>名称</th>
|
||
|
<th>描述</th>
|
||
|
<th>类型</th>
|
||
|
<th>操作</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<empty name="list" >
|
||
|
<tr>
|
||
|
<td colspan="5" class="text-center">aOh! 暂时还没有内容!</td>
|
||
|
</tr>
|
||
|
<else />
|
||
|
<volist name="list" id="vo">
|
||
|
<tr>
|
||
|
<td>{$vo.id}</td>
|
||
|
<td><a href="{:U('edithook?id='.$vo['id'])}">{$vo.name}</a></td>
|
||
|
<td>{$vo.description}</td>
|
||
|
<td>{$vo.type_text}</td>
|
||
|
<td>
|
||
|
<a title="编辑" href="{:U('edithook?id='.$vo['id'])}">编辑</a>
|
||
|
<a class="confirm ajax-get" title="删除" href="{:U('delhook?id='.$vo['id'])}">删除</a>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</volist>
|
||
|
</empty>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- 分页 -->
|
||
|
<div class="page">
|
||
|
{$_page}
|
||
|
</div>
|
||
|
</block>
|
||
|
|
||
|
<block name="script">
|
||
|
<script type="text/javascript">
|
||
|
highlight_subnav('{:U('Addons/hooks')}');
|
||
|
$(function(){
|
||
|
Think.setValue('row','{:I("row",10)}');
|
||
|
})
|
||
|
</script>
|
||
|
</block>
|