@extends('admin.layouts.master')

@section('styles')
@stop

@section('title') Administrators @stop

@section('metas')
@stop

@section('content')
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>Administrators <a href="{{ route('administrator.add') }}" class="btn btn-success btn-xs margin-l-10 margin-t-n-5">Add New Administrator</a></h1>
          <ol class="breadcrumb">
            <li><a href="{{ route('dashboard') }}"><i class="fa fa-dashboard"></i> Home</a></li>
            <li class="active">Administrators</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <!-- right column -->
            <div class="col-md-12">
              <!-- Horizontal Form -->
              <div class="box">
                <div class="box-body">
                  <table id="administrator" data-ajax-url="{{ route('ajax.get.administrators') }}" class="table table-bordered table-striped table-responsive">
                      <thead>
                          <tr>
                              <th>ID</th>
                              <th>Username</th>
                              <th>E-Mail</th>
                              <th>Status</th>
                              <th class="text-center">Options</th>
                          </tr>
                      </thead>
                  </table>
                </div>
                <!-- /.box-body -->

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

            </div><!--/.col (right) -->
          </div>   <!-- /.row -->
        </section><!-- /.content -->
@stop

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