Skip to content

Commit

Permalink
Merge pull request #498 from scherler/drop_yui
Browse files Browse the repository at this point in the history
[drop_yui] use jenkins button
  • Loading branch information
jglick authored Dec 18, 2024
2 parents 4ba3da2 + 43d8703 commit c51412f
Showing 1 changed file with 10 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@
<div>
<form method="GET" action="${rootURL}/safeRestart"
style="float: none; display: inline; position: inherit;">
<span class="yui-button yui-link-button primary">
<span class="first-child primary">
<button type="submit">
${%Restart Jenkins}
</button>
</span>
<span class="first-child primary">
<button type="submit" class="jenkins-button jenkins-button--primary">
${%Restart Jenkins}
</button>
</span>
</form>
</div>
Expand All @@ -32,13 +30,11 @@
<form method="GET" action="${rootURL}/safeRestart" disabled="disabled"
class="branch-api-property-migration-monitor-disabled-form"
style="float: none; display: inline; position: inherit;">
<span class="yui-button yui-link-button">
<span class="first-child">
<button disabled="disabled">
<button disabled="disabled" class="jenkins-button">
${%Restart Jenkins}
</button>
</span>
</span>
</form>
</j:otherwise>
</j:choose>
Expand Down Expand Up @@ -68,12 +64,10 @@
action="${rootURL}/pluginManager/install"
style="float: none; display: inline; position: inherit;">
<input type="hidden" name="plugin.${p.pluginName}.default" checked="true"/>
<span class="yui-button yui-link-button" name="dynamicLoad">
<span class="first-child">
<button formenctype="multipart/form-data" disabled="disabled">
${%restart(p.pluginDisplayName)}
</button>
</span>
<span class="first-child">
<button class="jenkins-button" formenctype="multipart/form-data" disabled="disabled">
${%restart(p.pluginDisplayName)}
</button>
</span>
</form>
</j:when>
Expand All @@ -96,9 +90,8 @@
action="${rootURL}/pluginManager/install"
style="float: none; display: inline; position: inherit;">
<input type="hidden" name="${p.pluginInstallId}" checked="true"/>
<span class="yui-button yui-link-button primary" name="${p.pluginUpgrade?'Submit':'dynamicLoad'}">
<span class="first-child">
<button formenctype="multipart/form-data" type="submit">
<button class="jenkins-button jenkins-button--primary" formenctype="multipart/form-data" type="submit">
<j:choose>
<j:when test="${p.pluginUpgrade}">
${%upgrade(p.pluginDisplayName, p.pluginVersion)}
Expand All @@ -109,7 +102,6 @@
</j:choose>
</button>
</span>
</span>
</form>
</j:otherwise>
</j:choose>
Expand Down

0 comments on commit c51412f

Please sign in to comment.