]> source.dussan.org Git - sonarqube.git/commitdiff
fix nonav pages
authorStas Vilchik <vilchiks@gmail.com>
Wed, 18 Feb 2015 12:20:05 +0000 (13:20 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 18 Feb 2015 12:20:05 +0000 (13:20 +0100)
server/sonar-web/src/main/less/components/page.less
server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/nonav.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/maintenance/index.html.erb

index b7c36555d0bcc778c06a4af33ebd20f9ffbfd225..05c57de58a9aacd7eeacbc942fa0eb1a8b8bbccf 100644 (file)
   padding-top: @navbarGlobalHeight + @navbarContextHeight;
 }
 
+.page-simple {
+  margin: 50px 180px 0;
+  text-align: left;
+}
+
 .page-header {
   .clearfix;
   margin-bottom: 10px;
index 7637ea77cf9ab2d6dbf816cd3d8192eb4742fd62..2c76816b05c42b4efd7f399540c92c0ae0739a61 100644 (file)
@@ -1,7 +1,7 @@
 <%= render :partial => 'layouts/head' %>
 <div>
   <div id="bd">
-    <div id="nonav">
+    <div id="nonav" class="page-simple">
       <%= yield %>
     </div>
   </div>
index 8571ebb1edd497b03134dd762795af8febb4c620..87c55d928722cf336335fe6532796ee2c30a6573 100644 (file)
@@ -4,14 +4,9 @@
   border: 2px solid #4B9FD5;
   background-color: #CAE3F2;
 }
-#maintenancelogo {
-  float: right;
-  padding-left: 20px;
-}
 </style>
 
 <div id="maintenance">
-<div id="maintenancelogo"><a href="http://www.sonarqube.org"><%= image_tag('logo.png', :class => 'png') -%></a></div>
 <h1>SonarQube is under maintenance. <a href="<%= ApplicationController.root_context -%>/">Please check back later.</a></h1>
 <p>Whilst waiting, you might want to check <a href="http://sonar-plugins.codehaus.org">new plugins</a> to extend the current functionality. </p><p>If you are an administrator and have no idea why this message is showing, you should read the <a href="http://redirect.sonarsource.com/doc/upgrading.html">upgrade guide</a>.</p>
 </div>