summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-04-05 08:24:53 -0400
committerJames Moger <james.moger@gitblit.com>2011-04-05 08:24:53 -0400
commitce33be67c4c8c783713ad51c187e8296ed71f233 (patch)
tree95aa79311455d9286475c15431e795c3676f5ad6 /src
parentfb01c9c8cc36ac28c895b6b7daad39038f3d17a2 (diff)
downloadgitblit-ce33be67c4c8c783713ad51c187e8296ed71f233.tar.gz
gitblit-ce33be67c4c8c783713ad51c187e8296ed71f233.zip
Fixed-width 980px and centered. Dropped About.
Diffstat (limited to 'src')
-rw-r--r--src/com/gitblit/utils/JGitUtils.java2
-rw-r--r--src/com/gitblit/wicket/GitBlitWebApp.java2
-rw-r--r--src/com/gitblit/wicket/pages/AboutPage.html11
-rw-r--r--src/com/gitblit/wicket/pages/AboutPage.java15
-rw-r--r--src/com/gitblit/wicket/pages/ShortLogPage.html2
-rw-r--r--src/com/gitblit/wicket/pages/SummaryPage.html8
-rw-r--r--src/com/gitblit/wicket/pages/TreePage.html2
-rw-r--r--src/com/gitblit/wicket/panels/PageFooter.html3
8 files changed, 8 insertions, 37 deletions
diff --git a/src/com/gitblit/utils/JGitUtils.java b/src/com/gitblit/utils/JGitUtils.java
index 16a0e9bc..0c29eab8 100644
--- a/src/com/gitblit/utils/JGitUtils.java
+++ b/src/com/gitblit/utils/JGitUtils.java
@@ -283,7 +283,7 @@ public class JGitUtils {
size = walk.getObjectReader().getObjectSize(walk.getObjectId(0), Constants.OBJ_BLOB);
}
} catch (Throwable t) {
- LOGGER.error("Failed to retrieve blobl size", t);
+ LOGGER.error("Failed to retrieve blob size", t);
}
return new PathModel(name, walk.getPathString(), size, walk.getFileMode(0).getBits(), commit.getName());
}
diff --git a/src/com/gitblit/wicket/GitBlitWebApp.java b/src/com/gitblit/wicket/GitBlitWebApp.java
index 86b6ba6e..b5baa653 100644
--- a/src/com/gitblit/wicket/GitBlitWebApp.java
+++ b/src/com/gitblit/wicket/GitBlitWebApp.java
@@ -28,7 +28,6 @@ import com.gitblit.GitBlitServer;
import com.gitblit.StoredSettings;
import com.gitblit.utils.JGitUtils;
import com.gitblit.wicket.models.RepositoryModel;
-import com.gitblit.wicket.pages.AboutPage;
import com.gitblit.wicket.pages.BlobPage;
import com.gitblit.wicket.pages.CommitPage;
import com.gitblit.wicket.pages.HeadsPage;
@@ -60,7 +59,6 @@ public class GitBlitWebApp extends WebApplication {
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
// setup the url paths
- mount(new MixedParamUrlCodingStrategy("/about", AboutPage.class, new String[] { }));
mount(new MixedParamUrlCodingStrategy("/summary", SummaryPage.class, new String[] { "p" }));
mount(new MixedParamUrlCodingStrategy("/shortlog", ShortLogPage.class, new String[] { "p", "h" }));
mount(new MixedParamUrlCodingStrategy("/tags", TagsPage.class, new String[] { "p" }));
diff --git a/src/com/gitblit/wicket/pages/AboutPage.html b/src/com/gitblit/wicket/pages/AboutPage.html
deleted file mode 100644
index f6c49cf1..00000000
--- a/src/com/gitblit/wicket/pages/AboutPage.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<html xmlns="http://www.w3.org/1999/xhtml" >
-<body>
- <div wicket:id="pageHeader"></div>
-
- <img src="gitblt2.png" />
-
- <!-- footer -->
- <div wicket:id="pageFooter"></div>
-</body>
-</html> \ No newline at end of file
diff --git a/src/com/gitblit/wicket/pages/AboutPage.java b/src/com/gitblit/wicket/pages/AboutPage.java
deleted file mode 100644
index fb34f73d..00000000
--- a/src/com/gitblit/wicket/pages/AboutPage.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package com.gitblit.wicket.pages;
-
-import com.gitblit.wicket.BasePage;
-import com.gitblit.wicket.panels.PageFooter;
-import com.gitblit.wicket.panels.PageHeader;
-
-
-public class AboutPage extends BasePage {
-
- public AboutPage() {
- add(new PageHeader("pageHeader"));
-
- add(new PageFooter("pageFooter"));
- }
-}
diff --git a/src/com/gitblit/wicket/pages/ShortLogPage.html b/src/com/gitblit/wicket/pages/ShortLogPage.html
index ffc0a678..f1daa272 100644
--- a/src/com/gitblit/wicket/pages/ShortLogPage.html
+++ b/src/com/gitblit/wicket/pages/ShortLogPage.html
@@ -9,7 +9,7 @@
<!-- shortlog -->
<div style="margin-top:5px;" class="header" wicket:id="summary"></div>
- <table class="pretty">
+ <table style="width:100%" "class="pretty">
<tbody>
<tr wicket:id="commit">
<td class="date"><span wicket:id="commitDate"></span></td>
diff --git a/src/com/gitblit/wicket/pages/SummaryPage.html b/src/com/gitblit/wicket/pages/SummaryPage.html
index 9ed69293..f5697cd6 100644
--- a/src/com/gitblit/wicket/pages/SummaryPage.html
+++ b/src/com/gitblit/wicket/pages/SummaryPage.html
@@ -9,12 +9,12 @@
<div>
<!-- Repository Activity Chart -->
- <div style="width:50%;float:right;">
+ <div style="width:400px;float:right;">
<img class="activityGraph" wicket:id="commitsChart" />
</div>
<!-- Repository info -->
- <div style="width:50%;">
+ <div style="margin-right:410px;">
<table class="plain">
<tr><th>description</th><td><span wicket:id="repositoryDescription">Message goes here</span></td></tr>
<tr><th>owner</th><td><span wicket:id="repositoryOwner">Message goes here</span></td></tr>
@@ -40,7 +40,7 @@
<div class="pager" wicket:id="shortlogMore"></div>
<!-- Open Heads Body -->
- <div style="width:34%;float:right;">
+ <div style="width:300px;float:right;">
<!-- heads -->
<div class="header" wicket:id="heads"></div>
<table style="width:100%" class="pretty">
@@ -57,7 +57,7 @@
</div>
<!-- Open Tags body -->
- <div style="width:65%">
+ <div style="margin-right:305px;">
<!-- tags -->
<div class="header" wicket:id="tags"></div>
<table style="width:100%" class="pretty">
diff --git a/src/com/gitblit/wicket/pages/TreePage.html b/src/com/gitblit/wicket/pages/TreePage.html
index 34806bbc..174e4278 100644
--- a/src/com/gitblit/wicket/pages/TreePage.html
+++ b/src/com/gitblit/wicket/pages/TreePage.html
@@ -19,7 +19,7 @@
<div wicket:id="breadcrumbs"></div>
<!-- changed paths -->
- <table class="pretty">
+ <table style="width:100%" class="pretty">
<tr wicket:id="changedPath">
<td><span wicket:id="pathName"></span></td>
<td class="size"><span wicket:id="pathSize"></span></td>
diff --git a/src/com/gitblit/wicket/panels/PageFooter.html b/src/com/gitblit/wicket/panels/PageFooter.html
index be1971ce..1d55ca35 100644
--- a/src/com/gitblit/wicket/panels/PageFooter.html
+++ b/src/com/gitblit/wicket/panels/PageFooter.html
@@ -3,8 +3,7 @@
<wicket:panel>
<div class="page_footer">
<div style="float:right">
- <span wicket:id="gbVersion"></span> |
- <a title="about git:blit" href="about">About Git:Blit</a>
+ <a href="http://gitblit.com"><span wicket:id="gbVersion"></span></a>
</div>
<div wicket:id="footerText"></div>
</div>