Skip to content

Commit

Permalink
[JENKINS-44997] - Do not use table in BeriodicBackupLink submission form
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Jun 20, 2017
1 parent 7752b85 commit 1c2fe6b
Showing 1 changed file with 23 additions and 22 deletions.
Expand Up @@ -38,28 +38,29 @@
</j:when>
<j:otherwise>
<h3>Locations:</h3>
<f:form method="post" action="restore">
<j:set var="noBackups" value="true"/>
<j:forEach var="location" items="${it.locations}">
<div>
<h4>${location.displayName}</h4>
<table>
<j:forEach var="backup" items="${location.availableBackups}">
<tr>
<td><f:radio name="backupHash" value="${backup.hashCode()}"/></td>
<td>${backup.displayName}</td>
<j:set var="noBackups" value="false"/>
</tr>
</j:forEach>
</table>
</div>
</j:forEach>
<div style="padding:4px">
<j:if test="${noBackups == 'false'}">
<f:submit value="${%restore.launch}"/>
</j:if>
</div>
</f:form>
<f:form method="post" action="restore">
<j:set var="noBackups" value="true"/>
<j:forEach var="location" items="${it.locations}">
<div>
<h4>${location.displayName}</h4>

<j:forEach var="backup" items="${location.availableBackups}">
<f:radio name="backupHash" value="${backup.hashCode()}"/>
${backup.displayName}
<br/>

<j:set var="noBackups" value="false"/>
</j:forEach>
</div>
</j:forEach>

<div>
<j:if test="${noBackups == 'false'}">
<f:submit value="${%restore.launch}"/>
</j:if>
</div>

</f:form>
</j:otherwise>
</j:choose>
</l:main-panel>
Expand Down

0 comments on commit 1c2fe6b

Please sign in to comment.