@extends('admin.layouts.master')

@section('title') Contact Messages @stop

@section('content')

    <section class="content-header">
        <h1>
            Contact Messages
            <small>preview of messages</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="{{ route('dashboard') }}"><i class="fa fa-dashboard"></i> Home</a></li>
            <li class="active">Contact Messages</li>
        </ol>
    </section>
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <div class="box">
                    <div class="box-body">
                        <div class="row">
                            <div class="col-sm-12">
                                <table id="contacts" data-ajax-url="{{ route('ajax.get.contacts') }}" class="table table-bordered table-striped" cellspacing="0" width="100%">
                                    <thead>
                                    <tr>
                                        <th>#ID</th>
                                        <th>Name</th>
                                        <th>Subject</th>
                                        <th>IP Address</th>
                                        <th>Created Time</th>
                                        <th>Status</th>
                                        <th width="100">Options</th>
                                    </tr>
                                    </thead>
                                </table>
                            </div>
                        </div>
                    </div><!-- /.box-body -->

                </div><!-- /.box -->
            </div>
        </div>
    </section>

@stop
@section('scripts')
    <script type="text/javascript" src="{{ asset('admin-assets/dist/js/contact.js') }}"></script>
@stop