Remove some inline styling and some depreciated table cell attributes and replace them with proper class names.
Contributed by Andrew Smith. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9252 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8bc638f404
commit
103cd46f78
|
@ -1,4 +1,4 @@
|
||||||
<table style="border-collapse: collapse; border:0;">
|
<table class="query-columns">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="padding-left:0">
|
<td style="padding-left:0">
|
||||||
<%= label_tag "available_columns", l(:description_available_columns) %>
|
<%= label_tag "available_columns", l(:description_available_columns) %>
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
:multiple => true, :size => 10, :style => "width:150px",
|
:multiple => true, :size => 10, :style => "width:150px",
|
||||||
:ondblclick => "moveOptions(this.form.available_columns, this.form.selected_columns);" %>
|
:ondblclick => "moveOptions(this.form.available_columns, this.form.selected_columns);" %>
|
||||||
</td>
|
</td>
|
||||||
<td align="center" valign="middle">
|
<td class="buttons">
|
||||||
<input type="button" value="→"
|
<input type="button" value="→"
|
||||||
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
|
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
|
||||||
<input type="button" value="←"
|
<input type="button" value="←"
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px",
|
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px",
|
||||||
:ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
|
:ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
|
||||||
</td>
|
</td>
|
||||||
<td align="center" valign="middle">
|
<td class="buttons">
|
||||||
<input type="button" value="↑" onclick="moveOptionUp(this.form.selected_columns);" /><br />
|
<input type="button" value="↑" onclick="moveOptionUp(this.form.selected_columns);" /><br />
|
||||||
<input type="button" value="↓" onclick="moveOptionDown(this.form.selected_columns);" />
|
<input type="button" value="↓" onclick="moveOptionDown(this.form.selected_columns);" />
|
||||||
</td>
|
</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.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;}
|
td.center {text-align:center;}
|
||||||
|
|
||||||
h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
|
h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
|
||||||
|
|
Loading…
Reference in New Issue