index.blade.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>权限 | Yunshop</title>
  7. <!-- Tell the browser to be responsive to screen width -->
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <!-- Bootstrap 3.3.6 -->
  10. <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
  11. <!-- Font Awesome -->
  12. <link rel="stylesheet" href="/libs/font-awesome/4.5.0/css/font-awesome.min.css">
  13. <!-- Ionicons -->
  14. <link rel="stylesheet" href="/libs/ionicons/2.0.1/css/ionicons.min.css">
  15. <!-- Theme style -->
  16. <link rel="stylesheet" href="/dist/css/AdminLTE.min.css">
  17. <!-- iCheck -->
  18. <link rel="stylesheet" href="/plugins/iCheck/square/blue.css">
  19. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  20. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  21. <!--[if lt IE 9]>
  22. <script src="/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
  23. <script src="/libs/respond/1.4.2/respond.min.js"></script>
  24. <![endif]-->
  25. </head>
  26. <body class="hold-transition login-page">
  27. <div class="main animsition">
  28. <div class="row">
  29. <div class="col-xs-12">
  30. <div class="box">
  31. <div class="box-body">
  32. <table id="tags-table" class="table table-bordered table-hover">
  33. <thead>
  34. <tr>
  35. <th class="hidden-sm">权限规则</th>
  36. <th class="hidden-sm">权限名称</th>
  37. <th class="hidden-sm">权限概述</th>
  38. <th class="hidden-md">权限创建日期</th>
  39. <th class="hidden-md">权限修改日期</th>
  40. <th data-sortable="false">操作</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. @foreach ($data as $key => $p)
  45. <tr>
  46. <td>{{$p->name}}</td><td>{{$p->label}}</td><td>{{$p->description}}</td><td>{{$p->created_at}}</td><td>{{$p->updated_at}}</td><td></td>
  47. </tr>
  48. @endforeach
  49. </tbody>
  50. </table>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <!-- /.login-box -->
  57. <!-- jQuery 2.2.0 -->
  58. <script src="/plugins/jQuery/jQuery-2.2.0.min.js"></script>
  59. <!-- Bootstrap 3.3.6 -->
  60. <script src="/bootstrap/js/bootstrap.min.js"></script>
  61. <!-- iCheck -->
  62. <script src="/plugins/iCheck/icheck.min.js"></script>
  63. <script>
  64. $(function () {
  65. $('input').iCheck({
  66. checkboxClass: 'icheckbox_square-blue',
  67. radioClass: 'iradio_square-blue',
  68. increaseArea: '20%' // optional
  69. });
  70. });
  71. </script>
  72. </body>
  73. </html>