Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Apr 8, 2024
1 parent da5f593 commit af655e3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
20 changes: 5 additions & 15 deletions core/src/main/resources/lib/hudson/buildCaption.jelly
Expand Up @@ -38,22 +38,12 @@ THE SOFTWARE.
<div class="jenkins-app-bar__controls">
<j:if test="${it.building}">
<div class="build-caption-progress-container">
<table class="middle-align">
<tr>
<td>
${%Progress}:
</td>
<td class="build-caption-progress-bar">
<t:buildProgressBar build="${it}" animate="true"/>
</td>
<td class="jenkins-table__link">
<j:if test="${it.parent.hasAbortPermission()}">
<l:stopButton href="stop" confirm="${%confirm(it.fullDisplayName)}"
${%Progress}:
<t:buildProgressBar build="${it}"/>
<j:if test="${it.parent.hasAbortPermission()}">
<l:stopButton href="stop" confirm="${%confirm(it.fullDisplayName)}"
alt="${%cancel}"/>
</j:if>
</td>
</tr>
</table>
</j:if>
</div>
</j:if>
<st:adjunct includes="lib.hudson.build-caption"/>
Expand Down
6 changes: 6 additions & 0 deletions war/src/main/scss/pages/_build.scss
@@ -0,0 +1,6 @@
.build-caption-progress-container {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
1 change: 1 addition & 0 deletions war/src/main/scss/pages/_index.scss
@@ -1,4 +1,5 @@
@use "about";
@use "build";
@use "dashboard";
@use "icon-legend";
@use "manage-jenkins";
Expand Down

0 comments on commit af655e3

Please sign in to comment.