fix search of users & players on admin page
This commit is contained in:
parent
eb8f33ef8f
commit
713e87ce00
@ -19,8 +19,8 @@
|
|||||||
<form method="get" action="" class="user-search-form">
|
<form method="get" action="" class="user-search-form">
|
||||||
<input type="text" name="q" class="form-control user-search-input" placeholder="输入,回车搜索。" value="{{ $q }}">
|
<input type="text" name="q" class="form-control user-search-input" placeholder="输入,回车搜索。" value="{{ $q }}">
|
||||||
<select name="filter" class="form-control pull-right user-search-input">
|
<select name="filter" class="form-control pull-right user-search-input">
|
||||||
<option value='player_name' selected="{{ $filter == 'email' ? 'selected' : '' }}">搜索角色名</option>
|
|
||||||
<option value='uid' selected="{{ $filter == 'nickname' ? 'selected' : '' }}">根据角色拥有者搜索</option>
|
<option value='uid' selected="{{ $filter == 'nickname' ? 'selected' : '' }}">根据角色拥有者搜索</option>
|
||||||
|
<option value='player_name' selected="{{ $filter == 'email' ? 'selected' : '' }}">搜索角色名</option>
|
||||||
</select>
|
</select>
|
||||||
</form>
|
</form>
|
||||||
</h1>
|
</h1>
|
||||||
@ -147,6 +147,16 @@
|
|||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
@section('style')
|
||||||
|
<style>
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.content-header > h1 > small {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@endsection
|
||||||
|
|
||||||
@section('script')
|
@section('script')
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
<form method="get" action="" class="user-search-form">
|
<form method="get" action="" class="user-search-form">
|
||||||
<input type="text" name="q" class="form-control user-search-input" placeholder="输入,回车搜索。" value="{{ $q }}">
|
<input type="text" name="q" class="form-control user-search-input" placeholder="输入,回车搜索。" value="{{ $q }}">
|
||||||
<select name="filter" class="form-control pull-right user-search-input">
|
<select name="filter" class="form-control pull-right user-search-input">
|
||||||
<option value='email' {{ $filter == 'email' ? 'selected="selected"' : '' }}>搜索邮箱</option>
|
|
||||||
<option value='nickname' {{ $filter == 'nickname' ? 'selected="selected"' : '' }}>搜索昵称</option>
|
<option value='nickname' {{ $filter == 'nickname' ? 'selected="selected"' : '' }}>搜索昵称</option>
|
||||||
|
<option value='email' {{ $filter == 'email' ? 'selected="selected"' : '' }}>搜索邮箱</option>
|
||||||
</select>
|
</select>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
@ -184,6 +184,16 @@
|
|||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
@section('style')
|
||||||
|
<style>
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.content-header > h1 > small {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@endsection
|
||||||
|
|
||||||
@section('script')
|
@section('script')
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user