From: Jean-Baptiste Lievremont Date: Mon, 12 May 2014 08:34:08 +0000 (+0200) Subject: SONAR-4636 Extract branded resources and prepare for unbranded builds X-Git-Tag: 4.4-RC1~1126 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5dc170c7a8b0d416d684e901672a3f10d6394f3;p=sonarqube.git SONAR-4636 Extract branded resources and prepare for unbranded builds --- diff --git a/sonar-server/pom.xml b/sonar-server/pom.xml index 335705fda92..8c38874b515 100644 --- a/sonar-server/pom.xml +++ b/sonar-server/pom.xml @@ -13,6 +13,7 @@ default + file:${basedir}/src/main/erb/branding src/main/java,src/main/js @@ -257,6 +258,32 @@ + + org.apache.maven.plugins + maven-antrun-plugin + + + download-branding-resources + process-resources + + run + + + + + + + + + + + org.apache.maven.plugins maven-resources-plugin diff --git a/sonar-server/src/main/erb/branding/_footer.html.erb b/sonar-server/src/main/erb/branding/_footer.html.erb new file mode 100644 index 00000000000..17057651da0 --- /dev/null +++ b/sonar-server/src/main/erb/branding/_footer.html.erb @@ -0,0 +1 @@ +
SonarQube™ technology is powered by SonarSource SA
diff --git a/sonar-server/src/main/erb/branding/logo.png b/sonar-server/src/main/erb/branding/logo.png new file mode 100644 index 00000000000..18a2bf63d5c Binary files /dev/null and b/sonar-server/src/main/erb/branding/logo.png differ diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/branding/_footer.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/branding/_footer.html.erb new file mode 100644 index 00000000000..63abc76f030 --- /dev/null +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/branding/_footer.html.erb @@ -0,0 +1 @@ +
TODO
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index 38d86a3f656..b154e543bd1 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -166,8 +166,9 @@ <% end %> <%= yield :sidebar %> + @@ -204,7 +205,7 @@ <% end %> <% end %>