mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 14:07:43 +00:00
Add skipped step to the HTML template
This commit is contained in:
@@ -4,21 +4,23 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="description" content="foobaro">
|
<meta name="description" content="foobaro">
|
||||||
<title>BlenderBIM</title>
|
<title>{{file_name}} {{time}}</title>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Comfortaa|Inconsolata|Open+Sans&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Comfortaa|Inconsolata|Open+Sans&display=swap" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
body { font-family: 'Arial', sans-serif; padding: 40px; }
|
body { font-family: 'Arial', sans-serif; padding: 10px 40px; }
|
||||||
span.time { color: #999; font-style: italic; float: right; }
|
span.time { color: #999; font-style: italic; float: right; }
|
||||||
span.step-time { float: right; color: #555; font-size: 0.8em; font-style: italic; }
|
span.step-time { float: right; color: #555; font-size: 0.8em; font-style: italic; }
|
||||||
span.success { background-color: #97cc64; padding: 5px; border-radius: 5px; color: #FFF; font-weight: bold; }
|
span.success { background-color: #97cc64; padding: 5px; border-radius: 5px; color: #FFF; font-weight: bold; }
|
||||||
span.failure { background-color: #fb5a3e; padding: 5px; border-radius: 5px; color: #FFF; font-weight: bold; }
|
span.failure { background-color: #fb5a3e; padding: 5px; border-radius: 5px; color: #FFF; font-weight: bold; }
|
||||||
p.failure { background-color: #fb5a3e; padding: 5px; border-radius: 5px; color: #fff; }
|
p.failure { background-color: #fb5a3e; padding: 5px; border-radius: 5px; color: #fff; }
|
||||||
p.unspecified { background-color: #994f00; padding: 5px; border-radius: 5px; color: #fff; }
|
p.unspecified { background-color: #994f00; padding: 5px; border-radius: 5px; color: #fff; }
|
||||||
|
p.skipped { background-color: #8b8d8f; padding: 5px; border-radius: 5px; color: #fff; }
|
||||||
p.description { background-color: #eee; border-radius: 5px; padding: 20px; margin-left: auto; margin-right: auto; display: inline-block; font-weight: bold;}
|
p.description { background-color: #eee; border-radius: 5px; padding: 20px; margin-left: auto; margin-right: auto; display: inline-block; font-weight: bold;}
|
||||||
li { padding: 10px; font-family: monospace; }
|
li { padding: 10px; font-family: monospace; }
|
||||||
li.success { background-color: #b6cca1; color: #333; }
|
li.success { background-color: #b6cca1; color: #333; }
|
||||||
li.failure { background-color: #fbb4a8; color: #900; }
|
li.failure { background-color: #fbb4a8; color: #900; }
|
||||||
li.unspecified { background-color: #ffd37f; color: #a30; }
|
li.unspecified { background-color: #ffd37f; color: #a30; }
|
||||||
|
li.skipped { background-color: #f5f5f5; color: #333; }
|
||||||
li p { margin-bottom: 0px; }
|
li p { margin-bottom: 0px; }
|
||||||
footer { color: #999; font-size: 0.8em; }
|
footer { color: #999; font-size: 0.8em; }
|
||||||
header { text-align: center; }
|
header { text-align: center; }
|
||||||
@@ -52,11 +54,11 @@
|
|||||||
</p>
|
</p>
|
||||||
<ol>
|
<ol>
|
||||||
{{#steps}}
|
{{#steps}}
|
||||||
<li class="{{#is_success}}success{{/is_success}}{{^is_success}}failure{{/is_success}}{{#is_unspecified}} unspecified{{/is_unspecified}}">
|
<li class="{{#is_success}}success{{/is_success}}{{^is_success}}failure{{/is_success}}{{#is_unspecified}} unspecified{{/is_unspecified}}{{#is_skipped}} skipped{{/is_skipped}}">
|
||||||
{{{name}}}
|
{{{name}}}
|
||||||
<span class="step-time">{{time}}s</span>
|
<span class="step-time">{{time}}s</span>
|
||||||
{{^is_success}}
|
{{^is_success}}
|
||||||
<p class="failure{{#is_unspecified}} unspecified{{/is_unspecified}}">
|
<p class="failure{{#is_unspecified}} unspecified{{/is_unspecified}}{{#is_skipped}} skipped{{/is_skipped}}">
|
||||||
{{#error_message}}
|
{{#error_message}}
|
||||||
{{.}}<br />
|
{{.}}<br />
|
||||||
{{/error_message}}
|
{{/error_message}}
|
||||||
@@ -67,11 +69,13 @@
|
|||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
{{/scenarios}}
|
{{/scenarios}}
|
||||||
|
<!--
|
||||||
<hr>
|
<hr>
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
OpenBIM auditing is a feature of <a href="https://blenderbim.org/">BlenderBIM</a> and <a href="http://ifcopenshell.org/">IfcOpenShell</a>.
|
OpenBIM auditing is a feature of <a href="https://blenderbim.org/">BlenderBIM</a> and <a href="http://ifcopenshell.org/">IfcOpenShell</a>.
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
-->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user