Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Dec 28, 2021
1 parent a7b8567 commit 4846849
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
8 changes: 1 addition & 7 deletions core/src/main/resources/hudson/cli/CLIAction/command.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ THE SOFTWARE.
<l:layout permission="${app.READ}" title="Command ${command.name}">
<st:include page="sidepanel.jelly" it="${app}"/>
<l:main-panel>
<div class="jenkins-app-bar">
<div class="jenkins-app-bar__content">
<h1>
Command ${command.name}
</h1>
</div>
</div>
<h1>Command ${command.name}</h1>
<j:set var="commandArgs" value="${command.name}${command.singleLineSummary}"/>
<st:include page="example.jelly"/>
<pre>
Expand Down
17 changes: 2 additions & 15 deletions core/src/main/resources/lib/hudson/scriptConsole.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,11 @@ THE SOFTWARE.
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:f="/lib/form">
<l:layout permission="${h.ADMINISTER}">
<l:layout title="${%Script Console}" permission="${h.ADMINISTER}">
<st:include page="sidepanel.jelly" />

<l:main-panel>
<j:choose>
<j:when test="${it.icon == null}">
<j:set var="icon" value="notepad.png"/>
</j:when>
<j:otherwise>
<j:set var="icon" value="${it.icon}"/>
</j:otherwise>
</j:choose>

<div class="jenkins-app-bar">
<div class="jenkins-app-bar__content">
<h1>${%Script Console}</h1>
</div>
</div>
<h1>${%Script Console}</h1>

<j:choose>
<j:when test="${it.channel != null}">
Expand Down

0 comments on commit 4846849

Please sign in to comment.