You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.0 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. @extends('admin.layouts.app')
  2. @section('title', '系统配置参数')
  3. @section('content')
  4. <h2 class="sub-header">系统配置参数</h2>[ <a href="/fladmin/sysconfig/add">添加参数</a> ] [ <a href="<?php echo route('admin_index_upconfig'); ?>">更新配置缓存</a> ]<br><br>
  5. <form name="listarc"><div class="table-responsive"><table class="table table-striped table-hover">
  6. <thead><tr>
  7. <th>编号</th>
  8. <th>参数说明</th>
  9. <th>参数值</th>
  10. <th>变量名</th>
  11. <th>管理</th>
  12. </tr></thead>
  13. <tbody>
  14. <?php foreach($posts as $row){ ?><tr>
  15. <td><?php echo $row->id; ?></td>
  16. <td><?php echo $row->info; ?></td>
  17. <td><?php echo mb_strcut($row->value,0,80,'utf-8'); ?></td>
  18. <td><?php echo $row->varname; ?></td>
  19. <td><a href="/fladmin/sysconfig/edit?id=<?php echo $row->id; ?>">修改</a> | <a onclick="delconfirm('/fladmin/sysconfig/del?id=<?php echo $row->id; ?>')" href="javascript:;">删除</a></td>
  20. </tr><?php } ?>
  21. </tbody></table></div><!-- 表格结束 --></form><!-- 表单结束 -->
  22. <nav aria-label="Page navigation">{{ $posts->links() }}</nav>
  23. @endsection