| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- @extends('admin.layouts')
- @section('css')
- <link href="/assets/global/vendor/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
- @endsection
- @section('content')
- <div class="page-content container-fluid">
- <div class="panel">
- <div class="panel-heading">
- <h2 class="panel-title">用户OAuth授权</h2>
- </div>
- <div class="panel-body">
- <table class="text-md-center" data-toggle="table" data-mobile-responsive="true">
- <thead class="thead-default">
- <tr>
- <th> #</th>
- <th> 用户</th>
- <th> 渠道</th>
- <th> 唯一标识</th>
- <th> {{trans('common.action')}}</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($list as $item)
- <tr>
- <td> {{$item->id}} </td>
- <td> {{$item->user->username ?? $item->user->id}} </td>
- <td> {{$item->type}} </td>
- <td> {{$item->identifier}} </td>
- <td>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- <div class="panel-footer">
- <div class="row">
- <div class="col-sm-4">
- 共 <code>{{$list->total()}}</code> 个授权
- </div>
- <div class="col-sm-8">
- <nav class="Page navigation float-right">
- {{$list->links()}}
- </nav>
- </div>
- </div>
- </div>
- </div>
- </div>
- @endsection
- @section('javascript')
- <script src="/assets/global/vendor/bootstrap-table/bootstrap-table.min.js"></script>
- <script src="/assets/global/vendor/bootstrap-table/extensions/mobile/bootstrap-table-mobile.min.js"></script>
- @endsection
|