Files
ProxyPanel/resources/views/admin/userBanLogList.blade.php
兔姬桑 0e2e5f61dd 2.3 版本 功能添加与优化
加入新支付方式 PayJS ← 未实装,后续版本实装。目前本人还卡在他们的账号注册上面,没法测试代码o(╥﹏╥)o
用户注册等地方添加新字段: 昵称; 用于后续邮件,页面显示;还需要更多优化与应用;
用户头像获取与昵称获取; 前提是用户有填写QQ信息或者注册邮箱为正常的QQ邮箱;
添加 维护模式; 模式开启后,用户界面将自动导到维护界面,管理后台正常运行。哀悼日网站可以添加大厂一样的哀悼维护了 3.1 维护模式定时关闭功能; 3.2 维护模式自定义提示语;
Ping检测与定时记录; 4.1 添加Ping记录界面; 4.2 节点界面添加检测独立Ping按钮; 4.3 针对用户界面添加Ping参考信息;
余额充值自定义功能
部分界面js显示优化
模块化页面;
2020-08-05 03:20:25 +08:00

87 lines
2.7 KiB
PHP

@extends('admin.layouts')
@section('css')
<link href="/assets/global/vendor/bootstrap-table/bootstrap-table.min.css" type="text/css" rel="stylesheet">
@endsection
@section('content')
<div class="page-content container-fluid">
<div class="panel">
<div class="panel-heading">
<h3 class="panel-title">用户封禁记录</h3>
</div>
<div class="panel-body">
<div class="form-row">
<div class="form-group col-lg-3 col-sm-6">
<input type="text" class="form-control" name="email" id="email" value="{{Request::get('email')}}" placeholder="用户名"/>
</div>
<div class="form-group col-lg-2 col-sm-6 btn-group">
<button class="btn btn-primary" onclick="Search()"> </button>
<a href="/admin/userBanLogList" class="btn btn-danger"> </a>
</div>
</div>
<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> 封禁时间</th>
<th> 最后连接时间</th>
</tr>
</thead>
<tbody>
@if($list->isEmpty())
<tr>
<td colspan="6">暂无数据</td>
</tr>
@else
@foreach($list as $vo)
<tr>
<td>
<a href="/admin/userList?email={{$vo->id}}" target="_blank" rel="noopener"> {{$vo->id}}</a>
</td>
<td> {{empty($vo->user) ? '【账号已删除】' : $vo->user->email}} </td>
<td> {{$vo->minutes}}分钟</td>
<td> {{$vo->desc}} </td>
<td> {{$vo->created_at}} </td>
<td> {{date("Y-m-d H:i:s", $vo->user->t)}} </td>
</tr>
@endforeach
@endif
</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('script')
<script src="/assets/global/vendor/bootstrap-table/bootstrap-table.min.js" type="text/javascript"></script>
<script src="/assets/global/vendor/bootstrap-table/extensions/mobile/bootstrap-table-mobile.min.js" type="text/javascript"></script>
<script type="text/javascript">
//回车检测
$(document).on("keypress", "input", function (e) {
if (e.which === 13) {
Search();
return false;
}
});
// 搜索
function Search() {
window.location.href = '/admin/userBanLogList?email=' + $("#email").val();
}
</script>
@endsection