Skip to content

Commit

Permalink
Lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Sep 16, 2024
1 parent 71cf5a7 commit 525ebab
Show file tree
Hide file tree
Showing 158 changed files with 387 additions and 387 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ 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:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<l:layout title="${%JENKINS_HOME is almost full}">
<l:main-panel>
<l:layout title="${%JENKINS_HOME is almost full}">
<l:main-panel>
<h1>
<l:icon class="icon-warning icon-xlg"/>
${%blurb}
Expand All @@ -51,5 +51,5 @@ THE SOFTWARE.
</j:forEach>
</ol>
</l:main-panel>
</l:layout>
</l:layout>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ THE SOFTWARE.
</j:if>
</l:tasks>
</l:side-panel>
</j:jelly>
</j:jelly>
24 changes: 12 additions & 12 deletions core/src/main/resources/hudson/model/AbstractItem/delete.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ THE SOFTWARE.

<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout" xmlns:f="/lib/form">
<st:documentation> <![CDATA[
Deprecated. Instead use a <l:confirmationLink/> directly to /job/*/doDelete.
]]>
</st:documentation>
<st:documentation> <![CDATA[
Deprecated. Instead use a <l:confirmationLink/> directly to /job/*/doDelete.
]]>
</st:documentation>
<l:layout>
<st:include page="sidepanel.jelly" />
<l:breadcrumb title="${%Delete}" />
<l:main-panel>
<form method="post" action="doDelete">
${%blurb(it.pronoun, it.displayName)}
<st:include page="sidepanel.jelly" />
<l:breadcrumb title="${%Delete}" />
<l:main-panel>
<form method="post" action="doDelete">
${%blurb(it.pronoun, it.displayName)}
<f:submit value="${%Yes}" clazz="jenkins-!-destructive-color" />
</form>
</l:main-panel>
</l:layout>
</form>
</l:main-panel>
</l:layout>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ THE SOFTWARE.
</form>
</l:main-panel>
</l:layout>
</j:jelly>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ THE SOFTWARE.
<t:jobLink job="${it.up}"/>
</st:structuredMessageArgument>
</st:structuredMessageFormat>
</j:jelly>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ THE SOFTWARE.
To programmatically disable a job, post to <a href="../disable">this URL</a>.
Similarly post to <a href="../enable">this URL</a> for enabling this job.
</p>
</j:jelly>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ THE SOFTWARE.
<st:include it="${it.scm}" page="project-changes.jelly" />
</l:main-panel>
</l:layout>
</j:jelly>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ 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:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<t:actions />
</j:jelly>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ THE SOFTWARE.
<?jelly escape-by-default='true'?>
<div>
${%blurb}
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<f:entry title="${%Name}" help="/help/parameter/name.html">
<f:textbox name="parameter.name" value="${instance.name}" />
</f:entry>
<f:textbox name="parameter.name" value="${instance.name}" />
</f:entry>
<f:entry field="boolean-default">
<f:checkbox title="${%Set by Default}" name="parameter.defaultValue" checked="${instance.defaultValue}" />
<f:checkbox title="${%Set by Default}" name="parameter.defaultValue" checked="${instance.defaultValue}" />
</f:entry>
<f:entry title="${%Description}" help="/help/parameter/description.html">
<f:textarea name="parameter.description" value="${instance.description}" codemirror-mode="${app.markupFormatter.codeMirrorMode}" codemirror-config="${app.markupFormatter.codeMirrorConfig}" previewEndpoint="/markupFormatter/previewDescription" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<j:set var="escapeEntryTitleAndDescription" value="false"/>
<f:entry description="${it.formattedDescription}">
<div name="parameter">
<input type="hidden" name="name" value="${it.name}" />
<f:checkbox title="${h.escape(it.name)}" name="value" checked="${it.defaultValue}" />
</div>
</f:entry>
<div name="parameter">
<input type="hidden" name="name" value="${it.name}" />
<f:checkbox title="${h.escape(it.name)}" name="value" checked="${it.defaultValue}" />
</div>
</f:entry>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<j:set var="escapeEntryTitleAndDescription" value="false"/>
<f:entry description="${it.formattedDescription}">
<f:checkbox title="${h.escape(it.name)}" name="value" checked="${it.value}" readonly="true" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ THE SOFTWARE.
<j:if test="${!it.upstreamCauses.isEmpty()}">
<br />${%caused_by}
<ul>
<j:forEach var="c" items="${it.upstreamCauses}">
<li><st:include page="description.jelly" it="${c}" /></li>
</j:forEach>
<j:forEach var="c" items="${it.upstreamCauses}">
<li><st:include page="description.jelly" it="${c}" /></li>
</j:forEach>
</ul>
</j:if>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<f:entry title="${%Name}" help="/help/parameter/name.html">
<f:textbox name="parameter.name" value="${instance.name}" />
</f:entry>
<f:entry title="${%Choices}" help="/help/parameter/choice-choices.html">
<f:textarea checkUrl="${rootURL}/descriptorByName/hudson.model.ChoiceParameterDefinition/checkChoices" checkDependsOn="" name="parameter.choices" value="${instance.choicesText}" />
</f:entry>
<f:textbox name="parameter.name" value="${instance.name}" />
</f:entry>
<f:entry title="${%Choices}" help="/help/parameter/choice-choices.html">
<f:textarea checkUrl="${rootURL}/descriptorByName/hudson.model.ChoiceParameterDefinition/checkChoices" checkDependsOn="" name="parameter.choices" value="${instance.choicesText}" />
</f:entry>
<f:entry title="${%Description}" help="/help/parameter/description.html">
<f:textarea name="parameter.description" value="${instance.description}" codemirror-mode="${app.markupFormatter.codeMirrorMode}" codemirror-config="${app.markupFormatter.codeMirrorConfig}" previewEndpoint="/markupFormatter/previewDescription" />
</f:entry>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<j:set var="escapeEntryTitleAndDescription" value="false"/>
<f:entry title="${h.escape(it.name)}" description="${it.formattedDescription}">
<div class="jenkins-select" name="parameter">
<div class="jenkins-select" name="parameter">
<input type="hidden" name="name" value="${it.name}" />
<select class="jenkins-select__input" name="value">
<j:forEach var="value" items="${it.choices}">
<f:option selected="${it.defaultParameterValue.value==value}">${value}</f:option>
</j:forEach>
</select>
</div>
</f:entry>
</div>
</f:entry>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ THE SOFTWARE.
<st:include page="main.jelly" from="${it.loadStatistics}" />
</l:main-panel>
</l:layout>
</j:jelly>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ THE SOFTWARE.
<!-- display permalinks of the page -->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler">
<!-- give properties a chance to contribute summary item -->
<j:forEach var="p" items="${app.globalNodeProperties}">
<st:include page="summary.jelly" from="${p}" optional="true" it="${p}" />
</j:forEach>
<j:forEach var="p" items="${it.node.nodeProperties}">
<st:include page="summary.jelly" from="${p}" optional="true" it="${p}" />
</j:forEach>
<!-- give properties a chance to contribute summary item -->
<j:forEach var="p" items="${app.globalNodeProperties}">
<st:include page="summary.jelly" from="${p}" optional="true" it="${p}" />
</j:forEach>
<j:forEach var="p" items="${it.node.nodeProperties}">
<st:include page="summary.jelly" from="${p}" optional="true" it="${p}" />
</j:forEach>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<f:entry title="${%File location}" help="/help/parameter/file-name.html">
<f:textbox name="parameter.name" value="${instance.name}" />
</f:entry>
<!--f:entry>
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<f:entry title="${%File location}" help="/help/parameter/file-name.html">
<f:textbox name="parameter.name" value="${instance.name}" />
</f:entry>
<!--f:entry>
<f:checkbox title="Optional" name="parameter.optional" value="${instance.optional}" />
</f:entry-->
<f:entry title="${%Description}" help="/help/parameter/description.html">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<j:set var="escapeEntryTitleAndDescription" value="false"/>
<f:entry title="${h.escape(it.name)}" description="${it.formattedDescription}" field="file">
<div name="parameter">
<input type="hidden" name="name" value="${it.name}" />
<f:file jsonAware="true" />
</div>
</f:entry>
<div name="parameter">
<input type="hidden" name="name" value="${it.name}" />
<f:file jsonAware="true" />
</div>
</f:entry>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<j:set var="escapeEntryTitleAndDescription" value="false"/>
<f:entry title="${h.escape(it.name)}" description="${it.formattedDescription}">
<j:choose>
Expand All @@ -45,4 +45,4 @@ THE SOFTWARE.
</j:otherwise>
</j:choose>
</f:entry>
</j:jelly>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ 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:t="/lib/hudson" xmlns:f="/lib/form" xmlns:p="/lib/hudson/project">
<p:config-customWorkspace />
</j:jelly>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ THE SOFTWARE.
<?jelly escape-by-default='true'?>
<div>
${it.description}
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ THE SOFTWARE.
<!-- display permalinks of the page -->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler">
<!-- give properties a chance to contribute summary item -->
<j:forEach var="p" items="${it.properties.values()}">
<st:include page="summary.jelly" from="${p}" optional="true" it="${p}" />
</j:forEach>
</j:jelly>
<!-- give properties a chance to contribute summary item -->
<j:forEach var="p" items="${it.properties.values()}">
<st:include page="summary.jelly" from="${p}" optional="true" it="${p}" />
</j:forEach>
</j:jelly>
2 changes: 1 addition & 1 deletion core/src/main/resources/hudson/model/Job/main.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ THE SOFTWARE.

