<div class="clr-row">
  <div class="clr-col-lg-12 clr-col-md-12 clr-col-sm-12 clr-col-xs-12">
    <div class="clr-row flex-items-xs-between flex-items-xs-top" style="padding-left: 15px; padding-right: 15px;">
      <h2 class="header-title">{{'HPA_ADMIN.HPA_TEMPLATE_LIST' | translate}}</h2>
    </div>
    <div class="clr-row flex-items-xs-between" style="height:32px;">
      <div class="option-left">
        <button class="btn btn-link" (click)="openModal()"><clr-icon shape="add"></clr-icon>{{'HPA_ADMIN.CREATE_HPA_TEMPLATE' | translate}}</button>
        <wayne-create-edit-autoscaletpl (create)="createResourceTemplate($event)"></wayne-create-edit-autoscaletpl>
      </div>
    </div>
    <wayne-list-autoscaletpl [templates]="templates" (delete)="deleteResourceTemplate($event)" (edit)="editResourceTemplate($event)" (paginate)="retrieve($event)" [page]="pageState.page"></wayne-list-autoscaletpl>
  </div>
</div>
