Mercurial > hg
changeset 3271:36fa5db79dd5
hgweb: convert gitweb to NWI
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 05 Oct 2006 14:27:14 -0700 |
parents | a7370503d800 |
children | 10277edf7e5b |
files | templates/gitweb/changelog.tmpl templates/gitweb/changelogentry.tmpl templates/gitweb/changeset.tmpl templates/gitweb/error.tmpl templates/gitweb/fileannotate.tmpl templates/gitweb/filelog.tmpl templates/gitweb/filerevision.tmpl templates/gitweb/footer.tmpl templates/gitweb/header.tmpl templates/gitweb/manifest.tmpl templates/gitweb/search.tmpl templates/gitweb/shortlog.tmpl templates/gitweb/summary.tmpl templates/gitweb/tags.tmpl templates/map-gitweb |
diffstat | 15 files changed, 122 insertions(+), 83 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/gitweb/changelog.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/changelog.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,26 +1,24 @@ #header# <title>#repo|escape#: Changelog</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / changelog +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / changelog </div> -<form action="#"> +<form action="{url}log"> <div class="search"> -<input type="hidden" name="repo" value="#repo|escape#" /> <input type="hidden" name="style" value="gitweb" /> -<input type="hidden" name="cmd" value="changelog" /> <input type="text" name="rev" /> </div> </form> </div> <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;rev=#rev#;style=gitweb">shortlog</a> | changelog | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a>#archives%archiveentry#<br/> +<a href="{url}summary{getentries}">summary</a> | <a href="{url}shortlog/#rev#{getentries}">shortlog</a> | changelog | <a href="{url}tags{getentries}">tags</a> | <a href="{url}file/#node|short#{getentries}">manifest</a>#archives%archiveentry#<br/> <br/> #changenav%naventry#<br/> </div>
--- a/templates/gitweb/changelogentry.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/changelogentry.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,9 +1,9 @@ <div> -<a class="title" href="?cmd=changeset;node=#node#;style=gitweb"><span class="age">#date|age# ago</span>#desc|strip|firstline|escape#</a> +<a class="title" href="{url}rev/#node|short#{getentries}"><span class="age">#date|age# ago</span>#desc|strip|firstline|escape#</a> </div> <div class="title_text"> <div class="log_link"> -<a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a><br/> +<a href="{url}rev/#node|short#{getentries}">changeset</a><br/> </div> <i>#author|obfuscate# [#date|rfc822date#] rev #rev#</i><br/> </div>
--- a/templates/gitweb/changeset.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/changeset.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,27 +1,27 @@ #header# <title>#repo|escape#: Changeset</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / changeset +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="#url#summary{getentries}">#repo|escape#</a> / changeset </div> <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;rev=#rev#;style=gitweb">shortlog</a> | <a href="?cmd=changelog;rev=#rev#;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a> | changeset | <a href="?cmd=changeset;node=#node#;style=raw">raw</a> #archives%archiveentry#<br/> +<a href="{url}summary{getentries}">summary</a> | <a href="{url}shortlog/#rev#{getentries}">shortlog</a> | <a href="{url}log/#rev#{getentries}">changelog</a> | <a href="{url}tags{getentries}">tags</a> | <a href="{url}file/#node|short#{getentries}">manifest</a> | changeset | <a href="{url}raw-rev/#node|short#">raw</a> #archives%archiveentry#<br/> </div> <div> -<a class="title" href="?cmd=changeset;node=#node#;style=raw">#desc|strip|escape|firstline#</a> +<a class="title" href="{url}raw-rev/#node|short#">#desc|strip|escape|firstline#</a> </div> <div class="title_text"> <table cellspacing="0"> <tr><td>author</td><td>#author|obfuscate#</td></tr> <tr><td></td><td>#date|date# (#date|age# ago)</td></tr> <tr><td>changeset</td><td style="font-family:monospace">#node|short#</td></tr> -<tr><td>manifest</td><td style="font-family:monospace"><a class="list" href="?mf=#node|short#;path=/;style=gitweb">#node|short#</a></td></tr> +<tr><td>manifest</td><td style="font-family:monospace"><a class="list" href="{url}file/#node|short#{getentries}">#node|short#</a></td></tr> #parent%changesetparent# #child%changesetchild# #changesettag#
--- a/templates/gitweb/error.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/error.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,16 +1,16 @@ #header# <title>#repo|escape#: Error</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / error +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / error </div> <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a><br/> +<a href="{url}summary{getentries}">summary</a> | <a href="{url}shortlog{getentries}">shortlog</a> | <a href="{url}log{getentries}">changelog</a> | <a href="{url}tags{getentries}">tags</a> | <a href="{url}file/#node|short#{getentries}">manifest</a><br/> </div> <div>
--- a/templates/gitweb/fileannotate.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/fileannotate.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,16 +1,24 @@ #header# <title>#repo|escape#: Annotate</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / annotate +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / annotate </div> <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=#path|urlescape#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#node|short#;style=gitweb">file</a> | <a href="?cmd=filelog;file=#file|urlescape#;filenode=#node|short#;style=gitweb">revisions</a> | annotate | <a href="?cmd=annotate;file=#file|urlescape#;filenode=#node|short#;style=raw">raw</a><br/> +<a href="{url}summary{getentries}">summary</a> | +<a href="{url}shortlog{getentries}">shortlog</a> | +<a href="{url}log{getentries}">changelog</a> | +<a href="{url}tags{getentries}">tags</a> | +<a href="{url}file/#node|short##path|urlescape#{getentries}">manifest</a> | +<a href="{url}rev/#node|short#{getentries}">changeset</a> | +<a href="{url}file/{node|short}/#file|urlescape#{getentries}">file</a> | +<a href="{url}log/{node|short}/#file|urlescape#{getentries}">revisions</a> | +annotate | <a href="{url}raw-annotate/{node|short}/#file|urlescape#">raw</a><br/> </div> <div class="title">#file|escape#</div> @@ -18,13 +26,13 @@ <table> <tr> <td class="metatag">changeset #rev#:</td> - <td><a href="?cs=#node|short#;style=gitweb">#node|short#</a></td></tr> + <td><a href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr> #rename%filerename# #parent%fileannotateparent# #child%fileannotatechild# <tr> <td class="metatag">manifest:</td> - <td><a href="?mf=#node|short#;path=/;style=gitweb">#node|short#</a></td></tr> + <td><a href="{url}file/#node|short#{getentries}">#node|short#</a></td></tr> <tr> <td class="metatag">author:</td> <td>#author|obfuscate#</td></tr>
--- a/templates/gitweb/filelog.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/filelog.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,16 +1,23 @@ #header# <title>#repo|escape#: File revisions</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / file revisions +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / file revisions </div> <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#node|short#;style=gitweb">file</a> | revisions | <a href="?cmd=annotate;file=#file|urlescape#;filenode=#node|short#;style=gitweb">annotate</a> | <a href="?fl=#node|short#;file=#file|urlescape#;style=rss">rss</a><br/> +<a href="{url}summary{getentries}">summary</a> | +<a href="{url}shortlog{getentries}">shortlog</a> | +<a href="{url}log{getentries}">changelog</a> | +<a href="{url}tags{getentries}">tags</a> | +<a href="{url}file/{node|short}/#file|urlescape#{getentries}">file</a> | +revisions | +<a href="{url}annotate/{node|short}/#file|urlescape#{getentries}">annotate</a> | +<a href="{url}rss-log/#node|short#/#file|urlescape#">rss</a><br/> </div> <div class="title" >#file|urlescape#</div>
--- a/templates/gitweb/filerevision.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/filerevision.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,16 +1,25 @@ #header# <title>#repo|escape#: File revision</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / file revision +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / file revision </div> <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=#path|urlescape#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | file | <a href="?cmd=filelog;file=#file|urlescape#;filenode=#node|short#;style=gitweb">revisions</a> | <a href="?cmd=annotate;file=#file|urlescape#;filenode=#node|short#;style=gitweb">annotate</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=raw">raw</a><br/> +<a href="{url}summary{getentries}">summary</a> | +<a href="{url}shortlog{getentries}">shortlog</a> | +<a href="{url}log{getentries}">changelog</a> | +<a href="{url}tags{getentries}">tags</a> | +<a href="{url}file/#node|short##path|urlescape#{getentries}">manifest</a> | +<a href="{url}rev/#node|short#{getentries}">changeset</a> | +file | +<a href="{url}log/{node|short}/#file|urlescape#{getentries}">revisions</a> | +<a href="{url}annotate/{node|short}/#file|urlescape#{getentries}">annotate</a> | +<a href="{url}raw-file/{node|short}#file|urlescape#">raw</a><br/> </div> <div class="title">#file|escape#</div> @@ -18,13 +27,13 @@ <table> <tr> <td class="metatag">changeset #rev#:</td> - <td><a href="?cs=#node|short#;style=gitweb">#node|short#</a></td></tr> + <td><a href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr> #rename%filerename# #parent%fileannotateparent# #child%fileannotatechild# <tr> <td class="metatag">manifest:</td> - <td><a href="?mf=#node|short#;path=/;style=gitweb">#node|short#</a></td></tr> + <td><a href="{url}file/#node|short#{getentries}">#node|short#</a></td></tr> <tr> <td class="metatag">author:</td> <td>#author|obfuscate#</td></tr>
--- a/templates/gitweb/footer.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/footer.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,6 +1,6 @@ <div class="page_footer"> <div class="page_footer_text">#repo|escape#</div> -<a class="rss_logo" href="?cmd=changelog;style=rss">RSS</a> +<a class="rss_logo" href="#url#rss-log">RSS</a> </div> </body> </html>
--- a/templates/gitweb/header.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/header.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -4,8 +4,8 @@ <!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" xml:lang="en-US" lang="en-US"> <head> -<link rel="icon" href="?static=hgicon.png" type="image/png"> +<link rel="icon" href="{url}static/hgicon.png" type="image/png"> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="robots" content="index, nofollow"/> -<link rel="stylesheet" href="?static=style-gitweb.css" type="text/css" /> +<link rel="stylesheet" href="{url}static/style-gitweb.css" type="text/css" />
--- a/templates/gitweb/manifest.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/manifest.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,16 +1,21 @@ #header# <title>#repo|escape#: Manifest</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / manifest +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / manifest </div> <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | manifest | <a href="?cs=#node|short#;style=gitweb">changeset</a> #archives%archiveentry#<br/> +<a href="{url}summary{getentries}">summary</a> | +<a href="{url}shortlog{getentries}">shortlog</a> | +<a href="{url}log{getentries}">changelog</a> | +<a href="{url}tags{getentries}">tags</a> | +manifest | +<a href="{url}rev/#node|short#{getentries}">changeset</a> #archives%archiveentry#<br/> </div> <div class="title" >#path|escape#</div> @@ -18,7 +23,7 @@ <table cellspacing="0"> <tr class="light"> <td style="font-family:monospace">drwxr-xr-x</td> -<td><a href="?mf=#node|short#;path=#up|urlescape#;style=gitweb">[up]</a></td> +<td><a href="{url}file/#node|short##up|urlescape#{getentries}">[up]</a></td> <td class="link"> </td> </tr> #dentries%manifestdirentry#
--- a/templates/gitweb/search.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/search.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,22 +1,24 @@ #header# <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a><br/> +<a href="{url}summary{getentries}">summary</a> | +<a href="{url}shortlog{getentries}">shortlog</a> | +<a href="{url}log{getentries}">changelog</a> | +<a href="{url}tags{getentries}">tags</a> | +<a href="{url}file/#node|short#{getentries}">manifest</a><br/> </div> <h2>searching for #query|escape#</h2> -<form> +<form action="{url}log"> search: -<input type="hidden" name="cmd" value="changelog"> <input type="hidden" name="style" value="gitweb"> <input name="rev" type="text" width="30" value="#query|escape#"> </form> #entries# -<form> +<form action="{url}log"> search: -<input type="hidden" name="cmd" value="changelog"> <input type="hidden" name="style" value="gitweb"> <input name="rev" type="text" width="30"> </form>
--- a/templates/gitweb/shortlog.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/shortlog.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,25 +1,27 @@ #header# <title>#repo|escape#: Shortlog</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / shortlog +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / shortlog </div> -<form action="#"> +<form action="{url}log"> <div class="search"> -<input type="hidden" name="repo" value="#repo|escape#" /> <input type="hidden" name="style" value="gitweb" /> -<input type="hidden" name="cmd" value="changelog" /> <input type="text" name="rev" /> </div> </form> </div> <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | shortlog | <a href="?cmd=changelog;rev=#rev#;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a>#archives%archiveentry#<br/> +<a href="{url}summary{getentries}">summary</a> | +shortlog | +<a href="{url}log/#rev#{getentries}">changelog</a> | +<a href="{url}tags{getentries}">tags</a> | +<a href="{url}file/#node|short#{getentries}">manifest</a>#archives%archiveentry#<br/> <br/> #changenav%navshortentry#<br/>
--- a/templates/gitweb/summary.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/summary.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,15 +1,19 @@ #header# <title>#repo|escape#: Summary</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / summary +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / summary </div> <div class="page_nav"> -summary | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a>#archives%archiveentry# +summary | +<a href="{url}shortlog{getentries}">shortlog</a> | +<a href="{url}log{getentries}">changelog</a> | +<a href="{url}tags{getentries}">tags</a> | +<a href="{url}file/#node|short#{getentries}">manifest</a>#archives%archiveentry# <br/> </div> @@ -20,16 +24,16 @@ <!-- <tr><td>last change</td><td>#lastchange|rfc822date#</td></tr> --> </table> -<div><a class="title" href="?cmd=changelog;style=gitweb">changes</a></div> +<div><a class="title" href="{url}log{getentries}">changes</a></div> <table cellspacing="0"> #shortlog# -<tr class="light"><td colspan="3"><a class="list" href="?cmd=changelog;style=gitweb">...</a></td></tr> +<tr class="light"><td colspan="3"><a class="list" href="{url}log{getentries}">...</a></td></tr> </table> -<div><a class="title" href="?cmd=tags;style=gitweb">tags</a></div> +<div><a class="title" href="{url}tags{getentries}">tags</a></div> <table cellspacing="0"> #tags# -<tr class="light"><td colspan="3"><a class="list" href="?cmd=tags;style=gitweb">...</a></td></tr> +<tr class="light"><td colspan="3"><a class="list" href="{url}tags{getentries}">...</a></td></tr> </table> #footer#
--- a/templates/gitweb/tags.tmpl Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/gitweb/tags.tmpl Thu Oct 05 14:27:14 2006 -0700 @@ -1,16 +1,20 @@ #header# <title>#repo|escape#: Tags</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> + href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / tags +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / tags </div> <div class="page_nav"> -<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | tags | <a href="?cmd=manifest;manifest=#node|short#;path=/;style=gitweb">manifest</a> +<a href="{url}summary{getentries}">summary</a> | +<a href="{url}shortlog{getentries}">shortlog</a> | +<a href="{url}log{getentries}">changelog</a> | +tags | +<a href="{url}file/#node|short#{getentries}">manifest</a> <br/> </div>
--- a/templates/map-gitweb Thu Oct 05 14:27:14 2006 -0700 +++ b/templates/map-gitweb Thu Oct 05 14:27:14 2006 -0700 @@ -5,48 +5,48 @@ changelog = gitweb/changelog.tmpl summary = gitweb/summary.tmpl error = gitweb/error.tmpl -naventry = '<a href="?cmd=changelog;rev=#rev#;style=gitweb">#label|escape#</a> ' -navshortentry = '<a href="?cmd=shortlog;rev=#rev#;style=gitweb">#label|escape#</a> ' -filedifflink = '<a href="?cmd=filediff;node=#node#;file=#file|urlescape#;style=gitweb">#file|escape#</a> ' -filenodelink = '<tr class="parity#parity#"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="?f=#node|short#;file=#file|urlescape#;style=gitweb">file</a> | <a href="?fa=#node|short#;file=#file|urlescape#;style=gitweb">annotate</a> | <!-- FIXME: <a href="?fd=#node|short#;file=#file|urlescape#;style=gitweb">diff</a> | --> <a href="?cmd=filelog;filenode=#node|short#;file=#file|urlescape#;style=gitweb">revisions</a></td></tr>' +naventry = '<a href="#url#log/#rev#{getentries}">#label|escape#</a> ' +navshortentry = '<a href="#url#shortlog/#rev#{getentries}">#label|escape#</a> ' +filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> ' +filenodelink = '<tr class="parity#parity#"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> <!-- FIX ME | <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">diff</a> --> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a></td></tr>' fileellipses = '...' changelogentry = gitweb/changelogentry.tmpl searchentry = gitweb/changelogentry.tmpl changeset = gitweb/changeset.tmpl manifest = gitweb/manifest.tmpl -manifestdirentry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td><a href="?mf=#node|short#;path=#path|urlescape#;style=gitweb">#basename|escape#/</a></td><td class="link"><a href="?mf=#node|short#;path=#path|urlescape#;style=gitweb">manifest</a></td></tr>' -manifestfileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td class="list"><a class="list" href="?f=#node|short#;file=#file|urlescape#;style=gitweb">#basename|escape#</a></td><td class="link"><a href="?f=#node|short#;file=#file|urlescape#;style=gitweb">file</a> | <a href="?fl=#node|short#;file=#file|urlescape#;style=gitweb">revisions</a> | <a href="?fa=#node|short#;file=#file|urlescape#;style=gitweb">annotate</a></td></tr>' +manifestdirentry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td><a href="#url#file/#node|short##path|urlescape#{getentries}">#basename|escape#/</a></td><td class="link"><a href="#url#file/#node|short##path|urlescape#{getentries}">manifest</a></td></tr>' +manifestfileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td class="list"><a class="list" href="#url#file/#node|short#/#file|urlescape#{getentries}">#basename|escape#</a></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a></td></tr>' filerevision = gitweb/filerevision.tmpl fileannotate = gitweb/fileannotate.tmpl filelog = gitweb/filelog.tmpl fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><span class="linenr"> #linenumber#</span> #line|escape#</pre></div>' -annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="?fa=#node|short#;file=#file|urlescape#;style=gitweb">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>' +annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>' difflineplus = '<div style="color:#008800;">#line|escape#</div>' difflineminus = '<div style="color:#cc0000;">#line|escape#</div>' difflineat = '<div style="color:#990099;">#line|escape#</div>' diffline = '<div>#line|escape#</div>' -changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>' -changesetparent = '<tr><td>parent</td><td style="font-family:monospace"><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb">#node|short#</a></td></tr>' -filerevparent = '<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' -filerename = '<tr><td class="metatag">parent:</td><td><a href="?f=#node|short#;file=#file|urlescape#;style=gitweb">#file|escape#@#node|short#</a></td></tr>' -filelogrename = '| <a href="?f=#node|short#;file=#file|urlescape#;style=gitweb">base</a>' -fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' -changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>' -changesetchild = '<tr><td>child</td><td style="font-family:monospace"><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb">#node|short#</a></td></tr>' -filerevchild = '<tr><td class="metatag">child:</td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' -fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="?cmd=annotate;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' +changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' +changesetparent = '<tr><td>parent</td><td style="font-family:monospace"><a class="list" href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' +filerevparent = '<tr><td class="metatag">parent:</td><td><a href="{url}file/{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' +filerename = '<tr><td class="metatag">parent:</td><td><a href="{url}file/#node|short#/#file|urlescape#{getentries}">#file|escape#@#node|short#</a></td></tr>' +filelogrename = '| <a href="{url}file/#node|short#/#file|urlescape#{getentries}">base</a>' +fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' +changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr>' +changesetchild = '<tr><td>child</td><td style="font-family:monospace"><a class="list" href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr>' +filerevchild = '<tr><td class="metatag">child:</td><td><a href="{url}file/{node|short}#file|urlescape#{getentries}">#node|short#</a></td></tr>' +fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' tags = gitweb/tags.tmpl -tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#tag|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=changelog;rev=#node|short#;style=gitweb">changelog</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a></td></tr>' +tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/{node|short}{getentries}"><b>#tag|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{getentries}">changeset</a> | <a href="{url}log/#node|short#{getentries}">changelog</a> | <a href="{url}file/#node|short#{getentries}">manifest</a></td></tr>' diffblock = '<pre>#lines#</pre>' changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>' changesettag = '<tr><td>tag</td><td>#tag|escape#</td></tr>' -filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>' -filelogparent = '<tr><td align="right">parent #rev#: </td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' -filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>' -filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' +filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr>' +filelogparent = '<tr><td align="right">parent #rev#: </td><td><a href="{url}file/{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' +filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr>' +filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="{url}file{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' shortlog = gitweb/shortlog.tmpl -shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author#</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=manifest;manifest=#node|short#;path=/;style=gitweb">manifest</a></td></tr>' -filelogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="?f=#node|short#;file=#file|urlescape#;style=gitweb">file</a> | <!-- FIXME: <a href="?fd=#node|short#;file=#file|urlescape#;style=gitweb">diff</a> | --> <a href="?fa=#node|short#;file=#file|urlescape#;style=gitweb">annotate</a> #rename%filelogrename#</td></tr>' -archiveentry = ' | <a href="#url#?ca=#node|short#;type=#type|urlescape#">#type|escape#</a> ' -indexentry = '<tr class="parity#parity#"><td><a class="list" href="#url#"><b>#name|escape#</b></a></td><td>#description#</td><td>#contact|obfuscate#</td><td class="age">#lastchange|age# ago</td><td class="indexlinks"><a class="rss_logo" href="#url#?cl=tip;style=rss">RSS</a> #archives%archiveentry#</td></tr>' +shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author#</i></td><td><a class="list" href="{url}rev/#node|short#{getentries}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{getentries}">changeset</a> | <a href="{url}file/#node|short#{getentries}">manifest</a></td></tr>' +filelogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/#node|short#{getentries}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="{url}file/#node|short#/#file|urlescape#{getentries}">file</a> | <!-- FIXME: <a href="{url}diff/#node|short#/#file|urlescape#{getentries}">diff</a> | --> <a href="{url}annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> #rename%filelogrename#</td></tr>' +archiveentry = ' | <a href="{url}archive/{node|short}{extension}">#type|escape#</a> ' +indexentry = '<tr class="parity#parity#"><td><a class="list" href="#url#"><b>#name|escape#</b></a></td><td>#description#</td><td>#contact|obfuscate#</td><td class="age">#lastchange|age# ago</td><td class="indexlinks"><a class="rss_logo" href="#url#rss-log">RSS</a> #archives%archiveentry#</td></tr>' index = gitweb/index.tmpl