<!--
 * 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_classfication">
        <i class="ec-icon fa"></i>
        <h4 class="panel-title">Classifications</h4>
        <div class="btn-group pull-right">
            <button type="button" class="typeRefresh drop-down-menu-view" data-id="refreshTree" data-type="classification" title="Refresh">
                <i class="fa fa-refresh"></i>
            </button>
            <button type="button" class="typeRefresh drop-down-menu-view" data-id="showEmptyClassifications" title="Hide unused classification">
                <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="classification"> <i class="fa fa-list-ul"></i><span>Show flat tree</span>
                    </li>
                    <li data-id="createTag" data-type="classification"> <i class="fa fa-plus"></i><span>Create Classification</span>
                    </li>
                    <li class="wildcard-search" data-type="classification" data-id="wildCardContainer">
                        <div class="has-feedback align-left-right-icon search-box">
                            <div class="input-group">
                                <input type="text" class="form-control" name="wildcard search" placeholder="Wildcard search" data-id="wildCardValue" />
                                <span class="fa fa-times clear-icon" data-id="clearWildCard"> </span>
                                <div class="input-group-btn">
                                    <span class="btn  btn-md wildcard-btn btn-action" data-id="wildCardSearch" data-original-title="Wildcard Search"><i class="fa fa-search"></i></span>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </button>
        </div>
    </div>
    <div id="c_classfication" class="panel-collapse collapse jstree-with-action in">
        <div data-id="classificationSearchTree"></div>
        <div class="text-center" data-id="classificationTreeLoader">
            <i class="fa fa-refresh fa-spin-custom"></i>
        </div>
    </div>
</div>