ProfileColumnLayoutView_tmpl.html 4.24 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<!--
 * 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">
    <div class="">
        <div class="col-sm-3 rowValue">
            <div><span class="graphkey">Rows</span></div>
21 22 23
            <div><span class="graphval">
                    <div class="value-loader"></div>
                </span></div>
24 25 26
        </div>
        <div class="col-sm-3 table_created">
            <div><span class="graphkey">Date Created</span></div>
27 28 29
            <div><span class="graphval">
                    <div class="value-loader"></div>
                </span></div>
30 31 32
        </div>
        <div class="col-sm-6 table_name">
            <div><span class="graphkey">Table</span></div>
33 34 35
            <div><span class="graphval">
                    <div class="value-loader"></div>
                </span></div>
36 37 38
        </div>
    </div>
</div>
39
<hr />
40 41 42 43
<div class="row">
    <h4 class="col-sm-12">{{typeObject.label}}</h4>
</div>
<div class="row">
44
    <a href="javascript:void(0);" data-id="backToYear" style="display: none"><i class="fa fa-chevron-left"></i> Back To Year</a>
45 46 47 48 49 50 51 52 53 54 55 56 57
</div>
</br>
<div class="row">
    <div class="">
        <div class="col-sm-10">
            <svg class="graph" width="100%" height="250px"></svg>
        </div>
        <div class="col-sm-2 profileGraphDetail">
            {{#if profileData}}
            <div class="">
                <div><span class="graphkey">Cardinality</span></div>
                <div title="{{profileData.cardinality}}"><span class="graphval text-right"><b>{{profileData.cardinality}}</b></span></div>
            </div>
58
            <hr />
59 60 61 62
            <div class="">
                <div><span class="graphkey">% NonNull</span></div>
                <div title="{{profileData.nonNullData}}%"><span class="graphval text-right"><b>{{profileData.nonNullData}}%</b></span></div>
            </div>
63
            <hr /> {{#ifCond typeObject.type "==" "string"}}
64 65 66 67
            <div class="">
                <div><span class="graphkey">Average Length</span></div>
                <div title="{{profileData.averageLength}}"><span class="graphval text-right"><b>{{profileData.averageLength}}</b></span></div>
            </div>
68
            <hr />
69 70 71 72
            <div class="">
                <div><span class="graphkey">Max Length</span></div>
                <div title="{{profileData.maxLength}}"><span class="graphval text-right"><b>{{profileData.maxLength}}</b></span></div>
            </div>
73
            <hr /> {{/ifCond}} {{#ifCond typeObject.type "==" "numeric"}}
74 75 76 77
            <div class="">
                <div><span class="graphkey">Min</span></div>
                <div title="{{profileData.minValue}}"><span class="graphval text-right"><b>{{profileData.minValue}}</b></span></div>
            </div>
78
            <hr />
79 80 81 82
            <div class="">
                <div><span class="graphkey">Max</span></div>
                <div title="{{profileData.maxValue}}"><span class="graphval text-right"><b>{{profileData.maxValue}}</b></span></div>
            </div>
83
            <hr />
84 85 86 87
            <div class="">
                <div><span class="graphkey">Mean</span></div>
                <div title="{{profileData.meanValue}}"><span class="graphval text-right"><b>{{profileData.meanValue}}</b></span></div>
            </div>
88
            <hr />
89 90 91 92 93 94 95 96
            <div class="">
                <div><span class="graphkey">Median</span></div>
                <div title="{{profileData.medianValue}}"><span class="graphval text-right"><b>{{profileData.medianValue}}</b></span></div>
            </div>
            {{/ifCond}} {{/if}}
        </div>
    </div>
</div>