@extends('layouts.app')
@section('title')日志详情{{$log['id']}}@endsection

@section('content')
    <div id="nav2">
        @component('maintenance.menu')@endcomponent
        @component('maintenance.log.menu')
            <li class="nav-item">
                <a class="nav-link active" href="{{URL::current()}}" >显示</a>
            </li>
        @endcomponent
    </div>
    <div class="container-fluid">
        <div class="card ">
            <div class="card-body">
                <table class="table table-striped">
                    <tr>
                        <td>ID</td>
                        <td>{{$log['id']}}</td>
                    </tr>
                    <tr>
                        <td>操作</td>
                        <td>{{$log['operation']}}</td>
                    </tr>
                    <tr>
                        <td>类型</td>
                        <td>{{$log['type']}}</td>
                    </tr>
                    <tr>
                        <td>IP</td>
                        <td>{{$log['ip']}}</td>
                    </tr>
                    <tr>
                        <td>详细</td>
                        <td style="word-break: break-all;">{{$log['description']}}</td>
                    </tr>
                    <tr>
                        <td>用户</td>
                        <td>{{$log['user_name']}}</td>
                    </tr>
                    <tr>
                        <td>时间</td>
                        <td>{{$log['created_at']}}</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
@endsection
