后台UI完善,体验优化

前端用户中心功能初始化
This commit is contained in:
2020-04-09 17:03:56 +08:00
parent 9810b08993
commit e1d3af1941
55 changed files with 780 additions and 3233 deletions

View File

@@ -5,7 +5,7 @@
<h3 class="box-title">{$meta_title}</h3>
<div class="box-tools pull-right">
<a class="btn btn-danger" href="{:url('/admin/form/addattr',array('form_id'=>$form_id))}"><i class="fa fa-plus"></i> 新 增</a>
<!-- <button class="btn btn-danger ajax-post confirm" url="{:url('del')}" target-form="ids"><i class="fa fa-remove"></i> 删 除</button> -->
<!-- <button class="btn btn-danger ajax-post confirm" url="{:url('del')}" data-form="ids"><i class="fa fa-remove"></i> 删 除</button> -->
<a class="btn btn-warning" href="{:url('/admin/form/index')}"><i class="fa fa-reply"></i> 返回</a>
</div>
</div>

View File

@@ -1,60 +0,0 @@
{extend name="admin/public/base"/}
{block name="body"}
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">{$meta_title}</h3>
<div class="box-tools pull-right">
</div>
</div>
<div class="box-body">
<div class="table-responsive clearfix">
<table class="table table-hover table-bordered">
<tr>
<th width="120" style="text-align: right;">姓名</th>
<td>{$info['name']}</td>
<th width="120" style="text-align: right;">性别</th>
<td>{if $info['sex'] == 0}保密{elseif $info['sex'] == 1}男{elseif $info['sex'] == 2}女{/if}</td>
<th width="120" style="text-align: right;">出生年月</th>
<td>{$info['birthday']|date='Y-m-d',###}</td>
</tr>
<tr>
<th width="120" style="text-align: right;">从事行业</th>
<td>{$info['industry']}</td>
<th width="120" style="text-align: right;">所在单位</th>
<td colspan="3">{$info['company']}</td>
</tr>
<tr>
<th width="120" style="text-align: right;">单位职务</th>
<td>{$info['duties']}</td>
<th width="120" style="text-align: right;">入学年份</th>
<td>{$info['en_year']}</td>
<th width="120" style="text-align: right;">所学专业</th>
<td>{$info['major']}</td>
</tr>
<tr>
<th width="120" style="text-align: right;">联系电话</th>
<td>{$info['mobile']}</td>
<th width="120" style="text-align: right;">QQ</th>
<td>{$info['qq']}</td>
<th width="120" style="text-align: right;">微信</th>
<td>{$info['wechat']}</td>
</tr>
<tr>
<th width="120" style="text-align: right;">个人简历</th>
<td colspan="5">
{$info['profile']}
</td>
</tr>
<tr>
<td colspan="6">
说明:个人简历中,您可以添加任何您愿意提供的信息,例如您可以为校友提供何种帮助,有何特长,获得的主要荣誉,是否参加其他社团组织等等。
</td>
</tr>
</table>
</div>
</div>
</div>
{/block}
{block name="script"}
{/block}

View File

@@ -8,7 +8,7 @@
<h3 class="box-title">{$meta_title}</h3>
<div class="box-tools pull-right">
<a class="btn btn-sm btn-primary" href="{:url('/admin/form/add')}">新 增</a>
<button class="btn btn-sm btn-danger ajax-post confirm" url="{:url('/admin/form/del')}" target-form="ids">删 除</button>
<button class="btn btn-sm btn-danger ajax-post confirm" url="{:url('/admin/form/del')}" data-form="ids">删 除</button>
</div>
</div>
<div class="box-body">

View File

@@ -1,60 +0,0 @@
{extend name="admin/public/base"/}
{block name="body"}
<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-primary" href="{:url('admin/form/outxls?form_id='.$form_id)}" target="_blank">导出</a>
</div>
</div>
<div class="box-body">
<div class="table-responsive clearfix">
<table class="table table-hover">
<thead>
<tr>
<th><input class="checkbox check-all" type="checkbox"></th>
<th>姓名</th>
<th>性别</th>
<th>生日</th>
<th>从事行业</th>
<th>所在单位</th>
<th>职务</th>
<th>入学年份</th>
<th>所学专业</th>
<th>电话</th>
<th>QQ</th>
<th>微信</th>
<th>操作</th>
</tr>
</thead>
<tbody>
{volist name="list" id="item"}
<tr>
<td><input class="ids row-selected" type="checkbox" name="id[]" value="{$item['id']}"></td>
<td>{$item['name']}</td>
<td>{if $item['sex'] == 0}保密{elseif $item['sex'] == 1}男{elseif $item['sex'] == 2}女{/if}</td>
<td>{$item['birthday']|date='Y-m-d',###}</td>
<td>{$item['industry']}</td>
<td>{$item['company']}</td>
<td>{$item['duties']}</td>
<td>{$item['en_year']}</td>
<td>{$item['major']}</td>
<td>{$item['mobile']}</td>
<td>{$item['qq']}</td>
<td>{$item['wechat']}</td>
<td>
<a href="{:url('detail',array('id'=>$item['id'], 'form_id'=>$form_id))}">详情</a>
<a href="{:url('deldata',array('id'=>$item['id'], 'form_id'=>$form_id))}" class="confirm ajax-get">删除</a>
</td>
</tr>
{/volist}
</tbody>
</table>
{$page|raw}
</div>
</div>
</div>
{/block}
{block name="script"}
{/block}