完善用户中心内容模块
This commit is contained in:
@@ -3,12 +3,15 @@
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{$meta_title}</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<a class="btn btn-sm btn-primary" href="{:url('/user/'.$model_name.'/add')}">新 增</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<form method="get">
|
||||
<div class="col-sm-12 col-md-4 col-lg-3">
|
||||
<input type="text" class="form-control" name="keyword" value="{$keyword|default=''}" placeholder="请输入关键字">
|
||||
<input type="text" class="form-control" name="keyword" value="{$param['keyword']|default=''}" placeholder="请输入关键字">
|
||||
</div>
|
||||
{if isset($cate_list)}
|
||||
<div class="col-sm-12 col-md-4 col-lg-3">
|
||||
@@ -56,8 +59,8 @@
|
||||
{/if}
|
||||
{/volist}
|
||||
<td>
|
||||
<a href="{:url('/admin/'.$model_name.'/edit', ['id'=>$item['id']])}" >编辑</a>
|
||||
<a href="{:url('/admin/'.$model_name.'/del', ['id'=>$item['id']])}" class="ajax-get confirm">删除</a>
|
||||
<a href="{:url('/user/'.$model_name.'/edit', ['id'=>$item['id']])}" >编辑</a>
|
||||
<a href="{:url('/user/'.$model_name.'/del', ['id'=>$item['id']])}" class="ajax-get confirm">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/volist}
|
||||
|
||||
Reference in New Issue
Block a user