Revision 51118
Added by Myrto Koukouli about 6 years ago
compatibility-validation-results.component.html | ||
---|---|---|
1 |
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid=""> |
|
2 |
<div class="uk-width-1-1@m uk-first-column"> |
|
3 |
|
|
4 |
<h1 class="uk-h2">Validation results for</h1> |
|
5 |
|
|
6 |
<!-- TOP HELP CONTENT --> |
|
7 |
<!-- <help-content #topHelperContent [position]="'top'" |
|
8 |
[ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'"> |
|
9 |
</help-content>--> |
|
10 |
|
|
11 |
<div class="uk-container uk-margin-medium-top uk-margin-medium-bottom"> |
|
12 |
<div class="uk-grid"> |
|
13 |
|
|
14 |
<!-- LEFT HELP CONTENT --> |
|
15 |
<!-- <aside-help-content #leftHelperContent [position]="'left'" |
|
16 |
[ngClass]="leftHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'"> |
|
17 |
</aside-help-content>--> |
|
18 |
|
|
19 |
<!-- MIDDLE --> |
|
20 |
<div class=" uk-width-expand@m"> |
|
21 |
|
|
22 |
<div> |
|
23 |
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div> |
|
24 |
<div *ngIf="loadingMessage" class="loading-big"> |
|
25 |
<div class="loader-big" |
|
26 |
style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;"> |
|
27 |
{{ loadingMessage }} |
|
28 |
</div> |
|
29 |
<div class="whiteFilm"></div> |
|
30 |
</div> |
|
31 |
<div *ngIf="jobSummary"> |
|
32 |
<div> |
|
33 |
<div> |
|
34 |
<h4 class="uk-h4 uk-text-primary uk-scrollspy-inview uk-animation-slide-top-medium" |
|
35 |
uk-scrollspy-class=""><span>{{jobSummary.baseUrl}}</span></h4> |
|
36 |
<div class="uk-margin-small">by {{jobSummary.userEmail}}</div> |
|
37 |
</div> |
|
38 |
</div> |
|
39 |
<div> |
|
40 |
<div> |
|
41 |
<hr class="uk-scrollspy-inview uk-animation-slide-bottom-small" uk-scrollspy-class=""> |
|
42 |
<div> |
|
43 |
<span>{{ jobSummary.jobType }}</span> |
|
44 |
| |
|
45 |
<span>{{ jobSummary.guidelinesShortName }}</span> |
|
46 |
| |
|
47 |
<span>Validation set: {{ jobSummary.validationSet }}</span> |
|
48 |
</div> |
|
49 |
<div> |
|
50 |
<span>Started: {{ jobSummary.started }}</span> |
|
51 |
, |
|
52 |
<span>Ended: {{ jobSummary.ended }}</span> |
|
53 |
, |
|
54 |
<span>Duration: {{ jobSummary.duration }}</span> |
|
55 |
</div> |
|
56 |
<div style="font-size: 120%;"> |
|
57 |
<span>Records tested: {{ jobSummary.recordsTested }}</span> |
|
58 |
</div> |
|
59 |
<div> |
|
60 |
<span class="uk-label uk-margin-right">Score for content: {{ jobSummary.contentJobScore }}</span> |
|
61 |
<span class="uk-label">Score for usage: {{ jobSummary.usageJobScore }}</span> |
|
62 |
</div> |
|
63 |
<hr class="uk-scrollspy-inview uk-animation-slide-bottom-small" uk-scrollspy-class=""> |
|
64 |
</div> |
|
65 |
</div> |
|
66 |
<div> |
|
67 |
<ul class="uk-margin el-nav uk-tab" uk-switcher="connect: .uk-switcher"> |
|
68 |
<li routerLinkActive="uk-active"> |
|
69 |
<a href="#">for Content</a> |
|
70 |
</li> |
|
71 |
<li routerLinkActive="uk-active"> |
|
72 |
<a href="#">for Usage</a> |
|
73 |
</li> |
|
74 |
</ul> |
|
75 |
<ul class="uk-switcher"> |
|
76 |
<li class="el-item"> |
|
77 |
<div class="uk-grid-margin uk-grid uk-grid-stack"> |
|
78 |
<div class="uk-width-1-1@m uk-first-column"> |
|
79 |
<div class="uk-overflow-auto uk-scrollspy-inview uk-animation-slide-top-medium"> |
|
80 |
<div *ngIf="noContent" class="uk-alert">{{ noContent }}</div> |
|
81 |
<div> |
|
82 |
<table class="uk-table uk-table-striped uk-table-middle rules-table"> |
|
83 |
<thead> |
|
84 |
<tr> |
|
85 |
<th>Rule Name</th> |
|
86 |
<th class="uk-text-nowrap">Rule Description</th> |
|
87 |
<th class="uk-text-nowrap">Rule Weight</th> |
|
88 |
<th class="uk-text-nowrap"># of records</th> |
|
89 |
<th class="uk-text-nowrap">Status</th> |
|
90 |
</tr> |
|
91 |
</thead> |
|
92 |
<tbody> |
|
93 |
<tr *ngFor="let contentRule of contentResults" class="el-item"> |
|
94 |
<td class="uk-table-shrink"> |
|
95 |
<div class="el-title">{{ contentRule.name }}</div> |
|
96 |
</td> |
|
97 |
<td class="uk-table-shrink"> |
|
98 |
<div class="el-title" [innerHtml]="contentRule.description"> |
|
99 |
</div> |
|
100 |
</td> |
|
101 |
<td class="uk-table-shrink"> |
|
102 |
<div class="el-title">{{ contentRule.weight }}</div> |
|
103 |
</td> |
|
104 |
<td class="uk-table-shrink"> |
|
105 |
<div class="el-title">{{ contentRule.successes }}</div> |
|
106 |
</td> |
|
107 |
<td class="uk-table-shrink"> |
|
108 |
<div *ngIf="!contentRule.hasErrors" class="el-title"> |
|
109 |
<span uk-icon="icon: check" style="color: #4b991f" class="uk-icon"> |
|
110 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" |
|
111 |
icon="check" ratio="1"> |
|
112 |
<polyline fill="none" stroke="#000" stroke-width="1.1" |
|
113 |
points="4,10 8,15 17,4"></polyline> |
|
114 |
</svg> |
|
115 |
</span> |
|
116 |
</div> |
|
117 |
<div *ngIf="contentRule.hasErrors && contentRule.mandatory"> |
|
118 |
<span uk-icon="icon: close" style="color: #cd242b" class="uk-icon"> |
|
119 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" |
|
120 |
icon="close" ratio="1"> |
|
121 |
<path fill="none" stroke="#000" stroke-width="1.06" d="M16,16 L4,4"></path> |
|
122 |
<path fill="none" stroke="#000" stroke-width="1.06" d="M16,4 L4,16"></path> |
|
123 |
</svg> |
|
124 |
</span> |
|
125 |
<a class="errorlink viewErrors uk-display-block" |
|
126 |
(click)="viewErrors(contentRule)"><span>View Errors</span></a> |
|
127 |
</div> |
|
128 |
<div *ngIf="contentRule.hasErrors && !contentRule.mandatory"> |
|
129 |
<span uk-icon="icon: warning" style="color: #e9d60d" class="uk-icon"> |
|
130 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" |
|
131 |
icon="warning" ratio="1"> |
|
132 |
<circle cx="10" cy="14" r="1"></circle> |
|
133 |
<circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"></circle> |
|
134 |
<path |
|
135 |
d="M10.97,7.72 C10.85,9.54 10.56,11.29 10.56,11.29 C10.51,11.87 10.27,12 9.99,12 C9.69,12 9.49,11.87 9.43,11.29 C9.43,11.29 9.16,9.54 9.03,7.72 C8.96,6.54 9.03,6 9.03,6 C9.03,5.45 9.46,5.02 9.99,5 C10.53,5.01 10.97,5.44 10.97,6 C10.97,6 11.04,6.54 10.97,7.72 L10.97,7.72 Z"></path> |
|
136 |
</svg> |
|
137 |
</span> |
|
138 |
<a class="warninglink viewErrors uk-display-block" |
|
139 |
(click)="viewErrors(contentRule)"><span>View Warnings</span></a> |
|
140 |
</div> |
|
141 |
</td> |
|
142 |
</tr> |
|
143 |
</tbody> |
|
144 |
</table> |
|
145 |
</div> |
|
146 |
</div> |
|
147 |
</div> |
|
148 |
</div> |
|
149 |
</li> |
|
150 |
<li class="el-item"> |
|
151 |
<div class="uk-grid-margin uk-grid uk-grid-stack"> |
|
152 |
<div class="uk-width-1-1@m uk-first-column"> |
|
153 |
<div class="uk-overflow-auto uk-scrollspy-inview uk-animation-slide-top-medium"> |
|
154 |
<div *ngIf="noUsage" class="uk-alert">{{ noUsage }}</div> |
|
155 |
<div> |
|
156 |
<table class="uk-table uk-table-striped uk-table-middle rules-table"> |
|
157 |
<thead> |
|
158 |
<tr> |
|
159 |
<th>Rule Name</th> |
|
160 |
<th class="uk-text-nowrap">Rule Description</th> |
|
161 |
<th class="uk-text-nowrap">Rule Weight</th> |
|
162 |
<th class="uk-text-nowrap"># of records</th> |
|
163 |
<th class="uk-text-nowrap">Status</th> |
|
164 |
</tr> |
|
165 |
</thead> |
|
166 |
<tbody> |
|
167 |
<tr *ngFor="let usageRule of usageResults" class="el-item"> |
|
168 |
<td class="uk-table-shrink"> |
|
169 |
<div class="el-title">{{ usageRule.name }}</div> |
|
170 |
</td> |
|
171 |
<td class="uk-table-shrink"> |
|
172 |
<div class="el-title" [innerHtml]="usageRule.description"> |
|
173 |
</div> |
|
174 |
</td> |
|
175 |
<td class="uk-table-shrink"> |
|
176 |
<div class="el-title">{{ usageRule.weight }}</div> |
|
177 |
</td> |
|
178 |
<td class="uk-table-shrink"> |
|
179 |
<div class="el-title">{{ usageRule.successes }}</div> |
|
180 |
</td> |
|
181 |
<td class="uk-table-shrink"> |
|
182 |
<div *ngIf="!usageRule.hasErrors" class="el-title"> |
|
183 |
<span uk-icon="icon: check" style="color: #4b991f" class="uk-icon"> |
|
184 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" |
|
185 |
icon="check" ratio="1"> |
|
186 |
<polyline fill="none" stroke="#000" stroke-width="1.1" |
|
187 |
points="4,10 8,15 17,4"></polyline> |
|
188 |
</svg> |
|
189 |
</span> |
|
190 |
</div> |
|
191 |
<div *ngIf="usageRule.hasErrors && usageRule.mandatory"> |
|
192 |
<span uk-icon="icon: close" style="color: #cd242b" class="uk-icon"> |
|
193 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" |
|
194 |
icon="close" ratio="1"> |
|
195 |
<path fill="none" stroke="#000" stroke-width="1.06" d="M16,16 L4,4"></path> |
|
196 |
<path fill="none" stroke="#000" stroke-width="1.06" d="M16,4 L4,16"></path> |
|
197 |
</svg> |
|
198 |
</span> |
|
199 |
<a class="errorlink viewErrors uk-display-block" |
|
200 |
(click)="viewErrors(usageRule)"><span>View Errors</span></a> |
|
201 |
</div> |
|
202 |
<div *ngIf="usageRule.hasErrors && !usageRule.mandatory"> |
|
203 |
<span uk-icon="icon: warning" style="color: #e9d60d" class="uk-icon"> |
|
204 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" |
|
205 |
icon="warning" ratio="1"> |
|
206 |
<circle cx="10" cy="14" r="1"></circle> |
|
207 |
<circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"></circle> |
|
208 |
<path |
|
209 |
d="M10.97,7.72 C10.85,9.54 10.56,11.29 10.56,11.29 C10.51,11.87 10.27,12 9.99,12 C9.69,12 9.49,11.87 9.43,11.29 C9.43,11.29 9.16,9.54 9.03,7.72 C8.96,6.54 9.03,6 9.03,6 C9.03,5.45 9.46,5.02 9.99,5 C10.53,5.01 10.97,5.44 10.97,6 C10.97,6 11.04,6.54 10.97,7.72 L10.97,7.72 Z"></path> |
|
210 |
</svg> |
|
211 |
</span> |
|
212 |
<a class="warninglink viewErrors uk-display-block" |
|
213 |
(click)="viewErrors(usageRule)"><span>View Warnings</span></a> |
|
214 |
</div> |
|
215 |
</td> |
|
216 |
</tr> |
|
217 |
</tbody> |
|
218 |
</table> |
|
219 |
</div> |
|
220 |
</div> |
|
221 |
</div> |
|
222 |
</div> |
|
223 |
</li> |
|
224 |
</ul> |
|
225 |
</div> |
|
226 |
</div> |
|
227 |
</div> |
|
228 |
|
|
229 |
</div> |
|
230 |
|
|
231 |
<!-- RIGHT HELP CONTENT --> |
|
232 |
<aside-help-content #rightHelperContent [position]="'right'" |
|
233 |
[ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'"> |
|
234 |
</aside-help-content> |
|
235 |
|
|
236 |
</div> |
|
237 |
</div> |
|
238 |
|
|
239 |
|
|
240 |
<!-- BOTTOM HELP CONTENT --> |
|
241 |
<help-content #bottomHelperContent [position]="'bottom'" |
|
242 |
[ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'"> |
|
243 |
</help-content> |
|
244 |
|
|
245 |
|
|
246 |
</div> |
|
247 |
</div> |
|
248 |
|
|
249 |
|
|
250 |
<confirmation-dialog #checkErrors [title]="modalTitle" [isModalShown]="false" [hideModalButton]="'OK'"> |
|
251 |
<div> |
|
252 |
<p>See the list of errors found for this specific rule</p> |
|
253 |
<a *ngFor="let er of currentErrors" class="uk-display-block" target="_blank" href="{{ linkToError(er) }}">{{ er }}</a> |
|
254 |
</div> |
|
255 |
</confirmation-dialog> |
|
256 |
|
|
257 |
|
|
258 |
<!-- *** OLD HTML *** |
|
259 |
|
|
1 | 260 |
<div class="uk-grid uk-grid-stack"> |
2 | 261 |
<div class="uk-width-expand@m uk-first-column"> |
3 | 262 |
<div class="uk-margin-medium-bottom"> |
... | ... | |
196 | 455 |
</div> |
197 | 456 |
</div> |
198 | 457 |
</div> |
199 |
|
|
200 |
<confirmation-dialog #checkErrors [title]="modalTitle" [isModalShown]="false" [hideModalButton]="'OK'"> |
|
201 |
<div> |
|
202 |
<p>See the list of errors found for this specific rule</p> |
|
203 |
<a *ngFor="let er of currentErrors" class="uk-display-block" target="_blank" href="{{ linkToError(er) }}">{{ er }}</a> |
|
204 |
</div> |
|
205 |
</confirmation-dialog> |
|
458 |
--> |
Also available in: Unified diff
added help-service panels and created aggregationHistory