##// END OF EJS Templates
Remove some inline styling and some depreciated table cell attributes and replace them with proper class names....
Toshi MARUYAMA -
r9132:103cd46f7814
parent child
Show More
@@ -1,4 +1,4
1 <table style="border-collapse: collapse; border:0;">
1 <table class="query-columns">
2 <tr>
2 <tr>
3 <td style="padding-left:0">
3 <td style="padding-left:0">
4 <%= label_tag "available_columns", l(:description_available_columns) %>
4 <%= label_tag "available_columns", l(:description_available_columns) %>
@@ -8,7 +8,7
8 :multiple => true, :size => 10, :style => "width:150px",
8 :multiple => true, :size => 10, :style => "width:150px",
9 :ondblclick => "moveOptions(this.form.available_columns, this.form.selected_columns);" %>
9 :ondblclick => "moveOptions(this.form.available_columns, this.form.selected_columns);" %>
10 </td>
10 </td>
11 <td align="center" valign="middle">
11 <td class="buttons">
12 <input type="button" value="&#8594;"
12 <input type="button" value="&#8594;"
13 onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
13 onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
14 <input type="button" value="&#8592;"
14 <input type="button" value="&#8592;"
@@ -22,7 +22,7
22 :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px",
22 :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px",
23 :ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
23 :ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
24 </td>
24 </td>
25 <td align="center" valign="middle">
25 <td class="buttons">
26 <input type="button" value="&#8593;" onclick="moveOptionUp(this.form.selected_columns);" /><br />
26 <input type="button" value="&#8593;" onclick="moveOptionUp(this.form.selected_columns);" /><br />
27 <input type="button" value="&#8595;" onclick="moveOptionDown(this.form.selected_columns);" />
27 <input type="button" value="&#8595;" onclick="moveOptionDown(this.form.selected_columns);" />
28 </td>
28 </td>
@@ -239,6 +239,16 table.attributes td { vertical-align: top; }
239
239
240 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
240 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
241
241
242 table.query-columns {
243 border-collapse: collapse;
244 border: 0;
245 }
246
247 table.query-columns td.buttons {
248 vertical-align: middle;
249 text-align: center;
250 }
251
242 td.center {text-align:center;}
252 td.center {text-align:center;}
243
253
244 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
254 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
General Comments 0
You need to be logged in to leave comments. Login now