trainer.html
2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<include file="public@header" />
<style type="text/css">
.pagination{display:inline-block;padding-left:0;border-radius:4px;margin-left: 30%}
.pagination li{display:inline}
.pagination li a,.pagination li span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;color:#393D49;background:#fff;margin:0 0 0 8px;border:1px solid #eee}
.pagination li a:hover{color:#fff;background:#1E9FFF}
.pagination .active span{background:#1E9FFF;color:#fff}
</style>
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="{:url('index')}">列表管理</a></li>
<li><a href="{:url('add')}">添加</a></li>
</ul>
<form class="well form-inline margin-top-20" method="post" action="{:url('trainer')}">
教练手机号:
<input type="text" class="form-control" name="mobile" style="width: 200px;"
value="{$keyword|default=''}" placeholder="请输入手机号...">
教练姓名:
<input type="text" class="form-control" name="name" style="width: 200px;"
value="{$keyword|default=''}" placeholder="请输入姓名...">
<input type="submit" class="btn btn-primary" value="搜索"/>
<a class="btn btn-danger" href="{:url('index')}">清空</a>
</form>
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="50">ID</th>
<th>预约ID</th>
<th>教练名</th>
<th>评论的学员</th>
<th>类型</th>
<th>留言内容</th>
<th>修改时间</th>
<th width="180">操作</th>
</tr>
</thead>
<tbody>
<foreach name="list" id="vo">
<tr>
<td>{$vo.id}</td>
<td>{$vo.yuyue_id}</td>
<td>{$vo.teach_id|id_name}</td>
<td>{$vo.uid|id_name}</td>
<td>{$vo.type|comment_type}</td>
<td>{$vo.comment}</td>
<td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
<td>
<!--<a href='{:url("edit", ["id" => "$vo[id]"]) }' >编辑</a>-->
<a class="js-ajax-delete" href='{:url("del_trainer", ["id" => "$vo[id]"]) }' >删除</a>
</td>
</tr>
</foreach>
</tbody>
</table>
</div>
<div class="pagination">
{$page}
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>