FEATURE: add action log in bootstrap
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
@extends('admin.layoutWithNavigation')
|
||||
|
||||
@section('pageHeading', @trans('admin/actionLog.overview'))
|
||||
|
||||
@section('content')
|
||||
@if (!empty($actions))
|
||||
<ul class="timeline">
|
||||
<?php $odd = false; ?>
|
||||
|
||||
@foreach($actions as $action)
|
||||
<li @if($odd) class="timeline-inverted" @endif>
|
||||
<?php $odd = !$odd;?>
|
||||
<div class="timeline-badge big" style="background: url('{{\App\Helpers\Gravatar::img($action->email, 40)}}') no-repeat center center" data-toggle="tooltip" data-placement="top" title="{{$action->user_name}} {{$action->email}}"></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h5 class="timeline-title">{{$action->name}} <small class="text-muted">
|
||||
@date($action->created_at)
|
||||
</small></h5>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>{!! $action->value !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@else
|
||||
<div class="alert alert-info">
|
||||
<em>@lang('admin/userManagement.noActions')</em>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row text-center">
|
||||
{!! $actions->render() !!}
|
||||
</div>
|
||||
@stop
|
||||
Reference in New Issue
Block a user