summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Milanesio <luca.milanesio@gmail.com>2014-11-29 16:24:25 +0000
committerLuca Milanesio <luca.milanesio@gmail.com>2014-11-29 16:24:43 +0000
commitad2c0a2b8323fb0f2c7f779a717b342ad35fad2b (patch)
tree67d447509ea21123f44cfe0729ff51909a699de6
parentb0501c33473771ba8c2f7404f6129aa65a8f203c (diff)
downloadgitblit-ad2c0a2b8323fb0f2c7f779a717b342ad35fad2b.tar.gz
gitblit-ad2c0a2b8323fb0f2c7f779a717b342ad35fad2b.zip
Allow different aspect rations for top-left logo
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.
-rw-r--r--src/main/java/com/gitblit/wicket/pages/LogoutPage.html2
-rw-r--r--src/main/java/com/gitblit/wicket/pages/RootPage.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/LogoutPage.html b/src/main/java/com/gitblit/wicket/pages/LogoutPage.html
index d4077830..ab3c0dae 100644
--- a/src/main/java/com/gitblit/wicket/pages/LogoutPage.html
+++ b/src/main/java/com/gitblit/wicket/pages/LogoutPage.html
@@ -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>
diff --git a/src/main/java/com/gitblit/wicket/pages/RootPage.html b/src/main/java/com/gitblit/wicket/pages/RootPage.html
index 2ff305f2..c51db819 100644
--- a/src/main/java/com/gitblit/wicket/pages/RootPage.html
+++ b/src/main/java/com/gitblit/wicket/pages/RootPage.html
@@ -14,7 +14,7 @@
<span class="icon-bar"></span>
</a>
<a class="brand" wicket:id="rootLink">
- <img src="logo.png" height="45" width="120" class="logo"/>
+ <img src="logo.png" width="120" class="logo"/>
</a>
<div class="nav-collapse">