SearchResultLayoutView_tmpl.html 6.82 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<!--
 * 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.
-->
17
<div class="position-relative">
18 19
    <div class="tableOverlay"></div>
    <!-- Not for table Loader its only for initial loading -->
20
    <div class="fontLoader" style="z-index:999">
21
        <i class="fa fa-refresh fa-spin-custom"></i>
22
    </div>
23
    <div class="ellipsis-with-margin" style="display: none;"><span class="searchResult" style=" font-size: 16px;"></span>
24
    </div>
25
    <div class="searchTable">
26 27 28 29 30 31 32 33 34 35 36 37 38
        <div class="row no-data" style="display: none;">
            <div class="position-relative thick-border">
                <div style="padding-top: 20px; " class="table-responsive tableBorder">
                    <table class="table table-hover backgrid table-quickMenu">
                        <tbody>
                            <tr class="empty">
                                <td colspan="16"><span>No Records found!</span></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
39
        <div class="{{#unless isGlossaryView}}row well{{/unless}}" style="padding-top: 0px;">
40
            <div class="row form-group pagination-box filter-box" style="display: none;">
41
                <div class="col-sm-3">
42 43
                    <span class="labelShowRecord pull-left" data-id="pageRecordText"> </span>
                </div>
44 45 46 47
                <div class="col-sm-9 inline-content-fr no-padding-left">
                    <div class="inline">
                        <a href="javascript:void(0)" class=" multiSelectTag assignTag btn btn-action btn-sm" style="display:none" title="Assign Classification" data-id="addAssignTag"><i class="fa fa-plus"></i>&nbsp;Classification</a>
                    </div>
48 49
                    <div class="inline" data-id="colManager"></div>
                    <div class="inline" data-id="containerCheckBox" style="display: none;">
50
                        <label class="checkbox-inline btn" for="historicalentities">
51
                            <input type="checkbox" data-id="checkDeletedEntity" data-value="includeDE" id="historicalentities" />
52 53
                            <b>Show historical entities</b></label>
                    </div>
54
                    <div class="inline" data-id="containerCheckBox" style="display: none;">
55
                        <label class="checkbox-inline btn" for="subclassifications">
56
                            <input type="checkbox" data-id="checkSubClassification" data-value="excludeSC" id="subclassifications" />
57
                            <b>Exclude sub-classifications</b></label>
58
                    </div>
59
                    {{#ifCond fromView '!==' "classification"}}
60
                    <div class="inline" data-id="containerCheckBox" style="display: none;">
61
                        <label class="checkbox-inline btn" for="subtypes">
62
                            <input type="checkbox" data-id="checkSubType" data-value="excludeST" id="subtypes" />
63
                            <b>Exclude sub-types</b></label>
64
                    </div>
65
                    {{/ifCond}}
66 67 68
                </div>
            </div>
            <div id="r_searchResultTableLayoutView">
69 70
                {{#if isSearchTab}}<h1><b>{{searchType}}</b></h1>{{/if}}
                {{#if entityCreate}}
71 72 73 74 75 76 77 78
                <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">
79
                <div class="col-sm-offset-4 col-sm-8">
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
                    <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>
98
                        <div class="inline col-sm-4" data-id="paginationDiv">
99 100 101
                            <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">
102
                                    <button class="btn btn-default" type="button" data-id="gotoPagebtn" title="Goto Page" disabled="disabled">Go!</button>
103 104 105 106
                                </span>
                            </div>
                        </div>
                        <div class="inline">
107
                            <div class="inline-content">
108 109 110 111 112 113 114 115 116
                                <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>
117
            </div>
118
        </div>
119
    </div>
120
</div>
121 122 123
<div class="text-center" data-id="columnEmptyInfo" style="display: none;">
    <h4>Please select one/more column to see the data</h4>
</div>