install.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li><a href="{:url('theme/index')}">所有模板</a></li>
  7. <li class="active">
  8. <a>安装模板</a>
  9. </li>
  10. <li>
  11. <a href="http://www.thinkcmf.com/faq.html?url=https://www.kancloud.cn/thinkcmf/faq/493511"
  12. target="_blank">安装说明 <i class="fa fa-question-circle"></i></a>
  13. </li>
  14. </ul>
  15. <form method="post" class="js-ajax-form margin-top-20">
  16. <php> $status=array("1"=>lang('DISPLAY'),"0"=>lang('HIDDEN'));</php>
  17. <table class="table table-hover table-bordered table-list">
  18. <thead>
  19. <tr>
  20. <th>模板</th>
  21. <th>模板名称</th>
  22. <th>版本号</th>
  23. <th>作者</th>
  24. <th>模板描述</th>
  25. <th width="120">{:lang('ACTIONS')}</th>
  26. </tr>
  27. </thead>
  28. <tbody>
  29. <foreach name="themes" item="vo">
  30. <tr>
  31. <td>{$vo.theme}</td>
  32. <td>{$vo.name}</td>
  33. <td>{$vo.version}</td>
  34. <td>{$vo.author}</td>
  35. <td>{$vo.description}</td>
  36. <td>
  37. <a href="{:url('theme/installTheme',array('theme'=>$vo['theme']))}" class="btn btn-xs btn-primary js-ajax-dialog-btn js-ajax-dialog-btn">安装</a>
  38. </td>
  39. </tr>
  40. </foreach>
  41. </tbody>
  42. <tfoot>
  43. <tr>
  44. <th>模板</th>
  45. <th>模板名称</th>
  46. <th>版本号</th>
  47. <th>作者</th>
  48. <th>模板描述</th>
  49. <th width="120">{:lang('ACTIONS')}</th>
  50. </tr>
  51. </tfoot>
  52. </table>
  53. </form>
  54. </div>
  55. <script src="__STATIC__/js/admin.js"></script>
  56. </body>
  57. </html>