<section class="heading b-b">
  <div class="row no-gutter">
    <div class="col-xs-2 col-sm-2 col-md-1">
      <section class="heading-btn">
        <a href="#" ng-click="backPrevLocation($event)"><i class="fas fa-long-arrow-alt-left "></i></a>
      </section>
    </div>
    <div class="col-xs-8 col-sm-8 col-md-8 b-l">
      <section class="heading-title">
        <h1 translate>{{ 'app.admin.members.users_management' }}</h1>
      </section>
    </div>
    <div class="col-xs-1 col-xs-offset-1 col-md-offset-2 b-l">
      <section class="heading-actions wrapper" ng-show="isAuthorized('admin')">
        <a role="button" class="btn btn-default b-2x rounded m-t-sm import-members" ui-sref="app.admin.members_import">
          <i class="fa fa-cloud-upload"></i>
        </a>
      </section>
    </div>

  </div>
</section>

<section class="m-lg members-management"
         ui-tour="members"
         ui-tour-backdrop="true"
         ui-tour-template-url="'/shared/tour-step-template.html'"
         ui-tour-use-hotkeys="true"
         ui-tour-scroll-parent-id="content-main"
         post-render="setupMembersTour">
  <div class="row">
    <div class="col-md-12">
      <uib-tabset justified="true" active="tabs.active" ng-if="isAuthorized('admin')">

        <uib-tab heading="{{ 'app.admin.members.users' | translate }}" index="0">
          <ng-include src="'/admin/members/users.html'"></ng-include>
        </uib-tab>

        <uib-tab heading="{{ 'app.admin.members.groups' | translate }}" class="groups-tab" index="1">
          <div ui-view="groups"></div>
        </uib-tab>

        <uib-tab heading="{{ 'app.admin.members.tags' | translate }}" class="labels-tab" index="2">
          <div ui-view="tags"></div>
        </uib-tab>

        <uib-tab heading="{{ 'app.admin.members.authentication' | translate }}" class="sso-tab" index="3">
          <div ui-view="authentification"></div>
        </uib-tab>
      </uib-tabset>

      <div ng-if="isAuthorized('manager')">
        <ng-include src="'/admin/members/users.html'"></ng-include>
      </div>
    </div>
  </div>
</section>
