File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 7474 <tbody >
7575
7676@foreach ($logs as $key => $log )
77- <tr >
77+ <tr data-display = " stack {{{ $key } }} " >
7878 <td class =" text-{{{ $log [' level_class' ]} }}" ><span class =" glyphicon glyphicon-{{{ $log [' level_img' ]} }} -sign" aria-hidden =" true" ></span >   ; {{ $log [' level' ]} } </td >
7979 <td class =" text" >{{ $log [' context' ]} } </td >
8080 <td class =" date" >{{{ $log [' date' ]} }} </td >
110110 <script src =" https://cdn.datatables.net/plug-ins/9dcbecd42ad/integration/bootstrap/3/dataTables.bootstrap.js" ></script >
111111 <script >
112112 $ (document ).ready (function (){
113+ $ (' tr' ).on (' click' , function () {
114+ $ (' #' + $ (this ).data (' display' )).toggle ();
115+ });
113116 $ (' #table-log' ).DataTable ({
114117 " order" : [ 1 , ' desc' ],
115118 " stateSave" : true ,
You can’t perform that action at this time.
0 commit comments