aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-08-16 14:19:09 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-08-16 14:19:09 +0200
commit906c2b413615c37ead1371bb1422be4c733747fd (patch)
tree5f2cc52ef1f469366e273609959808f9d7981383 /sonar-server
parent6ed0c6c21ad38ece31a96c9db3e2fdfa0e07eb21 (diff)
downloadsonarqube-906c2b413615c37ead1371bb1422be4c733747fd.tar.gz
sonarqube-906c2b413615c37ead1371bb1422be4c733747fd.zip
SONAR-4520 fix rendering on Firefox
Left table borders are hidden on Firefox but not on Chrome
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/email_configuration/index.html.erb17
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb10
2 files changed, 6 insertions, 21 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/email_configuration/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/email_configuration/index.html.erb
index dbbe4155ff0..f5f7cadd4d1 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/email_configuration/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/email_configuration/index.html.erb
@@ -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>
@@ -56,11 +50,9 @@
</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
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb
index 413ff552aa0..bc6d28d6873 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb
@@ -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>