]> source.dussan.org Git - gitblit.git/commitdiff
Allow different aspect rations for top-left logo 236/head
authorLuca Milanesio <luca.milanesio@gmail.com>
Sat, 29 Nov 2014 16:24:25 +0000 (16:24 +0000)
committerLuca Milanesio <luca.milanesio@gmail.com>
Sat, 29 Nov 2014 16:24:43 +0000 (16:24 +0000)
When configuring a different top-left logo, we would like to allow
to have a different HxW aspect ratio image. We need then to avoid
locking down the height of the logo and just keep the existing aspect
ration as-is.

src/main/java/com/gitblit/wicket/pages/LogoutPage.html
src/main/java/com/gitblit/wicket/pages/RootPage.html

index d4077830eb208a52b59c4aa8fdabfd4481171d01..ab3c0daea0307bf2a50522558338d1243ed0bee7 100644 (file)
@@ -14,7 +14,7 @@
                                <span class="icon-bar"></span>
                        </a>
                                <a class="brand" wicket:id="rootLink">
-                                       <img src="gitblt_25_white.png" width="79" height="25" alt="gitblit" class="logo"/>
+                                       <img src="gitblt_25_white.png" width="79" alt="gitblit" class="logo"/>
                                </a>
                                
                        </div>
index 2ff305f2a76b9f4370d63b07316ec5b0dba28053..c51db8193caea003d0d6875e76e3bcab471f6cc0 100644 (file)
@@ -14,7 +14,7 @@
                                <span class="icon-bar"></span>\r
                        </a>\r
                                <a class="brand" wicket:id="rootLink">\r
-                                       <img src="logo.png" height="45" width="120" class="logo"/>\r
+                                       <img src="logo.png" width="120" class="logo"/>\r
                                </a>\r
                                \r
                                <div class="nav-collapse">\r