@extends('main')

@section('css')
<link href="{{ asset('/css/bootstrapValidator.min.css')}}" rel="stylesheet">
<link href="{{ asset('plugins/datatables/css/jquery.dataTables.css')}}" rel="stylesheet">
@endsection

@section('content')
<section class="main_content">
    <div class="container">
    <ol class="breadcrumb cust-breadcrumb">
              <li><a href="{{url('/')}}">Home</a></li>
              <li><a href="{{url('connectionview')}}">Connections</a></li>
              <li class="active">View Message</li>
            </ol>
              <div class="row">
               <div class="clearfix"></div>
              @if (Session::get('error_msg'))
                <div class="col-md-12">
                  <div class="alert alert-danger">
                     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                       <span aria-hidden="true">&times;</span>
                     </button>
                      {{Session::get('error_msg')}}
                  </div>
                </div>
              @endif
              @if (Session::get('succ_msg'))
                <div class="col-md-12">
                  <div class="alert alert-success">
                     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                       <span aria-hidden="true">&times;</span>
                     </button>
                      {{Session::get('succ_msg')}}
                  </div>
                </div>  
              @endif
            </div>
      <div class="row talent_home">
        @include("left_menu")
        <div class="col-md-9 col-sm-8">
         <div class="rt-panel-block">  
           <div class="my-profiles-block"> 
          <h1 class="heading pull-left">I would like to Connect</h1>
                     
           
           <div class="row">
           
            <div class="col-md-12">
              <div class="panel panel-default">
                <div class="panel-heading blue-panel">{{ucwords($msg_details->name)}}</div>
                <div class="panel-body" style="max-height: 550px; overflow-y: scroll;">
                  <?php echo nl2br($msg_details->message);?>
                  <div class="clearfix"></div>
                  <div class="pull-right"><?php echo date('h:i a  M d, Y',strtotime($msg_details->created_at));?></div>
                </div>
              </div>
            </div>
          </div>  
          
          <p>&nbsp;</p> 
          </div>
          </div>
        </div>
        
<!-- Profile  Image Modal -->
      </div>
    </div>
<!-- Reply Message Modal -->
        
    
  </section>
@endsection
@section('js')
<script src="{{ asset('js/bootstrapValidator.min.js')}}"></script>
<script src="{{ asset('js/bootbox.js')}}"></script>
<script src="{{ asset('plugins/datatables/js/jquery.dataTables.js')}}"></script>
<script src="{{ asset('js/typeahead_0.11.js')}}"></script>
<script src="{{ asset('js/handlebars.js')}}"></script>
<script src="{{ asset('js/validation.js')}}"></script>
<script src="{{ asset('js/messages_js.js')}}"></script>
@endsection
