<!--
  #%L
  thinkbig-ui-feed-manager
  %%
  Copyright (C) 2017 ThinkBig Analytics
  %%
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
      http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  #L%
  -->
<md-dialog aria-label="Profile Data"  ng-cloak style="width:100%;height:100%;" class="md-dialog-fullscreen-fixed" >


  <div class="md-toolbar-tools" layout="row" layout-align="left">
    <md-dialog-actions layout="row" layout-align="end start" flex class="layout-padding-top" >
      <md-button class="md-raised md-primary" ng-click="cancel($event)">
        Close
      </md-button>
    </md-dialog-actions>
    <h4 class="md-title">
      <span>Feed Profile - {{feed.categoryAndFeedDisplayName}}</span><br>
      <div class="hint">Processed {{processingdate |date:'MM/dd/yyyy hh:mm:ssa'}}</div>
    </h4>
  </div>

        <md-dialog-content layout="column" layout-padding style="width:100%;height:100%;">

            <md-tabs md-dynamic-height md-border-bottom md-selected="selectedTabIndex" >
                <md-tab >
                    <md-tab-label >
                        <div>Profile</div>
                    </md-tab-label>
                    <md-tab-body>
                        <thinkbig-feed-profile-stats ng-if="selectedTabIndex ==0"  processingdttm="processingdttm" rows-per-page="paginationData.rowsPerPage"></thinkbig-feed-profile-stats>

                    </md-tab-body>
                </md-tab>
                <md-tab >
                    <md-tab-label >
                        <div>Valid</div>
                    </md-tab-label>
                    <md-tab-body>
                        <thinkbig-feed-profile-valid ng-if="selectedTabIndex ==1"  processingdttm="processingdttm" rows-per-page="paginationData.rowsPerPage"></thinkbig-feed-profile-valid>

                    </md-tab-body>
                </md-tab>
                <md-tab >
                    <md-tab-label >
                        <div>Invalid</div>
                    </md-tab-label>
                    <md-tab-body>
                      <thinkbig-feed-profile-invalid ng-if="selectedTabIndex ==2"  processingdttm="processingdttm" rows-per-page="paginationData.rowsPerPage"></thinkbig-feed-profile-invalid>

                    </md-tab-body>
                </md-tab>
                </md-tabs>
        </md-dialog-content>

</md-dialog>
