1+ @extends (' admin.layouts' )
2+
3+ @section (' css' )
4+ <link href =" /assets/global/plugins/datatables/datatables.min.css" rel =" stylesheet" type =" text/css" />
5+ <link href =" /assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel =" stylesheet" type =" text/css" />
6+ @endsection
7+ @section (' title' , ' 控制面板' )
8+ @section (' content' )
9+ <!-- BEGIN CONTENT BODY -->
10+ <div class =" page-content" >
11+ <!-- BEGIN PAGE BREADCRUMB -->
12+ <ul class =" page-breadcrumb breadcrumb" >
13+ <li >
14+ <a href =" {{ url (' admin/articleList' )} }" >文章管理</a >
15+ <i class =" fa fa-circle" ></i >
16+ </li >
17+ <li >
18+ <a href =" {{ url (' admin/articleLogList' )} }" >文章日志列表</a >
19+ <i class =" fa fa-circle" ></i >
20+ </li >
21+ </ul >
22+ <!-- END PAGE BREADCRUMB -->
23+ <!-- BEGIN PAGE BASE CONTENT -->
24+ <div class =" row" >
25+ <div class =" col-md-12" >
26+ <!-- BEGIN EXAMPLE TABLE PORTLET-->
27+ <div class =" portlet light bordered" >
28+ <div class =" portlet-title" >
29+ <div class =" caption font-dark" >
30+ <i class =" icon-docs font-dark" ></i >
31+ <span class =" caption-subject bold uppercase" > 文章日志列表 </span >
32+ </div >
33+ <div class =" actions" >
34+ <div class =" btn-group" >
35+
36+ </div >
37+ </div >
38+ </div >
39+ <div class =" portlet-body" >
40+ <div class =" table-scrollable" >
41+ <table class =" table table-striped table-bordered table-hover table-checkable order-column" id =" sample_1" >
42+ <thead >
43+ <tr >
44+ <th > ID </th >
45+ <th > 文章ID </th >
46+ <th > 坐标 </th >
47+ <th > IP </th >
48+ <th > 头部信息 </th >
49+ <th > 状态 </th >
50+ <th > 访问时间 </th >
51+ </tr >
52+ </thead >
53+ <tbody >
54+ @if ($articleLogList -> isEmpty () )
55+ <tr >
56+ <td colspan =" 7" >暂无数据</td >
57+ </tr >
58+ @else
59+ @foreach ($articleLogList as $articleLog )
60+ <tr class =" odd gradeX" >
61+ <td > {{ $articleLog -> id } } </td >
62+ <td > <a href =" {{ url (' article?id=' . $articleLog -> aid )} }" target =" _blank" > {{ $articleLog -> aid } } </a > </td >
63+ <td > {{ $articleLog -> lat } } ,{{ $articleLog -> lng } } </td >
64+ <td > {{ $articleLog -> ip } } </td >
65+ <td > {{ $articleLog -> headers } } </td >
66+ <td >
67+ @if ($articleLog -> status )
68+ <span class =" label label-default" >已查看</span >
69+ @else
70+ <span class =" label label-info" >未查看</span >
71+ @endif
72+ </td >
73+ <td > {{ $articleLog -> created_at } } </td >
74+ </tr >
75+ @endforeach
76+ @endif
77+ </tbody >
78+ </table >
79+ </div >
80+ <div class =" row" >
81+ <div class =" col-md-4 col-sm-4" >
82+ <div class =" dataTables_info" role =" status" aria-live =" polite" >共 {{ $articleLogList -> total ()} } 条日志</div >
83+ </div >
84+ <div class =" col-md-8 col-sm-8" >
85+ <div class =" dataTables_paginate paging_bootstrap_full_number pull-right" >
86+ {{ $articleLogList -> links () } }
87+ </div >
88+ </div >
89+ </div >
90+ </div >
91+ </div >
92+ <!-- END EXAMPLE TABLE PORTLET-->
93+ </div >
94+ </div >
95+ <!-- END PAGE BASE CONTENT -->
96+ </div >
97+ <!-- END CONTENT BODY -->
98+ @endsection
99+ @section (' script' )
100+ <script src =" /assets/global/plugins/bootbox/bootbox.min.js" type =" text/javascript" ></script >
101+ <script src =" /js/layer/layer.js" type =" text/javascript" ></script >
102+
103+ <script type =" text/javascript" >
104+ //
105+ </script >
106+ @endsection
0 commit comments