<!--
 * 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="relationship-details">
    <div class="graph-button-group form-group clearfix">
        <div class="btn-group pull-left">
            <span class="pull-left">Graph</span>
            <label class="switch pull-left">
                <input type="checkbox" checked class="switch-input" name="relationshipViewToggle" value="text">
                <span class="switch-slider"></span>
            </label>
            <span class="pull-left">Table</span>
        </div>
        <div class="pull-right" data-id="zoomControl">
            <div class="btn-group pull-right">
                <button type="button" id="zoom_in" class="btn btn-action btn-gray btn-sm lineageZoomButton" title="Zoom In" data-id="refreshBtn"> <i class="fa fa-search-plus"></i></button>
                <button type="button" id="zoom_out" class="btn btn-action btn-gray btn-sm lineageZoomButton" title="Zoom Out" data-id="refreshBtn"> <i class="fa fa-search-minus"></i></button>
            </div>
            <div class="btn-group pull-right" style="padding: 4px 15px;">
                <span class="entity-status active" title="Active Entity"><i class="fa fa-long-arrow-right fa-fw" aria-hidden="true"></i>Active</span>
                <span class="entity-status deleted" title="Deleted Entity"><i class="fa fa-long-arrow-right fa-fw" aria-hidden="true"></i>Deleted</span>
            </div>
        </div>
    </div>
    <div class="white-bg no-padding relationship-box invisible" data-id='relationshipSVG'>
        <div class="fontLoader">
            <i class="fa fa-refresh fa-spin-custom"></i>
        </div>
        <svg width="100%" height="100%" viewBox="0 0 854 330" enable-background="new 0 0 854 330" xml:space="preserve"></svg>
        <div class="box-panel size-lg slide-from-left relationship-node-details">
            <div class="header clearfix">
                <h4><span data-id="typeName"></span></h4>
                <span data-id="box-close" class="btn btn-sm btn-close"><i class="fa fa-close"></i></span>
            </div>
            <div class="body">
                <div class="col-md-12">
                    <input data-id="searchNode" class="form-control form-group" placeholder="Search Entities" />
                    <ul data-id="entityList" class="entity-list"></ul>
                </div>
            </div>
        </div>
    </div>
    <div class="relationship-detail-table">
        <div class="entity-relationship-table-toggle">
            <div class="pretty p-switch p-fill">
                <input type="checkbox" data-id="noValueToggle" />
                <div class="state p-primary">
                    <label>Show Empty Values</label>
                </div>
            </div>
        </div>
        <table class="table table-quickMenu" data-id="relationshipDetailTable">
            <thead>
                <tr>
                    <th>Key</th>
                    <th>Value</th>
                </tr>
            </thead>
            <tbody data-id="relationshipDetailValue">
            </tbody>
        </table>
    </div>
</div>
<div class="no-data" style="display: none;">
    <h4 style="text-align: center;">No Records found!</h4>
</div>