SearchLayoutView_tmpl.html 2.36 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!--
 * 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="row row-margin-bottom">
18
    {{#if entityCreate}}
19 20 21
    <div class="col-sm-12">
        <button class="btn btn-atlasAction btn-atlas pull-left" data-id="createEntity"><i class="fa fa-plus"></i> Create Entity</button>
    </div>
22
    {{/if}}
23 24
    <div class="col-sm-12" style="margin:15px 0px;">
        <div class="row">
25
            <div class="col-md-6">
26 27
                <span class="pull-left">Text</span>
                <label class="switch pull-left">
28 29 30
                    <input type="checkbox" class="switch-input" name="queryType" value="text" />
                    <span class="switch-slider"></span>
                </label>
31 32
                <span class="pull-left">DSL</span>
            </div>
33
            <div class="col-md-6">
34
                <button type="button" class="btn btn-atlasAction btn-atlas pull-right typeLOV" title="Refresh" data-id="refreshBtn"><i class="fa fa-refresh"></i></button>
35
            </div>
36
        </div>
37 38 39
    </div>
    <div class="col-sm-12">
        <div class="form-group">
40 41
            <div class="typeLOV">
                <select data-id="typeLOV"></select>
42
            </div>
43
            <div class="searchInputClick">
44
                <input type="text" class="form-control" data-id="searchInput" placeholder="Search using a query string: e.g. sales_fact" style="margin-top: 5px;">
45
            </div>
46
        </div>
47
        <div class="clearAdvanceSearch" data-id="clearSearch">Clear</div>
48
        <button type="button" class="btn btn-atlas advanceSearchBtn" data-id="searchBtn" disabled="disabled">Search</button>
49
    </div>
50
    <div id="searchResult"></div>