Remove some inline styling and some depreciated table cell attributes and replace them with proper class names.
This commit is contained in:
parent
1cfd20e7e7
commit
fd250726ce
|
@ -1,4 +1,4 @@
|
|||
<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) %>
|
||||
|
@ -7,7 +7,7 @@
|
|||
options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
|
||||
:multiple => true, :size => 10, :style => "width:150px" %>
|
||||
</td>
|
||||
<td align="center" valign="middle">
|
||||
<td class="buttons">
|
||||
<input type="button" value="→"
|
||||
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
|
||||
<input type="button" value="←"
|
||||
|
@ -20,7 +20,7 @@
|
|||
options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
|
||||
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
|
||||
</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="moveOptionDown(this.form.selected_columns);" />
|
||||
</td>
|
||||
|
|
|
@ -204,6 +204,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; }
|
||||
|
|
Loading…
Reference in New Issue