summaryrefslogtreecommitdiffstats
path: root/app/views/queries
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-24 00:02:49 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-24 00:02:49 +0000
commit103cd46f781489bd804b93bbceecaee2f9993678 (patch)
tree82c8dd851cb218deda4b31a3220b5b226e7ef8e6 /app/views/queries
parent8bc638f404ac931bf3ce739c4ed59b902f97bef2 (diff)
downloadredmine-103cd46f781489bd804b93bbceecaee2f9993678.tar.gz
redmine-103cd46f781489bd804b93bbceecaee2f9993678.zip
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
Diffstat (limited to 'app/views/queries')
-rw-r--r--app/views/queries/_columns.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/queries/_columns.html.erb b/app/views/queries/_columns.html.erb
index a996aa34c..7c1f8d5ab 100644
--- a/app/views/queries/_columns.html.erb
+++ b/app/views/queries/_columns.html.erb
@@ -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) %>
@@ -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>