From 01bd346efe98af0f05f23f897c0819d2df8d856c Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sat, 16 Apr 2011 16:47:14 -0400 Subject: [PATCH] Replaced three history placeholder labels with real links. --- src/com/gitblit/wicket/pages/SummaryPage.html | 101 +++++++++++++++++--------------------------------- 1 files changed, 35 insertions(+), 66 deletions(-) diff --git a/src/com/gitblit/wicket/pages/SummaryPage.html b/src/com/gitblit/wicket/pages/SummaryPage.html index 3eab0a1..7075bd2 100644 --- a/src/com/gitblit/wicket/pages/SummaryPage.html +++ b/src/com/gitblit/wicket/pages/SummaryPage.html @@ -1,76 +1,45 @@ -<?xml version="1.0" encoding="UTF-8"?> -<html xmlns="http://www.w3.org/1999/xhtml" > +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" + xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd" + xml:lang="en" + lang="en"> + <body> - <!-- page header --> - <div wicket:id="pageHeader"></div> - +<wicket:extend> + <!-- page nav links --> - <div wicket:id="pageLinks"></div> + <div wicket:id="pageLinks">[page links]</div> - <!-- repository info --> - <div class="title"> </div> - <table class="projects_list"> - <tr id="metadata_desc"><td>description</td><td><span wicket:id="repositoryDescription">Message goes here</span></td></tr> - <tr id="metadata_owner"><td>owner</td><td><span wicket:id="repositoryOwner">Message goes here</span></td></tr> - <tr id="metadata_lchange"><td>last change</td><td><span wicket:id="repositoryLastChange">Message goes here</span></td></tr> - <tr class="metadata_url"><td>URL</td><td><span wicket:id="repositoryCloneUrl">Message goes here</span></td></tr> - </table> - - - <!-- shortlog --> - <div class="header" wicket:id="shortlog"></div> + <div> + <!-- Repository Activity Chart --> + <div style="width:400px;float:right;"> + <img class="activityGraph" wicket:id="commitsChart" /> + </div> - <table class="project_list"> - <tbody> - <tr wicket:id="commit"> - <td><span wicket:id="commitDate"></span></td> - <td><i><span wicket:id="commitAuthor"></span></i></td> - <td><div wicket:id="commitShortMessage"></div></td> - <td><div wicket:id="commitRefs"></div></td> - <td><span wicket:id="commitLinks"></span></td> - </tr> - - <tr> - <td colspan="4"><div wicket:id="shortlogMore"></div></td> - </tr> - </tbody> - </table> + <!-- Repository info --> + <div style="margin-right:410px;"> + <table class="plain"> + <tr><th><wicket:message key="gb.description">description</wicket:message></th><td><span wicket:id="repositoryDescription">[repository description]</span></td></tr> + <tr><th><wicket:message key="gb.owner">owner</wicket:message></th><td><span wicket:id="repositoryOwner">[repository owner]</span></td></tr> + <tr><th><wicket:message key="gb.lastChange">last change</wicket:message></th><td><span wicket:id="repositoryLastChange">[repository last change]</span></td></tr> + <tr><th><wicket:message key="gb.url">URL</wicket:message></th><td><span wicket:id="repositoryCloneUrl">[repository clone url]</span></td></tr> + </table> + </div> + </div> + <!-- commits --> + <div style="padding-bottom:10px;" wicket:id="commitsPanel">[commits panel]</div> + + <!-- branches --> + <div style="padding-bottom:10px;width:400px; float:left;"> + <div wicket:id="branchesPanel">[branches panel]</div> + </div> <!-- tags --> - <div class="header" wicket:id="tags"></div> + <div style="padding-bottom:10px;margin-left:405px;"> + <div wicket:id="tagsPanel">[tags panel]</div> + </div> - <table class="project_list"> - <tbody> - <tr wicket:id="tag"> - <td><i><span wicket:id="tagDate"></span></i></td> - <td><div wicket:id="tagName"></div></td> - <td><div wicket:id="tagDescription"></div></td> - <td><span wicket:id="tagLinks"></span></td> - </tr> - - <tr> - <td colspan="4"><div wicket:id="tagsMore"></div></td> - </tr> - </tbody> - </table> - - - <!-- heads --> - <div class="header" wicket:id="heads"></div> - - <table class="heads"> - <tbody> - <tr wicket:id="head"> - <td><i><span wicket:id="headDate"></span></i></td> - <td><div wicket:id="headName"></div></td> - <td><span wicket:id="headLinks"></span></td> - </tr> - </tbody> - </table> - - - <!-- footer --> - <div wicket:id="pageFooter"></div> +</wicket:extend> </body> </html> \ No newline at end of file -- Gitblit v1.9.1