@extends('admin.layouts.app')
@section('header-script')
    @include('admin.layouts.forms-header-script')
@endsection

    @section('content')
        <div class="row">
            <div class="col-sm-12">
                <div class="btn-group pull-right m-t-25">
                    <a  href="{{URL::to('admin/teams_create')}}" class="btn btn-custom  waves-effect waves-light"> 
                        Create participants  <span class="m-l-5"><i class="fa fa-plus-square" aria-hidden="true"></i></span>
                    </a>
                </div>
                <h4 class="page-title">Participants List</h4>
                @foreach (['danger', 'warning', 'success', 'info'] as $key)
                    @if(Session::has($key))
                        <p class="alert alert-{{ $key }}"><i class="fa fa-info-circle" style="color: #fe6271;"></i> {{ Session::get($key) }}</p>
                    @endif
                @endforeach
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12">
                <div class="card-box">
                    <div class="row">
                        <table id="datatable" class="table table-striped dt-responsive nowrap">
                            <thead>
                                <tr>
                                    <th>Sl</th>
                                    <th>Name</th>
                                    <th>Images</th>
                                    <th>Designation</th>
                                    <th>Company Name</th>
                                    <th>Profession</th>
                                    <th>Status</th>
                                    <th style="width: 60px;">Action</th>
                                </tr>
                            </thead>

                            <tbody>
                                <tr>
                                    <td>01</td>
                                    <td>Nahid Hassan</td>
                                    <td></td> 
                                    <td>Advisor</td>
                                    <td>Legenda soft</td> 
                                    <td>Software Developer</td>
                                    <th>Pending</th>
                                    <td style="width: 60px;"> 
                                        <a href="{{URL::to('admin/teams_update')}}" class="btn btn-sm  btn-warning"><i class="fa fa-edit"></i></a>
                                        <a href="#" class="btn btn-sm  btn-danger"><i class="fa fa-trash"></i></a>
                                    </td> 
                                </tr>
                                <tr>
                                    <td>02</td>
                                    <td>Nahid Hassan</td>
                                    <td></td> 
                                    <td>Advisor</td>
                                    <td>Legenda soft</td> 
                                    <td>Software Developer</td>
                                    <th>Pending</th>
                                    <td style="width: 60px;"> 
                                        <a href="{{URL::to('admin/teams_update')}}" class="btn btn-sm  btn-warning"><i class="fa fa-edit"></i></a>
                                        <a href="#" class="btn btn-sm  btn-danger"><i class="fa fa-trash"></i></a>
                                    </td> 
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    @endsection

 @section('footer-script')
     @include('admin.layouts.form-elements-footer-script')
 @endsection