]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4520 fix rendering on Firefox
authorSimon Brandhof <simon.brandhof@gmail.com>
Fri, 16 Aug 2013 12:19:09 +0000 (14:19 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Fri, 16 Aug 2013 12:19:09 +0000 (14:19 +0200)
Left table borders are hidden on Firefox but not on Chrome

sonar-server/src/main/webapp/WEB-INF/app/views/email_configuration/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb

index dbbe4155ff0ac1c7ae6336a77c4503b2826dbcef..f5f7cadd4d10d815656713ef52ba994048d418d9 100644 (file)
@@ -1,10 +1,4 @@
-<style>
-  #body {
-    padding: 0 1px 0 0;
-  }
-</style>
-
-<% form_tag({:action => 'save'}) do -%>
+<form method="post" action="<%= ApplicationController.root_context -%>/email_configuration/save" class="marginbottom10">
   <table class="data form marginbottom10">
     <thead>
     <tr>
     </tr>
     </tfoot>
   </table>
-<% end -%>
-
-<br/>
+</form>
 
-<% form_tag({:action => 'send_test_email'}) do -%>
+<form method="post" action="<%= ApplicationController.root_context -%>/email_configuration/send_test_email">
   <table class="data form marginbottom10">
     <thead>
     <tr>
@@ -89,5 +81,4 @@
     </tr>
     </tbody>
   </table>
-<% end -%>
-
+</form>
\ No newline at end of file
index 413ff552aa0e6bb188199f0ecdc5bf4e71da0d38..bc6d28d6873cf3b51ed77d553689f477560b43d9 100644 (file)
@@ -1,10 +1,4 @@
-<style>
-  #body {
-    padding: 0 1px 0 0;
-  }
-</style>
-
-<% form_tag :action => 'generate' do %>
+<form method="post" action="<%= ApplicationController.root_context -%>/server_id_configuration/generate">
   <table class="data marginbottom10">
     <thead>
     <tr>
@@ -51,6 +45,6 @@
   </table>
 
   <%= submit_tag message('server_id_configuration.generate_button'), :disable_with => message('server_id_configuration.generating_button'), :id => 'generate-button' -%>
-<% end %>
+</form>