Skip to content

Commit fe291d7

Browse files
Moved Testerra version to menu footer
1 parent 9f287c4 commit fe291d7

File tree

2 files changed

+31
-16
lines changed

2 files changed

+31
-16
lines changed

report-ng/app/src/app.html

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@
5050
<mdc-top-app-bar-section end
5151
role="toolbar"
5252
>
53-
<a href="http://docs.testerra.io/testerra/${_executionContext.runConfig.buildInformation.buildVersion}/index.html"
54-
title="Documentation"
55-
class="mdc-top-app-bar__action-item"
56-
rel="noopener"
57-
role="button"
58-
mdc-body2
59-
if.bind="_router.currentInstruction.config.route != 'printable'"
60-
>${_executionContext.runConfig.buildInformation.buildVersion}</a>
53+
<!-- <a href="http://docs.testerra.io/testerra/${_executionContext.runConfig.buildInformation.buildVersion}/index.html"-->
54+
<!-- title="Documentation"-->
55+
<!-- class="mdc-top-app-bar__action-item"-->
56+
<!-- rel="noopener"-->
57+
<!-- role="button"-->
58+
<!-- mdc-body2-->
59+
<!-- if.bind="_router.currentInstruction.config.route != 'printable'"-->
60+
<!-- >${_executionContext.runConfig.buildInformation.buildVersion}</a>-->
6161
</mdc-top-app-bar-section>
6262

6363
</mdc-top-app-bar-row>
@@ -80,13 +80,28 @@
8080
<span if.bind="nav.settings.count>0">(${nav.settings.count})</span>
8181
</mdc-list-item>
8282
</mdc-list>
83+
<div class="menu-footer">
84+
<div class="p1">
85+
<button mdc-button outlined click.delegate="_printButtonClicked()">
86+
<mdc-icon>print</mdc-icon>
87+
Print Report
88+
</button>
89+
</div>
90+
<ul class="mdc-list mdc-list--dense secondary" mdc-caption>
91+
<li class="mdc-custom-list-item">Created with&nbsp;
92+
<a href="http://docs.testerra.io/testerra/${_executionContext.runConfig.buildInformation.buildVersion}/index.html"
93+
title="Documentation"
94+
rel="noopener"
95+
if.bind="_router.currentInstruction.config.route != 'printable'"
96+
>Testerra ${_executionContext.runConfig.buildInformation.buildVersion}</a>
97+
</li>
98+
<li class="mdc-custom-list-item" if.bind="_executionContext.runConfig.buildInformation.buildVersion.includes('SNAPSHOT')">${_executionContext.runConfig.buildInformation.buildTimestamp}</li>
99+
</ul>
100+
</div>
101+
83102
</mdc-drawer-content>
84-
<div class="button-container">
85-
<button mdc-button outlined click.delegate="_printButtonClicked()">
86-
<mdc-icon>print</mdc-icon>
87-
Print Report
88-
</button>
89-
</div>
103+
104+
90105
</mdc-drawer>
91106

92107
<mdc-drawer-app-content id="mdc-drawer-app-content">

report-ng/app/src/app.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ html {
7777
-webkit-box-orient: vertical;
7878
}
7979

80-
.button-container {
81-
padding: 16px 46px;
80+
.menu-footer {
81+
//padding: 16px 46px;
8282
position: fixed;
8383
bottom: 0;
8484
}

0 commit comments

Comments
 (0)