Skip to content

Commit

Permalink
Some more icon fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lacostej committed Nov 2, 2023
1 parent 6f82308 commit f0e3873
Showing 1 changed file with 2 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<l:main-panel>
<h1>${%Batch Tasks}</h1>
<t:setIconSize/>
<table class="sortable pane bigtable" id="projectstatus">
<table class="jenkins-table sortable" id="projectstatus">
<tr>
<th style="padding-left:1.5em">${%S}</th>
<th initialSortDir="down">${%Task}</th>
Expand Down Expand Up @@ -52,26 +52,7 @@
</j:choose>
</td>
<td>
<j:if test="${t.hasBuildPermission()}">

<j:set var="id" value="${h.generateId()}"/>
<l:task href="${t.name}/execute" icon="icon-clock icon-md" onclick="${it.parameterized?null:'return build_' + id + '(this)'}" permission="${it.BUILD}" post="${!it.parameterized}" title="${%Execute}"/>
<script>
function build_${id}(a) {
fetch(a.href, {
method: 'post',
headers: crumb.wrap({}),
})
hoverNotification('${%Task scheduled}',a.parentNode);
return false;
}
</script>


<!--form action="${t.name}/execute" method="post">
<input type="image" icon="icon-clock icon-md" tooltip="${%Execute}" />
</form-->
</j:if>
<l:task href="${t.name}/execute" icon="icon-clock icon-md" permission="${it.BUILD}" post="${!it.parameterized}" title=""/> <!-- tooltip ${%Execute} -->
</td>
<td></td>
</tr>
Expand Down

0 comments on commit f0e3873

Please sign in to comment.