Files
ProxyPanel/resources/views/admin/user/oauth.blade.php
2021-07-09 11:12:13 +08:00

55 lines
2.1 KiB
PHP

@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