blob: a04495139d869da795b5b638d22429d1b58dc796 [file] [log] [blame]
<!--
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="container-fluid" id="viewruleContent" style="overflow:auto;">
<div class="row">
<h5 class="over-title margin-bottom-15">Basic information</h5>
</div><!--//row-->
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div id="viewrule-definition" class="viewrule-content">
<div class="row">
<label class="col-md-4 col-lg-4 col-sm-4">
Measure Name:
</label>
<div class="col-md-8 col-lg-8 col-sm-8 " style="color: #fff">
{{basic.name}}
</div>
</div>
<div class="row">
<label class="col-md-4 col-lg-4 col-sm-4">
Measure Description:
</label>
<div class="col-md-8 col-lg-8 col-sm-8 " style="color: #fff">
{{basic.desc}}
</div>
</div>
<div class="row">
<label class="col-md-4 col-lg-4 col-sm-4">
Measure Type:
</label>
<div class="col-md-8 col-lg-8 col-sm-8 " style="color: #fff">
{{basic.type|strmap:ruleTypes}}
</div>
</div>
<div class="row">
<label for="systemSelector" class="col-md-4 col-lg-4 col-sm-4">
Organization:
</label>
<div class="col-md-8 col-lg-8 col-sm-8 " style="color: #fff">
{{basic.system}}
</div>
</div>
<div class="row">
<label class="col-md-4 col-lg-4 col-sm-4">
DataAsset:
</label>
<div class="col-md-8 col-lg-8 col-sm-8" style="color: #fff" >{{dataAsset}}
</div>
</div>
<div class="row">
<label class="col-md-4 col-lg-4 col-sm-4">
Owner:
</label>
<div class="col-md-8 col-lg-8 col-sm-8" style="color: #fff">
{{basic.owner}}
</div>
</div>
</div>
</div>
</div><!--//row-->
<br/>
<h5 class="row">Mapping rules</h5>
<div class="row">
<p>{{rules}}</p>
<p>
<label style="color:#B2C831">Accuracy Calculation Formula as Below:</label>
</p>
<div class="col-md-12 col-lg-12 col-sm-12" style="color:#fff;font-size:16px;display: flex;align-items: center">
<div class="" style="text-align:right;display:block;float:left;width:20%;">
Accuracy Rate(%) =
</div>
<div class="" style="text-align:center;display:block;float:left;margin:0 10px 0 10px">
<div class="formula-text-up" style="border-bottom:1px solid;">
Total Count of Matched records between <span class="badge">{{form.data.mappings.length}}</span><span style="color:green;">{{currentNodeTarget.name}}</span> and <span class="badge">{{form.data.mappings.length}}</span> <span style="color:green;">{{currentNode.name}}</span> fields
</div>
<div class="">
Total Count of records in <span style="color:green;font-weight:bold;">{{currentNode.parent[0].dbName}}.{{currentNodeTarget.name}}</span>
</div>
</div>
<div class="" style="text-align:left;display:block;float:left;width:10%;">
x 100%
</div>
</div>
</div>
</div>