Skip to content

Commit 176267c

Browse files
committed
Show pod logs and configuration on the agent status report page
1 parent 0c1f971 commit 176267c

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

src/main/resources/agent-status-report.template.ftlh

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
<div class="tabs">
4848
<div class="tab">
49-
<input name="agent-information" type="radio" id="pod-details" class="checkboxtab pod-details">
49+
<input name="agent-information" type="radio" id="pod-details" class="checkboxtab pod-details" checked>
5050
<label for="pod-details">Pod Details</label>
5151
<dl class="content">
5252
<dt>Pod Name:</dt>
@@ -98,8 +98,7 @@
9898
</div>
9999

100100
<div class="tab">
101-
<input name="agent-information" type="radio" id="agent-details" class="checkboxtab agent-details"
102-
checked>
101+
<input name="agent-information" type="radio" id="agent-details" class="checkboxtab agent-details">
103102
<label for="agent-details">GoCD Agent Details</label>
104103
<dl class="content">
105104
<dt>Name:</dt>
@@ -162,6 +161,18 @@
162161
</table>
163162
</dl>
164163
</div>
164+
165+
<div class="tab">
166+
<input name="agent-information" type="radio" id="pod-logs" class="checkboxtab">
167+
<label for="pod-logs">Logs</label>
168+
<dl class="content"> ${ logs !} </dl>
169+
</div>
170+
171+
<div class="tab">
172+
<input name="agent-information" type="radio" id="pod-configuration" class="checkboxtab">
173+
<label for="pod-configuration">Configuration</label>
174+
<dl class="content"> ${ configuration !} </dl>
175+
</div>
165176
</div>
166177
</div>
167178
</div>

0 commit comments

Comments
 (0)