@extends('admin/layouts/default')

{{-- Page title --}}
@section('title')
    Content Access
    @parent
@stop

{{-- page level styles --}}
@section('header_styles')
    <!--page level css -->
	
	@include('admin.user_access.includes.user_access_header')
	
    <!--end of page level css-->
@stop

{{-- Page content --}}
@section('content')
	 <section class="content-header">
        <h1>User Access Request</h1>
        <ol class="breadcrumb">
            <li>
                <a href="{{ route('admin.dashboard') }}">
                    <i class="livicon" data-name="home" data-size="14" data-color="#000"></i>
                    Dashboard
                </a>
            </li>
            <li><a href="#"> Users</a></li>
            <li class="active">User Access Request List</li>
        </ol>
    </section>

	
	<section class="content">
                <div class="row">
                    <div class="col-md-12">
                        @if ($message = Session::get('success'))
                            <div class="alert alert-success alert-dismissable">
                                <button type="button" class="close" data-dismiss="alert">×</button> 
                                <p>{{ $message }}</p>
                            </div>
                        @endif

                        <form action="{{ route('user_access.index') }}" method="Get"  enctype="multipart/form-data">
                            @csrf
                            <div class="form-group">
                                <div class="input-group mb-5">
                                  <input type="text" name="search" autocomplete="off" class="form-control" placeholder="Search for..." value="{{ $search }}">
                                  <input type="hidden" name="section" value="access_request_list">
                                  <span class="input-group-btn">
                                    <button class="btn btn-info" type="submit"><span class="glyphicon glyphicon-search"> Go</span></button>
                                  </span>
                                </div><!-- /input-group -->
                            </div>
                        
                        </form>                           
                        @include('admin.user_access.includes.access_request_new')
                        @include('admin.user_access.includes.access_request_process')
                        @include('admin.user_access.includes.access_request_complete') 
                    </div>
                </div>
                

            </section>

@stop

{{-- page level scripts --}}

	@include('admin.user_access.includes.user_access_footer')

	@section('footer_scripts')
	
@stop
