diff options
-rw-r--r-- | src/main/java/com/gitblit/servlet/GitblitContext.java | 10 | ||||
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/LogoutPage.html | 2 | ||||
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/RootPage.html | 2 |
3 files changed, 9 insertions, 5 deletions
diff --git a/src/main/java/com/gitblit/servlet/GitblitContext.java b/src/main/java/com/gitblit/servlet/GitblitContext.java index fa0534db..077624c2 100644 --- a/src/main/java/com/gitblit/servlet/GitblitContext.java +++ b/src/main/java/com/gitblit/servlet/GitblitContext.java @@ -261,9 +261,13 @@ public class GitblitContext extends GuiceServletContextListener { protected <X extends IManager> X startManager(Injector injector, Class<X> clazz) { X x = loadManager(injector, clazz); logManager(clazz); - x.start(); - managers.add(x); - return x; + return startManager(x); + } + + protected <X extends IManager> X startManager(X x) { + x.start(); + managers.add(x); + return x; } protected void logManager(Class<? extends IManager> clazz) { 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">
|