Skip to content

Commit 2813061

Browse files
committed
Move presentational table attributes to CSS
Signed-off-by: Bob Du <i@bobdu.cc>
1 parent 9193c55 commit 2813061

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

src/main/resources/org/jenkinsci/plugins/scriptler/ScriptlerManagement/catalog.jelly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<tbody>
4949
<j:forEach var="t" items="${it.getCatalogByName(catalogName).entries}">
5050
<tr>
51-
<td class="scriptler-catalog-import" width="20">
51+
<td class="scriptler-catalog-import">
5252
<form method="post" action="downloadScript" class="scriptler-inline">
5353
<input type="hidden" name="id" value="${t.id}" />
5454
<input type="hidden" name="catalog" value="${catalogName}" />
@@ -71,7 +71,7 @@
7171
<td colspan="2" class="scriptler-catalog-meta">
7272
required core: ${t.core}
7373
</td>
74-
<td rowspan="2" valign="top" class="scriptler-catalog-params">
74+
<td rowspan="2" class="scriptler-catalog-params">
7575
<b>Parameters:</b><br />
7676
<j:forEach var="p" items="${t.parameters}">
7777
${p}<br />

src/main/resources/org/jenkinsci/plugins/scriptler/ScriptlerManagement/index.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<j:set var="approved" value="${i.approved}" />
4040
<j:set var="t" value="${i.script}" />
4141
<tr>
42-
<td class="scriptler-toolbar" width="1%">
42+
<td class="scriptler-toolbar">
4343
<j:choose>
4444
<j:when test="${approved == null}">
4545
<l:icon tooltip="${%fileNotAvailable}" src="symbol-remove-circle plugin-ionicons-api" class="icon-sm jenkins-!-error-color" />

src/main/webapp/scriptler.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,14 @@
7373
white-space: normal;
7474
}
7575

76+
.scriptler-catalog-params {
77+
vertical-align: top;
78+
}
79+
7680
.scriptler-catalog-import {
7781
text-align: center;
7882
white-space: nowrap;
79-
width: 1%;
83+
width: 20px;
8084
}
8185

8286
.scriptler-run-form,

0 commit comments

Comments
 (0)