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/BlobPage.html | 47 +++++++++++++++++++++++++++-------------------- 1 files changed, 27 insertions(+), 20 deletions(-) diff --git a/src/com/gitblit/wicket/pages/BlobPage.html b/src/com/gitblit/wicket/pages/BlobPage.html index 6d04e18..2ca76e3 100644 --- a/src/com/gitblit/wicket/pages/BlobPage.html +++ b/src/com/gitblit/wicket/pages/BlobPage.html @@ -1,31 +1,38 @@ -<?xml version="1.0" encoding="UTF-8"?> -<html xmlns="http://www.w3.org/1999/xhtml" > -<head> +<!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"> + +<!-- contribute google-code-prettify resources to the page header --> +<wicket:head> + <wicket:link> <link href="prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="prettify/prettify.js"></script> -</head> + </wicket:link> +</wicket:head> + +<wicket:extend> +<!-- need to specify body.onload --> <body onload="prettyPrint()"> - <!-- page header --> - <div wicket:id="pageHeader"></div> - <!-- page nav links --> - <div wicket:id="pageLinks"></div> + <!-- page nav links --> + <div wicket:id="pageLinks">[page links]</div> - <!-- blob nav links --> - <div class="page_nav2"> - <span wicket:id="historyLink"></span> | <span wicket:id="rawLink"></span> | <span wicket:id="headLink"></span> - </div> + <!-- blob nav links --> + <div class="page_nav2"> + <span wicket:id="blameLink">[blame link]</span> | <a wicket:id="historyLink"><wicket:message key="gb.history"></wicket:message></a> | <a wicket:id="rawLink"><wicket:message key="gb.raw"></wicket:message></a> | <a wicket:id="headLink"><wicket:message key="gb.head"></wicket:message></a> + </div> - <!-- shortlog header --> - <div class="header" wicket:id="shortlog"></div> + <!-- shortlog header --> + <div class="header" wicket:id="shortlog">[shortlog header]</div> - <!-- breadcrumbs --> - <div wicket:id="breadcrumbs"></div> + <!-- breadcrumbs --> + <div wicket:id="breadcrumbs">[breadcrumbs]</div> - <!-- blob content --> - <pre wicket:id="blobText"></pre> + <!-- blob content --> + <pre style="border:0px;" wicket:id="blobText">[blob content]</pre> - <!-- footer --> - <div wicket:id="pageFooter"></div> </body> +</wicket:extend> </html> \ No newline at end of file -- Gitblit v1.9.1