GlossaryDetailLayoutView_tmpl.html 4.53 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<!--
 * 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="page-title clearfix">
    <div class="fontLoader">
        <i class="fa fa-refresh fa-spin-custom"></i>
    </div>
    <div data-id="details" class="clearfix form-horizontal col-sm-12">
        <h1 class="row title"><span data-id="title"></span></h1>
        <button type="button" data-id="editButton" class="btn btn-sm btn-action pull-right"><i class="fa fa-pencil"></i></button>
        <div class="form-group clearfix">
            <span class="pull-left text-muted">Short Description:&nbsp;</span>
            <div class="pull-left">
                <p data-id="shortDescription"></p>
            </div>
        </div>
        <div class="form-group clearfix">
            <span class="pull-left text-muted">Long Description:&nbsp;</span>
            <div class="pull-left">
                <p data-id="longDescription"></p>
            </div>
        </div>
        {{#if isTermView}}
37 38
        <div class="form-group clearfix">
            <span class="control-label-sm-pr pull-left">Classifications:</span>
39 40
            <div class="pull-left" data-id="tagListTerm">
                <button class="btn btn-action btn-sm" title="Add Classification" data-id="addTagTerm">
41 42 43 44
                    <i class="fa fa-plus"> </i>
                </button>
            </div>
        </div>
45 46 47 48 49 50 51 52 53 54
        <div class="form-group clearfix">
            <span class="control-label-sm-pr pull-left">Categories:</span>
            <div class="pull-left" data-id="categoryList">
                <button class="btn btn-action btn-sm" title="Add Category" data-id="addCategory">
                    <i class="fa fa-plus"> </i>
                </button>
            </div>
        </div>
        {{/if}} {{#if isCategoryView}}
        <div class="form-group clearfix">
55
            <span class="control-label-sm-pr pull-left">Terms:</span>
56 57 58 59 60 61
            <div class="pull-left" data-id="termList">
                <button class="btn btn-action btn-sm" title="Add Term" data-id="addTerm">
                    <i class="fa fa-plus"> </i>
                </button>
            </div>
        </div>
62 63 64 65 66 67
        {{/if}} {{#if isTermView}}
        <div class="row">
            <div class="col-sm-12 default-tab">
                <ul class="nav nav-tabs" data-id="tab-list">
                    <li role="entities" class="tab active"><a href="#tab-entities" aria-controls="tab-entities" role="tab" data-toggle="tab">Entities</a></li>
                    <li role="classification"><a href="#tab-tagTable" aria-controls="tab-tagTable" role="tab" data-toggle="tab">Classifications</a></li>
68
                    <li role="relatedTerm"><a href="#tab-relatedTerm" aria-controls="tab-relatedTerm" role="tab" data-toggle="tab">Related Terms</a></li>
69 70 71
                </ul>
            </div>
        </div>
72 73 74
        {{/if}}
    </div>
</div>
75
<div class="container-fluid">
76 77 78
    {{#if isTermView}}
    <div class="tab-content">
        <div id="tab-entities" role="entities" class="tab-pane active animated fadeIn">
79
            <div id="r_searchResultLayoutView">
80 81 82 83 84 85 86 87
                <div class="fontLoader-relative">
                    <i class="fa fa-refresh fa-spin-custom"></i>
                </div>
            </div>
        </div>
        <div id="tab-tagTable" role="classification" class="tab-pane animated fadeIn">
            <div id="r_tagTableLayoutView">
                <div class="fontLoader-relative">
88 89 90 91
                    <i class="fa fa-refresh fa-spin-custom"></i>
                </div>
            </div>
        </div>
92
        <div id="tab-relatedTerm" role="relatedTerm" class="tab-pane animated fadeIn">
93 94 95 96 97 98
            <div id="r_relationLayoutView">
                <div class="fontLoader-relative">
                    <i class="fa fa-refresh fa-spin-custom"></i>
                </div>
            </div>
        </div>
99
    </div>
100
    {{/if}}
101
</div>