k_text.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.keywords}{$Think.lang.k_value}</h3>
  7. </div>
  8. <a href="javascript:dsLayerOpen('{:url('Wechat/text_form')}','{$Think.lang.ds_add}{$Think.lang.keywords}')" class="btn btn-small" style="float: right">{$Think.lang.ds_add}{$Think.lang.keywords}</a>
  9. </div>
  10. </div>
  11. <table class="ds-default-table">
  12. <thead>
  13. <tr>
  14. <th style="width: 30%">{$Think.lang.keywords}</th>
  15. <th style="width: 60%">{$Think.lang.k_value}</th>
  16. <th style="width: 10%">{$Think.lang.ds_handle}</th>
  17. </tr>
  18. </thead>
  19. {notempty name="lists"}
  20. <tbody>
  21. {foreach name="lists" item="list"}
  22. <tr>
  23. <td>{$list.keyword}</td>
  24. <td>{$list.text}</td>
  25. <td>
  26. <a href="javascript:dsLayerOpen('{:url('Wechat/text_form',['id'=>$list.id])}','{$Think.lang.ds_edit}-{$list.keyword}')" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_edit}</a>
  27. <a href="javascript:dsLayerConfirm('{:url('Wechat/del_text',['id'=>$list.id])}','{$Think.lang.ds_ensure_del}')" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  28. </td>
  29. </tr>
  30. {/foreach}
  31. </tbody>
  32. {else /}
  33. <tbody>
  34. <tr class="no_data">
  35. <td colspan="20">{$Think.lang.no_record}</td>
  36. </tr>
  37. </tbody>
  38. {/notempty}
  39. </table>
  40. {$show_page|raw}
  41. </div>