Use 'jenkins-button' for session termination
<div class="user-seed-panel" name="OK">
<j:choose>
<j:when test="${descriptor.isCurrentUser(it)}">
- <span class="yui-button">
- <button type="button" name="reset-seed"
+ <button class="jenkins-button jenkins-!-destructive-color" type="button" name="reset-seed"
onclick="return resetSeed(this)"
data-target-url="${descriptor.descriptorFullUrl}/renewSessionSeed"
data-confirm="${%resetSeed.confirmation}"
data-redirect-url="${request.contextPath}/">
${%resetSeed.button}
</button>
- </span>
</j:when>
<j:otherwise>
- <span class="yui-button">
- <button type="button" name="reset-seed"
+ <button class="jenkins-button jenkins-!-destructive-color" type="button" name="reset-seed"
onclick="return resetSeed(this)"
data-target-url="${descriptor.descriptorFullUrl}/renewSessionSeed"
data-confirm="${%resetSeed.confirmation}">
${%resetSeed.button}
</button>
- </span>
</j:otherwise>
</j:choose>
<div class="display-after-reset">${%resetSeed.result}</div>
