File tree Expand file tree Collapse file tree 2 files changed +36
-5
lines changed
java/cd/go/contrib/elasticagent/model/reports/agent Expand file tree Collapse file tree 2 files changed +36
-5
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ public String getLastTimestamp() {
27
27
return lastTimestamp ;
28
28
}
29
29
30
- public Integer getCount () {
31
- return count ;
30
+ public String getCount () {
31
+ return String . valueOf ( count ) ;
32
32
}
33
33
34
34
public String getFieldPath () {
Original file line number Diff line number Diff line change 125
125
</div>
126
126
127
127
<div class="tab">
128
- <input name="agent-information" type="radio" id="checkbox3 " class="checkboxtab">
129
- <label for="checkbox3">Tab 3 </label>
128
+ <input name="agent-information" type="radio" id="pod-events " class="checkboxtab pod-events ">
129
+ <label for="pod-events">Events </label>
130
130
<dl class="content">
131
- This is the content of tab 3
131
+ <table>
132
+ <thead>
133
+ <tr>
134
+ <th>First Seen</th>
135
+ <th>Last Seen</th>
136
+ <th>Count</th>
137
+ <th>Path</th>
138
+ <th>Type</th>
139
+ <th>Reason</th>
140
+ <th>Message</th>
141
+ </thead>
142
+ </tr>
143
+ <tbody>
144
+ <#if events?size != 0>
145
+ <#list events as event>
146
+ <tr>
147
+ <td>${event.firstTimestamp!}</td>
148
+ <td>${event.lastTimestamp!}</td>
149
+ <td>${event.count!}</td>
150
+ <td>${event.fieldPath!}</td>
151
+ <td>${event.type!}</td>
152
+ <td>${event.reason!}</td>
153
+ <td>${event.message!}</td>
154
+ </tr>
155
+ </#list>
156
+ <#else>
157
+ <tr>
158
+ <td colspan="5" class="message">No events available for the current pod.</td>
159
+ </tr>
160
+ </#if>
161
+ </tbody>
162
+ </table>
132
163
</dl>
133
164
</div>
134
165
</div>
You can’t perform that action at this time.
0 commit comments