widget.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <div class="col-xs-12 col-sm-6 col-lg-12 ct-update">
  2. <div class="panel panel-default">
  3. <div class="panel-heading">
  4. <div class="update pull-right"></div>
  5. <i class="fa fa-cog"></i> 模块列表
  6. </div>
  7. <div class="panel-body">
  8. <div class="col-xs-12">
  9. <div class="builder-table">
  10. <div class="panel panel-default table-responsive">
  11. <table class="table table-bordered table-striped table-hover">
  12. <thead>
  13. <tr>
  14. <th>名称</th>
  15. <th>标题</th>
  16. <th>描述</th>
  17. <th>版本</th>
  18. <th>状态</th>
  19. <th>操作</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <volist name="list" id="vo">
  24. <tr>
  25. <td>{$vo.name}</td>
  26. <td>{$vo.title}</td>
  27. <td>{$vo.description}</td>
  28. <td>{$vo.version}</td>
  29. <td>
  30. <i class="fa <eq name="vo.status" value="1">fa-check text-success<else />fa-ban text-danger</eq>"></i>
  31. </td>
  32. <td>
  33. <a class="label label-info" href="{:addons_url('ModelConfigEditor://ModelConfigEditor/menus', ['id'=>$addon_id, 'module_id'=>$vo['id']])}">编辑菜单</a>
  34. </td>
  35. </tr>
  36. </volist>
  37. </tbody>
  38. </table>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>