@extends('layouts.master')
@section('content')
<style>
img {
    height:auto;
    width: 60px;
object-fit: scale-down;
}
</style>
<div class="content-wrapper">
    <div class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1 class="m-0">Sub-Admin List</h1>
                </div>
                <div class="col-sm-6">
                <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a href="{{ route('dashboard') }}">Home</a></li>
                        <li class="breadcrumb-item active">Sub-Admin</li>
                    </ol>
                </div>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-header">
                            <h3 class="card-title">Sub-Admin</h3>
                            <div class="card-tools">
                                <a href="{{ route('setting.subAdminAdd') }}" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> Add Sub-Admin</a>
                            </div>
                        </div>
                        <div class="card-body">
                            {{ $dataTable->table() }}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@push('scripts')
    {{ $dataTable->scripts() }}
@endpush
@endsection
