}\r
\r
body {\r
+ width: 980px;\r
margin: 5px;\r
background-color: #ffffff;\r
color: #000000;\r
+ margin-right: auto;\r
+ margin-left: auto;\r
+ margin-top: none;\r
+ padding: 0px;\r
}\r
\r
pre.prettyprint, pre.plainprint {\r
size = walk.getObjectReader().getObjectSize(walk.getObjectId(0), Constants.OBJ_BLOB);\r
}\r
} catch (Throwable t) {\r
- LOGGER.error("Failed to retrieve blobl size", t);\r
+ LOGGER.error("Failed to retrieve blob size", t);\r
}\r
return new PathModel(name, walk.getPathString(), size, walk.getFileMode(0).getBits(), commit.getName());\r
}\r
import com.gitblit.StoredSettings;\r
import com.gitblit.utils.JGitUtils;\r
import com.gitblit.wicket.models.RepositoryModel;\r
-import com.gitblit.wicket.pages.AboutPage;\r
import com.gitblit.wicket.pages.BlobPage;\r
import com.gitblit.wicket.pages.CommitPage;\r
import com.gitblit.wicket.pages.HeadsPage;\r
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);\r
\r
// setup the url paths\r
- mount(new MixedParamUrlCodingStrategy("/about", AboutPage.class, new String[] { }));\r
mount(new MixedParamUrlCodingStrategy("/summary", SummaryPage.class, new String[] { "p" }));\r
mount(new MixedParamUrlCodingStrategy("/shortlog", ShortLogPage.class, new String[] { "p", "h" }));\r
mount(new MixedParamUrlCodingStrategy("/tags", TagsPage.class, new String[] { "p" }));\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<html xmlns="http://www.w3.org/1999/xhtml" >\r
-<body>\r
- <div wicket:id="pageHeader"></div>\r
- \r
- <img src="gitblt2.png" />\r
- \r
- <!-- footer -->\r
- <div wicket:id="pageFooter"></div>\r
-</body>\r
-</html>
\ No newline at end of file
+++ /dev/null
-package com.gitblit.wicket.pages;\r
-\r
-import com.gitblit.wicket.BasePage;\r
-import com.gitblit.wicket.panels.PageFooter;\r
-import com.gitblit.wicket.panels.PageHeader;\r
-\r
-\r
-public class AboutPage extends BasePage {\r
-\r
- public AboutPage() {\r
- add(new PageHeader("pageHeader"));\r
-\r
- add(new PageFooter("pageFooter"));\r
- }\r
-}\r
\r
<!-- shortlog --> \r
<div style="margin-top:5px;" class="header" wicket:id="summary"></div> \r
- <table class="pretty">\r
+ <table style="width:100%" "class="pretty">\r
<tbody>\r
<tr wicket:id="commit">\r
<td class="date"><span wicket:id="commitDate"></span></td>\r
\r
<div>\r
<!-- Repository Activity Chart --> \r
- <div style="width:50%;float:right;">\r
+ <div style="width:400px;float:right;">\r
<img class="activityGraph" wicket:id="commitsChart" />\r
</div> \r
\r
<!-- Repository info -->\r
- <div style="width:50%;"> \r
+ <div style="margin-right:410px;"> \r
<table class="plain">\r
<tr><th>description</th><td><span wicket:id="repositoryDescription">Message goes here</span></td></tr>\r
<tr><th>owner</th><td><span wicket:id="repositoryOwner">Message goes here</span></td></tr>\r
<div class="pager" wicket:id="shortlogMore"></div>\r
\r
<!-- Open Heads Body -->\r
- <div style="width:34%;float:right;">\r
+ <div style="width:300px;float:right;">\r
<!-- heads -->\r
<div class="header" wicket:id="heads"></div> \r
<table style="width:100%" class="pretty">\r
</div>\r
\r
<!-- Open Tags body -->\r
- <div style="width:65%">\r
+ <div style="margin-right:305px;">\r
<!-- tags -->\r
<div class="header" wicket:id="tags"></div> \r
<table style="width:100%" class="pretty">\r
<div wicket:id="breadcrumbs"></div>\r
\r
<!-- changed paths --> \r
- <table class="pretty">\r
+ <table style="width:100%" class="pretty">\r
<tr wicket:id="changedPath">\r
<td><span wicket:id="pathName"></span></td> \r
<td class="size"><span wicket:id="pathSize"></span></td>\r
<wicket:panel>\r
<div class="page_footer">\r
<div style="float:right">\r
- <span wicket:id="gbVersion"></span> | \r
- <a title="about git:blit" href="about">About Git:Blit</a>\r
+ <a href="http://gitblit.com"><span wicket:id="gbVersion"></span></a> \r
</div>\r
<div wicket:id="footerText"></div>\r
</div>\r