mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
Update report.html
Adding "Skipped" grey colored container for specification and requirement if no applicable element is found
This commit is contained in:
committed by
Dion Moult
parent
07817ec6fc
commit
293cd83a9c
@@ -107,10 +107,10 @@
|
|||||||
{{/instructions}}
|
{{/instructions}}
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="{{#status}}pass{{/status}}{{^status}}fail{{/status}} percent" style="width: {{percent_checks_pass}}%;">{{percent_checks_pass}}%</div>
|
<div class="{{^total_checks}}skipped{{/total_checks}}{{#total_checks}}{{#status}}pass{{/status}}{{^status}}fail{{/status}}{{/total_checks}} percent" style="width: {{^total_checks}}100{{/total_checks}}{{#total_checks}}{{percent_checks_pass}}{{/total_checks}}%;">{{^total_checks}}Skipped{{/total_checks}}{{#total_checks}}{{percent_checks_pass}}%{{/total_checks}}</div>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<span class="item {{#status}}pass{{/status}}{{^status}}fail{{/status}}">{{#status}}Pass{{/status}}{{^status}}Fail{{/status}}</span>
|
<span class="item {{^total_checks}}skipped{{/total_checks}}{{#total_checks}}{{#status}}pass{{/status}}{{^status}}fail{{/status}}{{/total_checks}}">{{^total_checks}}Skipped{{/total_checks}}{{#total_checks}}{{#status}}Pass{{/status}}{{^status}}Fail{{/status}}{{/total_checks}}</span>
|
||||||
<span class="item">
|
<span class="item">
|
||||||
Checks passed: <strong>{{total_checks_pass}}</strong> / <strong>{{total_checks}}</strong>
|
Checks passed: <strong>{{total_checks_pass}}</strong> / <strong>{{total_checks}}</strong>
|
||||||
</span>
|
</span>
|
||||||
@@ -140,11 +140,17 @@
|
|||||||
</p>
|
</p>
|
||||||
<ol>
|
<ol>
|
||||||
{{#requirements}}
|
{{#requirements}}
|
||||||
<li class="{{#status}}pass{{/status}}{{^status}}fail{{/status}}">
|
<li class="{{^total_checks}}skipped{{/total_checks}}{{#total_checks}}{{#status}}pass{{/status}}{{^status}}fail{{/status}}{{/total_checks}}">
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
{{description}}
|
{{description}}
|
||||||
</summary>
|
</summary>
|
||||||
|
{{#total_ckecks}}
|
||||||
|
<table class="skipped">
|
||||||
|
<thead>
|
||||||
|
</thead>
|
||||||
|
</table>
|
||||||
|
{{/total_ckecks}}
|
||||||
{{#total_pass}}
|
{{#total_pass}}
|
||||||
<table class="pass">
|
<table class="pass">
|
||||||
<thead>
|
<thead>
|
||||||
|
|||||||
Reference in New Issue
Block a user