index.blade.php 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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-md">角色创建日期</th>
  38. <th class="hidden-md">角色修改日期</th>
  39. <th data-sortable="false">操作</th>
  40. </tr>
  41. </thead>
  42. <tbody>
  43. @foreach ($data as $key => $r)
  44. <tr>
  45. <td>{{$r->name}}</td><td>{{$r->description}}</td><td>{{$r->created_at}}</td><td>{{$r->updated_at}}</td><td></td>
  46. </tr>
  47. @endforeach
  48. </tbody>
  49. </table>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <!-- /.login-box -->
  56. <!-- jQuery 2.2.0 -->
  57. <script src="/plugins/jQuery/jQuery-2.2.0.min.js"></script>
  58. <!-- Bootstrap 3.3.6 -->
  59. <script src="/bootstrap/js/bootstrap.min.js"></script>
  60. <!-- iCheck -->
  61. <script src="/plugins/iCheck/icheck.min.js"></script>
  62. <script>
  63. $(function () {
  64. $('input').iCheck({
  65. checkboxClass: 'icheckbox_square-blue',
  66. radioClass: 'iradio_square-blue',
  67. increaseArea: '20%' // optional
  68. });
  69. });
  70. </script>
  71. </body>
  72. </html>