index.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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('slide/index')}">幻灯片列表</a></li>
  7. <li><a href="{:url('slide/add')}">添加幻灯片</a></li>
  8. </ul>
  9. <table class="table table-hover table-bordered margin-top-20">
  10. <thead>
  11. <tr>
  12. <th width="50">ID</th>
  13. <th>幻灯片</th>
  14. <th>备注</th>
  15. <th width="160">{:lang('ACTIONS')}</th>
  16. </tr>
  17. </thead>
  18. <tbody>
  19. <php>
  20. </php>
  21. <foreach name="slides" item="vo">
  22. <tr>
  23. <td>{$vo.id}</td>
  24. <td>{$vo.name}</td>
  25. <td>
  26. {$vo.remark}
  27. </td>
  28. <td>
  29. <a class="btn btn-xs btn-primary" href="{:url('slide/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
  30. <a class="btn btn-xs btn-primary" href="javascript:parent.openIframeLayer('{:url('slideItem/index',array('slide_id'=>$vo['id']))}','管理 {$vo.name} 页面',{});">管理页面</a>
  31. <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('slide/delete',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>
  32. </td>
  33. </tr>
  34. </foreach>
  35. </tbody>
  36. </table>
  37. </div>
  38. <script src="__STATIC__/js/admin.js"></script>
  39. </body>
  40. </html>