<div class="modal-header">{{header}}
</div>
<div class="modal-grid">
    <div class="modal-columns">
        <div class="modal-right well-sm">
            <div class="row">
                <div class="col-md-12">
                    <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-pagination ui-grid-selection
                         adjust-table-height="config.data.length" ui-grid-auto-resize class="grid">
                        <div ng-if="config.data.length < 1" style="text-align: center;">
                            {{onNoDataMessage}}
                        </div>
                        <div ng-if="config.data.length < 1">
                            &nbsp;
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <div class="well-sm">
        <div class="row">
            <div class="well-sm">
                <div class="pull-right">
                    <div class="btn-group">
                        <button type="button" class="btn btn-secondary btn-sm" ng-click="onClickCancel()">
                            <span translate>common.duplicates.btnCancel</span>
                        </button>
                        <button type="button" ng-disabled="selectedRows.length < 1" class="btn btn-primary" ng-click="deleteFile(selectedRows)">
                            <span translate>common.duplicates.btnDelete</span>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

