<div class="content-wrapper">
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1 class="text-navy">
                        <go-back/>
                        <i class="fas fa-lock"></i> Manage ACL Profiles
                    </h1>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a ng-href="{{baseurl}}/dashboard">Home</a></li>
                        <li class="breadcrumb-item active">ACL Profile List</li>
                    </ol>
                </div>
            </div>
        </div><!-- /.container-fluid -->
    </section>
    <section class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-sm-12">
                    <div class="card card-outline card-blue">
                        <div class="card-header">
                            <h3 class="card-title"><label for="selectHero">ACL Profile</label></h3>
                            <div class="card-tools">
                                <div class="btn-group">
                                    <button ng-click="goTo($event,'assignAclProfile')" type="button" class="btn bg-success"><i class="fas fa-plus"></i> <span class="d-none d-lg-inline-block">Assign ACL Profile To Heroes</span></button>
                                    <button ng-click="goTo($event,'aclProfileAdd')" type="button" class="btn bg-indigo"><i class="fas fa-plus"></i> <span class="d-none d-lg-inline-block">Add ACL Profile</span></button>
                                </div>
                            </div>
                        </div>
                        <div class="card-body">
                            <div class="table table-responsive">
                                <table id="aclList" class="table table-bordered table-striped">
                                    <thead>
                                    <tr>
                                        <th>Profile</th>
                                        <th>Status</th>
                                        <th>Actions</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr ng-repeat="acl in aclList">
                                        <td><span class="nowrap">{{acl.profile_name | capitalize}}</span></td>
                                        <td>
                                            <span class="btn {{acl.status==true?'btn-success':'btn-danger'}}">{{acl.status==true?'Active':'Inactive'}}</span>
                                        </td>
                                        <td>
                                            <a class="btn btn-warning" href="/acls/profile/edit/{{acl.id}}"><i class="fa fa-pen"></i> Edit</a>
                                            <button class="btn btn-info" ng-click="aclProfileClone(acl)" ><i class="fa fa-copy"></i> Clone</button>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>