<!-- place holder for the derived types to add more contents -->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" />
<j:jelly xmlns:j="jelly:core" />
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ THE SOFTWARE.
<st:include page="main.jelly" from="${it.loadStatistics}" />
</l:main-panel>
</l:layout>
</j:jelly>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ THE SOFTWARE.
<?jelly escape-by-default='true'?>
<div>
${%blurb}
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ THE SOFTWARE.
<?jelly escape-by-default='true'?>
<div>
${%blurb}
</div>
</div>
2 changes: 1 addition & 1 deletion core/src/main/resources/hudson/model/MyView/noJob.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ THE SOFTWARE.
<?jelly escape-by-default='true'?>
<div>
${%blurb}
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<f:textbox name="parameter.name" value="${instance.name}"/>
</j:jelly>
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<f:textbox name="parameter.name" value="${instance.name}"/>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ THE SOFTWARE.
<j:set var="build" value="${request.findAncestorObject(buildClass)}" />
<st:include page="sidepanel.jelly" it="${build}" />
<l:main-panel>
<t:buildCaption it="${build}">${title}</t:buildCaption>
<t:buildCaption it="${build}">${title}</t:buildCaption>
<j:set var="escapeEntryTitleAndDescription" value="true" /> <!-- SECURITY-353 defense unless overridden -->
<j:forEach var="parameterValue" items="${it.parameters}">
<st:include it="${parameterValue}" page="value.jelly" />
<st:include it="${parameterValue}" page="value.jelly" />
</j:forEach>
</l:main-panel>
</l:layout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ 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:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<!--
send back 4xx code so that machine agents don't confuse this form with successful build triggering
405 is "Method Not Allowed" and this fits here because we need POST.
Expand Down
Loading

0 comments on commit 525ebab

Please sign in to comment.