<!--
 * 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="panel panel-default expand_collapse_panel-icon right-icons">
    <div class="panel-heading dash-button-icon clearfix" data-toggle="collapse" aria-expanded="true" href="#c_entity">
        <i class="ec-icon fa"></i>
        <h4 class="panel-title">Entities</h4>
        <div class="btn-group pull-right">
            <!--   <button type="button" class="typeRefresh" data-id="groupOrFlatTreeView" data-type="entity" title="Show flat tree">
                <i class="fa fa-sitemap"></i>
            </button> -->
            <button type="button" class="typeRefresh" data-id="refreshTree" data-type="entity" title="Refresh">
                <i class="fa fa-refresh"></i>
            </button>
            <!-- <ul class="dropdown-menu right-align tree-menu">
                <li class="typeEmptyEntity" data-id="showEmptyServiceType">
                    <i class="fa fa-check-circle"></i> <a>Show Empty</a>
                </li>
            </ul> -->
            <button type="button" class="typeRefresh" data-id="showEmptyServiceType" data-type="entity" title="Show empty service types">
                <i class="fa fa-toggle-off"></i>
            </button>
            <button type="button" class="typeRefresh dropdown">
                <div class=" btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <i class="fa fa-ellipsis-v"></i>
                </div>
                <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                    <li data-id="groupOrFlatTreeView" data-type="entity"> <i class="fa fa-list-ul"></i><span>Show flat tree</span>
                    </li>
                    <!--  <li data-id="showEmptyServiceType" data-type="entity"> <i class="fa fa-toggle-off"></i><span >Show empty service types</span>
                    </li>
                    <li data-id="refreshTree" data-type="entity"><i class="fa fa-refresh"></i><span >Refresh</span>
                    </li> -->
                </ul>
            </button>
        </div>
    </div>
    <div id="c_entity" class="panel-collapse collapse jstree-with-action in">
        <div class="entityTree" data-id="entitySearchTree"></div>
    </div>
</div>