From f29a780d66e454661db05ff92fd5f0abb6512473 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 21 Jan 2015 13:45:49 +0100 Subject: [PATCH] fix SONAR-6041 move sonarqube logo to the footer --- server/sonar-web/src/main/less/style.less | 18 ++++++++++++++++++ .../WEB-INF/app/views/layouts/_layout.html.erb | 3 +++ .../WEB-INF/app/views/layouts/_logo.html.erb | 18 ++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_logo.html.erb diff --git a/server/sonar-web/src/main/less/style.less b/server/sonar-web/src/main/less/style.less index bef12e86ca4..4ab1a03b86d 100644 --- a/server/sonar-web/src/main/less/style.less +++ b/server/sonar-web/src/main/less/style.less @@ -44,6 +44,24 @@ line-height: 1.4; } +.footer-logo { + margin-top: 10px; + text-align: center; + + .sq-logo { + display: inline-block; + } + + .sq-logo .sq-logo-letter { + fill: @black; + } + + .sq-logo .sq-logo-arc { + fill: @blue; + } + +} + .ie-warn { color: #EEE; background: #FF5252; diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index 5705ddc4883..421e99d7e03 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -52,6 +52,9 @@ Get Support - Plugins - Web Service API + <% unless DatabaseVersion.production? %>

Embedded database should be used for evaluation purpose only

The embedded database will not scale, it will not support upgrading to newer versions of SonarQube, and there is no support for migrating your data out of it into a different database engine. diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_logo.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_logo.html.erb new file mode 100644 index 00000000000..fcb273a09ae --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_logo.html.erb @@ -0,0 +1,18 @@ + -- 2.39.5