detail_auth.html 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <div class="ibox-title">
  7. <h5>详情</h5>
  8. <div class="ibox-tools">
  9. <a class="toback" href="{:url('auth')}">
  10. 返回上一页
  11. </a>
  12. </div>
  13. </div>
  14. <div class="ibox-content">
  15. <table class="table table-bordered">
  16. <tr>
  17. <th>设备名称</th>
  18. </tr>
  19. {foreach $list as $k=>$v}
  20. <tr>
  21. <td>{$v.dev_name}({$v.snaddr})</td>
  22. </tr>
  23. {/foreach}
  24. </table>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. {/block}
  30. {block name="script"}
  31. <script>
  32. $(document).ready(function(){
  33. formSetValue("enable", {$info.enable|default=1});
  34. });
  35. </script>
  36. {/block}