Skip to content

Commit

Permalink
allow to change the icon size of the node overview table (#8802)
Browse files Browse the repository at this point in the history
make icon size of node overview page changeable

similar to the list of projects on the start page of Jenkins the
icon size of the overview page of nodes can now be changed.
  • Loading branch information
mawinter69 authored Jan 3, 2024
1 parent 95bff13 commit f06a954
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/main/resources/hudson/model/ComputerSet/index.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ THE SOFTWARE.

<j:set var="monitors" value="${it._monitors}"/>
<j:set var="tableWidth" value="${3}"/>

<table id="computers" class="jenkins-table sortable">
<t:setIconSize/>
<table id="computers" class="jenkins-table ${iconSize == '16x16' ? 'jenkins-table--small' : iconSize == '24x24' ? 'jenkins-table--medium' : ''} sortable">
<thead>
<tr>
<th class="jenkins-table__cell--tight">S</th>
Expand Down Expand Up @@ -123,6 +123,7 @@ THE SOFTWARE.
</tr>
</tbody>
</table>
<t:iconSize/>
</l:main-panel>
</l:layout>
</j:jelly>

0 comments on commit f06a954

Please sign in to comment.