aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-09-23 23:09:56 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-09-23 23:09:56 +0200
commit53ca5c30fcf2e6a3592c529df8007eb965d929d4 (patch)
tree9b1b0058411be97efd6a5eb553da6beefe3159ab
parentc691356f2c75e153ed95f0bab00628096abea657 (diff)
downloadsonarqube-53ca5c30fcf2e6a3592c529df8007eb965d929d4.tar.gz
sonarqube-53ca5c30fcf2e6a3592c529df8007eb965d929d4.zip
Fix CSS in production mode
-rw-r--r--sonar-server/pom.xml1
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/confirm/_confirm.html.erb6
2 files changed, 4 insertions, 3 deletions
diff --git a/sonar-server/pom.xml b/sonar-server/pom.xml
index 6aa82e08b81..ba1baea82fd 100644
--- a/sonar-server/pom.xml
+++ b/sonar-server/pom.xml
@@ -258,6 +258,7 @@
<aggregation>
<includes>
<include>**/yui-reset-font-min.css</include>
+ <include>**/jquery-ui-min.css</include>
<include>**/select2-min.css</include>
<include>**/layout-min.css</include>
<include>**/style-min.css</include>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/confirm/_confirm.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/confirm/_confirm.html.erb
index 3f816a061a4..16a879d0ad1 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/confirm/_confirm.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/confirm/_confirm.html.erb
@@ -3,7 +3,7 @@
message_key = params[:mk] || 'are_you_sure'
message_params = params[:mp] || []
%>
-<form id="form-confirm" method="post" action="<%= params[:url] -%>">
+<form id="confirm-form" method="post" action="<%= params[:url] -%>">
<fieldset>
<div class="form-head">
<h2><%= h message title_key -%></h2>
@@ -15,8 +15,8 @@
</div>
</div>
<div class="form-foot">
- <input type="submit" value="<%= h message('confirm') -%>"/>
- <a href="#" onclick="return closeModalWindow()"><%= h message('cancel') -%></a>
+ <input type="submit" value="<%= h message('confirm') -%>" id="confirm-submit"/>
+ <a href="#" onclick="return closeModalWindow()" id="confirm-cancel"><%= h message('cancel') -%></a>
</div>
</fieldset>
</form> \ No newline at end of file