wok-current diff slitaz-mercurial-style/stuff/templates/slitaz/filerevision.tmpl @ rev 6032
PolicyKit: disable-introspection
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 16 09:59:44 2010 +0200 (2010-08-16) |
parents | |
children | 5e5a67e17e5a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/filerevision.tmpl Mon Aug 16 09:59:44 2010 +0200 1.3 @@ -0,0 +1,82 @@ 1.4 +{header} 1.5 +<title>{repo|escape}: {node|short} {file|escape}</title> 1.6 +</head> 1.7 +<body> 1.8 + 1.9 +<!-- Header --> 1.10 +<div id="header"> 1.11 + <a href="http://hg.slitaz.org/"><img id="logo" 1.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 1.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 1.14 + <p id="titre">#!/Hg/repos</p> 1.15 +</div> 1.16 + 1.17 +<div class="container"> 1.18 +<div id="nav"> 1.19 + 1.20 +<div class="nav_box"> 1.21 +<h4>Navigation</h4> 1.22 +<ul> 1.23 + <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> 1.24 + <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> 1.25 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 1.26 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 1.27 + <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> 1.28 + <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> 1.29 +</ul> 1.30 +<h4>View</h4> 1.31 +<ul> 1.32 + <li class="active">file</li> 1.33 + <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> 1.34 + <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> 1.35 + <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> 1.36 + <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> 1.37 +</ul> 1.38 +</div> 1.39 + 1.40 +<div class="nav_box"> 1.41 +<h4>Search</h4> 1.42 +<form class="search" action="{url}log"> 1.43 +{sessionvars%hiddenformentry} 1.44 +<p><input name="rev" id="search1" type="text" /></p> 1.45 +<div id="hint">find changesets by author, revision, 1.46 +files, or words in the commit message</div> 1.47 +</form> 1.48 +</div> 1.49 +</div> 1.50 + 1.51 +<div class="main"> 1.52 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 1.53 +<h3>view {file|escape} @ {rev}:{node|short}</h3> 1.54 + 1.55 +<div class="description">{desc|strip|escape|addbreaks|nonempty}</div> 1.56 + 1.57 +<table id="changesetEntry"> 1.58 +<tr> 1.59 + <th class="author">author</th> 1.60 + <td class="author">{author|obfuscate}</td> 1.61 +</tr> 1.62 +<tr> 1.63 + <th class="date">date</th> 1.64 + <td class="date">{date|date} ({date|age} ago)</td> 1.65 +</tr> 1.66 +<tr> 1.67 + <th class="author">parents</th> 1.68 + <td class="author">{parent%filerevparent}</td> 1.69 +</tr> 1.70 +<tr> 1.71 + <th class="author">children</th> 1.72 + <td class="author">{child%filerevchild}</td> 1.73 +</tr> 1.74 +{changesettag} 1.75 +</table> 1.76 + 1.77 +<div class="overflow"> 1.78 +<div class="sourcefirst"> line source</div> 1.79 +{text%fileline} 1.80 +<div class="sourcelast"></div> 1.81 +</div> 1.82 +</div> 1.83 +</div> 1.84 + 1.85 +{footer}