index.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a href="{:url('kefu/index')}">客服列表</a></li>
  7. <li><a href="{:url('kefu/add')}">添加客服</a></li>
  8. </ul>
  9. <form method="post" class="js-ajax-form margin-top-20" action="{:url('Kefu/index')}">
  10. <div class="table-actions">
  11. </div>
  12. <php>$status=array("1"=>lang('DISPLAY'),"0"=>lang('HIDDEN'));</php>
  13. <table class="table table-hover table-bordered table-list">
  14. <thead>
  15. <tr>
  16. <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x"
  17. data-checklist="js-check-x"></label></th>
  18. <th width="50">ID</th>
  19. <th width="90">客服名称</th>
  20. <th>客服头像</th>
  21. <th>客服微信</th>
  22. <th>客服描述</th>
  23. <th width="120">{:lang('ACTIONS')}</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. <foreach name="kefu" item="vo">
  28. <tr>
  29. <td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
  30. value="{$vo.id}">
  31. </td>
  32. <td>{$vo.id}</td>
  33. <td>{$vo.name}</td>
  34. <td><img src="/upload/{$vo.head_img}" style="width: 80px;height: 50px;"></img></td>
  35. <td>{$vo.weixin}</td>
  36. <td>{$vo.description}</td>
  37. <td>
  38. <a class="btn btn-xs btn-primary" href="{:url('kefu/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
  39. <a class="btn btn-xs btn-danger" href="{:url('kefu/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">
  40. {:lang('DELETE')}
  41. </a>
  42. </td>
  43. </tr>
  44. </foreach>
  45. </tbody>
  46. </table>
  47. <div class="pagination">{$page}</div>
  48. </form>
  49. </div>
  50. <script src="__STATIC__/js/admin.js"></script>
  51. </body>
  52. </html>