Commit 927f74ee authored by tmaruyama's avatar tmaruyama

Remove some inline styling and some depreciated table cell attributes and...

Remove some inline styling and some depreciated table cell attributes and replace them with proper class names.

Contributed by Andrew Smith.

git-svn-id: https://svn.redmine.org/redmine/trunk@9252 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4dbdc8ca
<table style="border-collapse: collapse; border:0;">
<table class="query-columns">
<tr>
<td style="padding-left:0">
<%= label_tag "available_columns", l(:description_available_columns) %>
......@@ -8,7 +8,7 @@
:multiple => true, :size => 10, :style => "width:150px",
:ondblclick => "moveOptions(this.form.available_columns, this.form.selected_columns);" %>
</td>
<td align="center" valign="middle">
<td class="buttons">
<input type="button" value="&#8594;"
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
<input type="button" value="&#8592;"
......@@ -22,7 +22,7 @@
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px",
:ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
</td>
<td align="center" valign="middle">
<td class="buttons">
<input type="button" value="&#8593;" onclick="moveOptionUp(this.form.selected_columns);" /><br />
<input type="button" value="&#8595;" onclick="moveOptionDown(this.form.selected_columns);" />
</td>
......
......@@ -239,6 +239,16 @@ table.attributes td { vertical-align: top; }
table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
table.query-columns {
border-collapse: collapse;
border: 0;
}
table.query-columns td.buttons {
vertical-align: middle;
text-align: center;
}
td.center {text-align:center;}
h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment