<!--
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
-->
<div class="position-relative">
    <div class="tableOverlay"></div>
    <!-- Not for table Loader its only for initial loading -->
    <div class="fontLoader" style="z-index:999">
        <i class="fa fa-refresh fa-spin-custom"></i>
    </div>
    <div class="ellipsis" style="display: none;"><span class="searchResult" style=" font-size: 16px;"></span>
    </div>
    <div class="searchTable">
        <div class="row well" style="padding-top: 0px;">
            <div class="row form-group pagination-box filter-box" style="display: none;">
                <div class="col-sm-4">
                    <span class="labelShowRecord pull-left" data-id="pageRecordText"> </span>
                </div>
                <div class="col-sm-8 inline-content-fr no-padding-left">
                    <div class="inline" data-id="colManager"></div>
                    <div class="inline" data-id="containerCheckBox" style="display: none;">
                        <label class="checkbox-inline btn" for="historicalentities">
                            <input type="checkbox" data-id="checkDeletedEntity" data-value="includeDE" id="historicalentities" />
                            <b>Show historical entities</b></label>
                    </div>
                    <div class="inline" data-id="containerCheckBox" style="display: none;">
                        <label class="checkbox-inline btn" for="subclassifications">
                            <input type="checkbox" data-id="checkSubClassification" data-value="excludeSC" id="subclassifications" />
                            <b>Exclude sub-classifications</b></label>
                    </div>
                    {{#ifCond fromView '!==' "classification"}}
                    <div class="inline" data-id="containerCheckBox" style="display: none;">
                        <label class="checkbox-inline btn" for="subtypes">
                            <input type="checkbox" data-id="checkSubType" data-value="excludeST" id="subtypes" />
                            <b>Exclude sub-types</b></label>
                    </div>
                    {{/ifCond}}
                    <div class="inline">
                        <a href="javascript:void(0)" class=" multiSelectTag assignTag btn btn-action btn-sm" style="display:none" data-id="addAssignTag"><i class="fa fa-plus"></i> Assign Tag</a>
                    </div>
                </div>
            </div>
            <div id="r_searchResultTableLayoutView">
                {{#if isSearchTab}}<h1><b>{{searchType}}</b></h1>{{/if}}
                {{#if entityCreate}}
                <div class="entityLink" style="display:none">
                    <p class="entityLink">Search Atlas for existing entities or
                        <a href="javascript:void(0)" data-id='createEntity'> create new entity </a>
                    </p>
                </div>
                {{/if}}
            </div>
            <div class="row pagination-box" style="display: none">
                <div class="col-sm-offset-4 col-sm-8">
                    <div class="inline-content-fr">
                        <div class="backgrid-paginator inline">
                            <ul class="" data-id="paginationDiv" style="display:none">
                                <li>
                                    <button type="button" data-id="previousData" title="Previous" disabled=true>
                                        <i class="fa fa-angle-left" aria-hidden="true"></i>
                                    </button>
                                </li>
                                <li class="active">
                                    <a href="javascript:void(0)" data-id="activePage"></a>
                                </li>
                                <li>
                                    <button type="button" data-id="nextData" title="Next">
                                        <i class="fa fa-angle-right" aria-hidden="true"></i>
                                    </button>
                                </li>
                            </ul>
                        </div>
                        <div class="inline col-sm-4" data-id="paginationDiv">
                            <div class="input-group" data-id="goToPageDiv">
                                <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="Goto Page" />
                                <span class="input-group-btn">
                                    <button class="btn btn-default" type="button" data-id="gotoPagebtn" title="Goto Page" disabled="disabled">Go!</button>
                                </span>
                            </div>
                        </div>
                        <div class="inline">
                            <div class="inline-content">
                                <span class="control-label-sm inline ">Page Limit :</span>
                                <div class="inline" style="width: 80px;">
                                    <select data-id="showPage" multiple="multiple" class="form-control">
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="text-center" data-id="columnEmptyInfo" style="display: none;">
    <h4>Please select one/more column to see the data</h4>
</div>