From: Fabrice Bellingard Date: Fri, 28 Oct 2011 11:39:17 +0000 (+0200) Subject: SONAR-2698 Display of arrows to sort columns X-Git-Tag: 2.12~89 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ad752bfafd74c852bb7fda23d277685b684fd9fa;p=sonarqube.git SONAR-2698 Display of arrows to sort columns --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/components/_list_table_header.rhtml b/sonar-server/src/main/webapp/WEB-INF/app/views/components/_list_table_header.rhtml index 14fb516daf0..fca08c7e99d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/components/_list_table_header.rhtml +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/components/_list_table_header.rhtml @@ -29,7 +29,7 @@ <%= message('name') -%> <% configured_columns.each do |column| %> - <%= column.name %> + <%= column.name %> <% end %> \ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/manual_measures/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/manual_measures/index.html.erb index 83ad8e38e64..49ce4a2a9f2 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/manual_measures/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/manual_measures/index.html.erb @@ -29,8 +29,8 @@ <%= message('manual_measures.col.metric') -%> <%= message('manual_measures.col.value') -%> <%= message('manual_measures.col.description') -%> - <%= message('manual_measures.col.author') -%> - <%= message('manual_measures.col.date') -%> + <%= message('manual_measures.col.author') -%> + <%= message('manual_measures.col.date') -%> <%= message('manual_measures.col.operations') -%> diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css index f2a5f0ec921..598a30fc699 100644 --- a/sonar-server/src/main/webapp/stylesheets/style.css +++ b/sonar-server/src/main/webapp/stylesheets/style.css @@ -578,7 +578,7 @@ table.data th img, table.data td img { table.sortable .sortcol { cursor: pointer; - padding-right: 15px; + padding-left: 15px; background-repeat: no-repeat; background-position: right center; text-decoration: underline; @@ -586,11 +586,16 @@ table.sortable .sortcol { table.sortable .sortasc { background-image: url('../images/bullet_arrow_up.gif'); - background-position: right center; + background-position: left center; } table.sortable .sortdesc { background-image: url('../images/bullet_arrow_down.gif'); + background-position: left center; +} + +table.sortable .righticon { + padding-right: 15px; background-position: right center; }