改进 用户切换逻辑
This commit is contained in:
parent
9c99a97462
commit
bd885d182d
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<h3>{{ $user->name }}</h3>
|
<h3>{{ $user->name }}</h3>
|
||||||
|
<a href="{{ route('admin.users.show', $user) }}">切换到 {{ $user->name }}</a>
|
||||||
|
|
||||||
|
|
||||||
<p>余额: {{ $user->balance }} 元, {{ $drops }} Drops</p>
|
<p>余额: {{ $user->balance }} 元, {{ $drops }} Drops</p>
|
||||||
@ -13,6 +14,8 @@
|
|||||||
<p>邮箱: {{ $user->email }}</p>
|
<p>邮箱: {{ $user->email }}</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{-- hosts --}}
|
{{-- hosts --}}
|
||||||
<h3>主机列表</h3>
|
<h3>主机列表</h3>
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
@ -108,7 +111,7 @@
|
|||||||
{{ $balances->links() }}
|
{{ $balances->links() }}
|
||||||
|
|
||||||
|
|
||||||
{{-- transactions_page--}}
|
{{-- transactions_page--}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
@foreach ($users as $user)
|
@foreach ($users as $user)
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ route('admin.users.show', $user) }}">
|
<a href="{{ route('admin.users.edit', $user) }}">
|
||||||
{{ $user->name }}
|
{{ $user->name }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user