From 103cd46f781489bd804b93bbceecaee2f9993678 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 24 Mar 2012 00:02:49 +0000 Subject: [PATCH] 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 --- app/views/queries/_columns.html.erb | 6 +++--- public/stylesheets/application.css | 10 ++++++++++ 2 files changed, 13 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 @@ - +
- - diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index f73cbc666..937a69a83 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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; } -- 2.39.5
<%= 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);" %> +
'selected_columns', :multiple => true, :size => 10, :style => "width:150px", :ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
+