wok-4.x rev 4465
Up: slitaz-mercurial-style (2.0)
line diff
1.1 --- a/slitaz-mercurial-style/receipt Sun Nov 08 23:29:42 2009 +0100 1.2 +++ b/slitaz-mercurial-style/receipt Sun Nov 08 23:30:24 2009 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="slitaz-mercurial-style" 1.7 -VERSION="1.2" 1.8 +VERSION="2.0" 1.9 CATEGORY="misc" 1.10 SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos." 1.11 DEPENDS="mercurial" 1.12 @@ -14,11 +14,7 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial/templates 1.17 - cp -a $src/slitaz \ 1.18 - $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial/templates 1.19 - cp -a $src/static \ 1.20 - $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial/templates 1.21 + mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial 1.22 + cp -a stuff/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial 1.23 chown -R root.root $fs 1.24 } 1.25 -
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/branches.tmpl Sun Nov 08 23:30:24 2009 +0100 2.3 @@ -0,0 +1,56 @@ 2.4 +{header} 2.5 +<title>{repo|escape}: branches</title> 2.6 +<link rel="alternate" type="application/atom+xml" 2.7 + href="{url}atom-tags" title="Atom feed for {repo|escape}: branches" /> 2.8 +<link rel="alternate" type="application/rss+xml" 2.9 + href="{url}rss-tags" title="RSS feed for {repo|escape}: branches" /> 2.10 +</head> 2.11 +<body> 2.12 + 2.13 +<!-- Header --> 2.14 +<div id="header"> 2.15 + <a href="http://hg.slitaz.org/"><img id="logo" 2.16 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 2.17 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 2.18 + <p id="titre">#!/Hg/repos</p> 2.19 +</div> 2.20 + 2.21 +<div class="container"> 2.22 +<div id="nav"> 2.23 + 2.24 +<div class="nav_box"> 2.25 +<h4>Navigation</h4> 2.26 +<ul> 2.27 + <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> 2.28 + <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> 2.29 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 2.30 + <li class="active">branches</li> 2.31 +</ul> 2.32 +</div> 2.33 + 2.34 +<div class="nav_box"> 2.35 +<h4>Search</h4> 2.36 +<form class="search" action="{url}log"> 2.37 +{sessionvars%hiddenformentry} 2.38 +<p><input name="rev" id="search1" type="text" /></p> 2.39 +<div id="hint">find changesets by author, revision, 2.40 +files, or words in the commit message</div> 2.41 +</form> 2.42 +</div> 2.43 +</div> 2.44 + 2.45 +<div class="main"> 2.46 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 2.47 +<h3>branches</h3> 2.48 + 2.49 +<table class="bigtable"> 2.50 +<tr> 2.51 + <th>branch</th> 2.52 + <th>node</th> 2.53 +</tr> 2.54 +{entries%branchentry} 2.55 +</table> 2.56 +</div> 2.57 +</div> 2.58 + 2.59 +{footer}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/changeset.tmpl Sun Nov 08 23:30:24 2009 +0100 3.3 @@ -0,0 +1,85 @@ 3.4 +{header} 3.5 +<title>{repo|escape}: {node|short}</title> 3.6 +</head> 3.7 +<body> 3.8 + 3.9 +<!-- Header --> 3.10 +<div id="header"> 3.11 + <a href="http://hg.slitaz.org/"><img id="logo" 3.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 3.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 3.14 + <p id="titre">#!/Hg/repos</p> 3.15 +</div> 3.16 + 3.17 +<div class="container"> 3.18 +<div id="nav"> 3.19 + 3.20 +<div class="nav_box"> 3.21 +<h4>Navigation</h4> 3.22 +<ul> 3.23 + <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> 3.24 + <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> 3.25 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 3.26 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 3.27 + <li class="active">changeset</li> 3.28 + <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li> 3.29 + <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li> 3.30 +</ul> 3.31 +</div> 3.32 + 3.33 +<div class="nav_box"> 3.34 +<h4>Search</h4> 3.35 +<form class="search" action="{url}log"> 3.36 +{sessionvars%hiddenformentry} 3.37 +<p><input name="rev" id="search1" type="text" /></p> 3.38 +<div id="hint">find changesets by author, revision, 3.39 +files, or words in the commit message</div> 3.40 +</form> 3.41 +</div> 3.42 + 3.43 +<div class="nav_box"> 3.44 +<h4>Archive</h4> 3.45 +<ul> 3.46 + {archives%archiveentry} 3.47 +</ul> 3.48 +</div> 3.49 +</div> 3.50 + 3.51 +<div class="main"> 3.52 + 3.53 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 3.54 +<h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag}</h3> 3.55 + 3.56 +<div class="description">{desc|strip|escape|addbreaks|nonempty}</div> 3.57 + 3.58 +<table id="changesetEntry"> 3.59 +<tr> 3.60 + <th class="author">author</th> 3.61 + <td class="author">{author|obfuscate}</td> 3.62 +</tr> 3.63 +<tr> 3.64 + <th class="date">date</th> 3.65 + <td class="date">{date|date} ({date|age} ago)</td></tr> 3.66 +<tr> 3.67 + <th class="author">parents</th> 3.68 + <td class="author">{parent%changesetparent}</td> 3.69 +</tr> 3.70 +<tr> 3.71 + <th class="author">children</th> 3.72 + <td class="author">{child%changesetchild}</td> 3.73 +</tr> 3.74 +<tr> 3.75 + <th class="files">files</th> 3.76 + <td class="files">{files}</td> 3.77 +</tr> 3.78 +</table> 3.79 + 3.80 +<div class="overflow"> 3.81 +<div class="sourcefirst"> line diff</div> 3.82 + 3.83 +{diff} 3.84 +</div> 3.85 + 3.86 +</div> 3.87 +</div> 3.88 +{footer}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/error.tmpl Sun Nov 08 23:30:24 2009 +0100 4.3 @@ -0,0 +1,54 @@ 4.4 +{header} 4.5 +<title>{repo|escape}: error</title> 4.6 +</head> 4.7 +<body> 4.8 + 4.9 +<!-- Header --> 4.10 +<div id="header"> 4.11 + <a href="http://hg.slitaz.org/"><img id="logo" 4.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 4.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 4.14 + <p id="titre">#!/Hg/repos</p> 4.15 +</div> 4.16 + 4.17 +<div class="container"> 4.18 +<div id="nav"> 4.19 + 4.20 +<div class="nav_box"> 4.21 +<h4>Navigation</h4> 4.22 +<ul> 4.23 + <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> 4.24 + <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> 4.25 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 4.26 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 4.27 +</ul> 4.28 +</div> 4.29 + 4.30 +<div class="nav_box"> 4.31 +<h4>Search</h4> 4.32 +<form class="search" action="{url}log"> 4.33 +{sessionvars%hiddenformentry} 4.34 +<p><input name="rev" id="search1" type="text" /></p> 4.35 +<div id="hint">find changesets by author, revision, 4.36 +files, or words in the commit message</div> 4.37 +</form> 4.38 +</div> 4.39 +</div> 4.40 + 4.41 +<div class="main"> 4.42 + 4.43 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 4.44 +<h3>error</h3> 4.45 + 4.46 +<div class="description"> 4.47 +<p> 4.48 +An error occurred while processing your request: 4.49 +</p> 4.50 +<p> 4.51 +{error|escape} 4.52 +</p> 4.53 +</div> 4.54 +</div> 4.55 +</div> 4.56 + 4.57 +{footer}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/fileannotate.tmpl Sun Nov 08 23:30:24 2009 +0100 5.3 @@ -0,0 +1,93 @@ 5.4 +{header} 5.5 +<title>{repo|escape}: {file|escape} annotate</title> 5.6 +</head> 5.7 +<body> 5.8 + 5.9 +<!-- Header --> 5.10 +<div id="header"> 5.11 + <a href="http://hg.slitaz.org/"><img id="logo" 5.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 5.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 5.14 + <p id="titre">#!/Hg/repos</p> 5.15 +</div> 5.16 + 5.17 +<div class="container"> 5.18 +<div id="nav"> 5.19 + 5.20 +<div class="nav_box"> 5.21 +<h4>Navigation</h4> 5.22 +<ul> 5.23 + <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> 5.24 + <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> 5.25 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 5.26 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 5.27 + <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> 5.28 + <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> 5.29 +</ul> 5.30 +<h4>View</h4> 5.31 +<ul> 5.32 + <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> 5.33 + <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> 5.34 + <li class="active">annotate</li> 5.35 + <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> 5.36 + <li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li> 5.37 +</ul> 5.38 +</div> 5.39 + 5.40 +<div class="nav_box"> 5.41 +<h4>Search</h4> 5.42 +<form class="search" action="{url}log"> 5.43 +{sessionvars%hiddenformentry} 5.44 +<p><input name="rev" id="search1" type="text" /></p> 5.45 +<div id="hint">find changesets by author, revision, 5.46 +files, or words in the commit message</div> 5.47 +</form> 5.48 +</div> 5.49 +</div> 5.50 + 5.51 +<div class="main"> 5.52 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 5.53 +<h3>annotate {file|escape} @ {rev}:{node|short}</h3> 5.54 + 5.55 +<form class="search" action="{url}log"> 5.56 +{sessionvars%hiddenformentry} 5.57 +<p><input name="rev" id="search1" type="text" size="30" /></p> 5.58 +<div id="hint">find changesets by author, revision, 5.59 +files, or words in the commit message</div> 5.60 +</form> 5.61 + 5.62 +<div class="description">{desc|strip|escape|addbreaks|nonempty}</div> 5.63 + 5.64 +<table id="changesetEntry"> 5.65 +<tr> 5.66 + <th class="author">author</th> 5.67 + <td class="author">{author|obfuscate}</td> 5.68 +</tr> 5.69 +<tr> 5.70 + <th class="date">date</th> 5.71 + <td class="date">{date|date} ({date|age} ago)</td> 5.72 +</tr> 5.73 +<tr> 5.74 + <th class="author">parents</th> 5.75 + <td class="author">{parent%filerevparent}</td> 5.76 +</tr> 5.77 +<tr> 5.78 + <th class="author">children</th> 5.79 + <td class="author">{child%filerevchild}</td> 5.80 +</tr> 5.81 +{changesettag} 5.82 +</table> 5.83 + 5.84 +<div class="overflow"> 5.85 +<table class="bigtable"> 5.86 +<tr> 5.87 + <th class="annotate">rev</th> 5.88 + <th class="line"> line source</th> 5.89 +</tr> 5.90 +{annotate%annotateline} 5.91 +</table> 5.92 +</div> 5.93 +</div> 5.94 +</div> 5.95 + 5.96 +{footer}
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/filediff.tmpl Sun Nov 08 23:30:24 2009 +0100 6.3 @@ -0,0 +1,82 @@ 6.4 +{header} 6.5 +<title>{repo|escape}: {file|escape} diff</title> 6.6 +</head> 6.7 +<body> 6.8 + 6.9 +<!-- Header --> 6.10 +<div id="header"> 6.11 + <a href="http://hg.slitaz.org/"><img id="logo" 6.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 6.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 6.14 + <p id="titre">#!/Hg/repos</p> 6.15 +</div> 6.16 + 6.17 +<div class="container"> 6.18 +<div id="nav"> 6.19 + 6.20 +<div class="nav_box"> 6.21 +<h4>Navigation</h4> 6.22 +<ul> 6.23 + <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> 6.24 + <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> 6.25 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 6.26 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 6.27 + <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> 6.28 + <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> 6.29 +</ul> 6.30 +<h4>View</h4> 6.31 +<ul> 6.32 + <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> 6.33 + <li class="active">diff</li> 6.34 + <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> 6.35 + <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> 6.36 + <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> 6.37 +</ul> 6.38 +</div> 6.39 + 6.40 +<div class="nav_box"> 6.41 +<h4>Search</h4> 6.42 +<form class="search" action="{url}log"> 6.43 +{sessionvars%hiddenformentry} 6.44 +<p><input name="rev" id="search1" type="text" /></p> 6.45 +<div id="hint">find changesets by author, revision, 6.46 +files, or words in the commit message</div> 6.47 +</form> 6.48 +</div> 6.49 +</div> 6.50 + 6.51 +<div class="main"> 6.52 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 6.53 +<h3>diff {file|escape} @ {rev}:{node|short}</h3> 6.54 + 6.55 +<div class="description">{desc|strip|escape|addbreaks|nonempty}</div> 6.56 + 6.57 +<table id="changesetEntry"> 6.58 +<tr> 6.59 + <th>author</th> 6.60 + <td>{author|obfuscate}</td> 6.61 +</tr> 6.62 +<tr> 6.63 + <th>date</th> 6.64 + <td>{date|date} ({date|age} ago)</td> 6.65 +</tr> 6.66 +<tr> 6.67 + <th>parents</th> 6.68 + <td>{parent%filerevparent}</td> 6.69 +</tr> 6.70 +<tr> 6.71 + <th>children</th> 6.72 + <td>{child%filerevchild}</td> 6.73 +</tr> 6.74 +{changesettag} 6.75 +</table> 6.76 + 6.77 +<div class="overflow"> 6.78 +<div class="sourcefirst"> line diff</div> 6.79 + 6.80 +{diff} 6.81 +</div> 6.82 +</div> 6.83 +</div> 6.84 + 6.85 +{footer}
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/filelog.tmpl Sun Nov 08 23:30:24 2009 +0100 7.3 @@ -0,0 +1,77 @@ 7.4 +{header} 7.5 +<title>{repo|escape}: {file|escape} history</title> 7.6 +<link rel="alternate" type="application/atom+xml" 7.7 + href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}" /> 7.8 +<link rel="alternate" type="application/rss+xml" 7.9 + href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}" /> 7.10 +</head> 7.11 +<body> 7.12 + 7.13 +<!-- Header --> 7.14 +<div id="header"> 7.15 + <a href="http://hg.slitaz.org/"><img id="logo" 7.16 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 7.17 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 7.18 + <p id="titre">#!/Hg/repos</p> 7.19 +</div> 7.20 + 7.21 +<div class="container"> 7.22 +<div id="nav"> 7.23 + 7.24 +<div class="nav_box"> 7.25 +<h4>Navigation</h4> 7.26 +<ul> 7.27 + <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> 7.28 + <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> 7.29 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 7.30 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 7.31 + <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> 7.32 + <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> 7.33 +</ul> 7.34 +<h4>View</h4> 7.35 +<ul> 7.36 + <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> 7.37 + <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> 7.38 + <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> 7.39 + <li class="active">file log</li> 7.40 + <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> 7.41 +</ul> 7.42 +</div> 7.43 + 7.44 +<div class="nav_box"> 7.45 +<h4>Search</h4> 7.46 +<form class="search" action="{url}log"> 7.47 +{sessionvars%hiddenformentry} 7.48 +<p><input name="rev" id="search1" type="text" /></p> 7.49 +<div id="hint">find changesets by author, revision, 7.50 +files, or words in the commit message</div> 7.51 +</form> 7.52 +</div> 7.53 +</div> 7.54 + 7.55 +<div class="main"> 7.56 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 7.57 +<h3>log {file|escape}</h3> 7.58 + 7.59 +<form class="search" action="{url}log"> 7.60 +{sessionvars%hiddenformentry} 7.61 +<p><input name="rev" id="search1" type="text" size="30" /></p> 7.62 +<div id="hint">find changesets by author, revision, 7.63 +files, or words in the commit message</div> 7.64 +</form> 7.65 + 7.66 +<div class="navigate">{nav%filenaventry}</div> 7.67 + 7.68 +<table class="bigtable"> 7.69 + <tr> 7.70 + <th class="age">age</th> 7.71 + <th class="author">author</th> 7.72 + <th class="description">description</th> 7.73 + </tr> 7.74 +{entries%filelogentry} 7.75 +</table> 7.76 + 7.77 +</div> 7.78 +</div> 7.79 + 7.80 +{footer}
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/filelogentry.tmpl Sun Nov 08 23:30:24 2009 +0100 8.3 @@ -0,0 +1,5 @@ 8.4 + <tr class="parity{parity}"> 8.5 + <td class="age">{date|age}</td> 8.6 + <td class="author">{author|person}</td> 8.7 + <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}</td> 8.8 + </tr>
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/filerevision.tmpl Sun Nov 08 23:30:24 2009 +0100 9.3 @@ -0,0 +1,82 @@ 9.4 +{header} 9.5 +<title>{repo|escape}: {node|short} {file|escape}</title> 9.6 +</head> 9.7 +<body> 9.8 + 9.9 +<!-- Header --> 9.10 +<div id="header"> 9.11 + <a href="http://hg.slitaz.org/"><img id="logo" 9.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 9.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 9.14 + <p id="titre">#!/Hg/repos</p> 9.15 +</div> 9.16 + 9.17 +<div class="container"> 9.18 +<div id="nav"> 9.19 + 9.20 +<div class="nav_box"> 9.21 +<h4>Navigation</h4> 9.22 +<ul> 9.23 + <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> 9.24 + <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> 9.25 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 9.26 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 9.27 + <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> 9.28 + <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> 9.29 +</ul> 9.30 +<h4>View</h4> 9.31 +<ul> 9.32 + <li class="active">file</li> 9.33 + <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> 9.34 + <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> 9.35 + <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> 9.36 + <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> 9.37 +</ul> 9.38 +</div> 9.39 + 9.40 +<div class="nav_box"> 9.41 +<h4>Search</h4> 9.42 +<form class="search" action="{url}log"> 9.43 +{sessionvars%hiddenformentry} 9.44 +<p><input name="rev" id="search1" type="text" /></p> 9.45 +<div id="hint">find changesets by author, revision, 9.46 +files, or words in the commit message</div> 9.47 +</form> 9.48 +</div> 9.49 +</div> 9.50 + 9.51 +<div class="main"> 9.52 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 9.53 +<h3>view {file|escape} @ {rev}:{node|short}</h3> 9.54 + 9.55 +<div class="description">{desc|strip|escape|addbreaks|nonempty}</div> 9.56 + 9.57 +<table id="changesetEntry"> 9.58 +<tr> 9.59 + <th class="author">author</th> 9.60 + <td class="author">{author|obfuscate}</td> 9.61 +</tr> 9.62 +<tr> 9.63 + <th class="date">date</th> 9.64 + <td class="date">{date|date} ({date|age} ago)</td> 9.65 +</tr> 9.66 +<tr> 9.67 + <th class="author">parents</th> 9.68 + <td class="author">{parent%filerevparent}</td> 9.69 +</tr> 9.70 +<tr> 9.71 + <th class="author">children</th> 9.72 + <td class="author">{child%filerevchild}</td> 9.73 +</tr> 9.74 +{changesettag} 9.75 +</table> 9.76 + 9.77 +<div class="overflow"> 9.78 +<div class="sourcefirst"> line source</div> 9.79 +{text%fileline} 9.80 +<div class="sourcelast"></div> 9.81 +</div> 9.82 +</div> 9.83 +</div> 9.84 + 9.85 +{footer}
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/footer.tmpl Sun Nov 08 23:30:24 2009 +0100 10.3 @@ -0,0 +1,9 @@ 10.4 +{motd} 10.5 + 10.6 +<div id="footer"> 10.7 +<a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> repos are proudly 10.8 +powered by <a href="http://mercurial.selenic.com/">Mercurial</a> 10.9 +</div> 10.10 + 10.11 +</body> 10.12 +</html>
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/graph.tmpl Sun Nov 08 23:30:24 2009 +0100 11.3 @@ -0,0 +1,141 @@ 11.4 +{header} 11.5 +<title>{repo|escape}: revision graph</title> 11.6 +<link rel="alternate" type="application/atom+xml" 11.7 + href="{url}atom-log" title="Atom feed for {repo|escape}: log" /> 11.8 +<link rel="alternate" type="application/rss+xml" 11.9 + href="{url}rss-log" title="RSS feed for {repo|escape}: log" /> 11.10 +<!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> 11.11 +</head> 11.12 +<body> 11.13 + 11.14 +<!-- Header --> 11.15 +<div id="header"> 11.16 + <a href="http://hg.slitaz.org/"><img id="logo" 11.17 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 11.18 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 11.19 + <p id="titre">#!/Hg/repos</p> 11.20 +</div> 11.21 + 11.22 +<div class="container"> 11.23 +<div id="nav"> 11.24 + 11.25 +<div class="nav_box"> 11.26 +<h4>Navigation</h4> 11.27 +<ul> 11.28 + <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> 11.29 + <li class="active">graph</li> 11.30 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 11.31 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 11.32 + <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> 11.33 + <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> 11.34 +</ul> 11.35 +</div> 11.36 + 11.37 +<div class="nav_box"> 11.38 +<h4>Search</h4> 11.39 +<form class="search" action="{url}log"> 11.40 +{sessionvars%hiddenformentry} 11.41 +<p><input name="rev" id="search1" type="text" /></p> 11.42 +<div id="hint">find changesets by author, revision, 11.43 +files, or words in the commit message</div> 11.44 +</form> 11.45 +</div> 11.46 +</div> 11.47 + 11.48 +<div class="main"> 11.49 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 11.50 +<h3>graph</h3> 11.51 + 11.52 +<div class="navigate"> 11.53 +<a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> 11.54 +<a href="{url}graph/{rev}{morevars%urlparameter}">more</a> 11.55 +| rev {rev}: {changenav%navgraphentry} 11.56 +</div> 11.57 + 11.58 +<noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript> 11.59 + 11.60 +<div id="wrapper"> 11.61 +<ul id="nodebgs"></ul> 11.62 +<canvas id="graph" width="224" height="{canvasheight}"></canvas> 11.63 +<ul id="graphnodes"></ul> 11.64 +</div> 11.65 + 11.66 +<script type="text/javascript" src="{staticurl}graph.js"></script> 11.67 +<script type="text/javascript"> 11.68 +<!-- hide script content 11.69 + 11.70 +var data = {jsdata|json}; 11.71 +var graph = new Graph(); 11.72 +graph.scale({bg_height}); 11.73 + 11.74 +graph.edge = function(x0, y0, x1, y1, color) { 11.75 + 11.76 + this.setColor(color, 0.0, 0.65); 11.77 + this.ctx.beginPath(); 11.78 + this.ctx.moveTo(x0, y0); 11.79 + this.ctx.lineTo(x1, y1); 11.80 + this.ctx.stroke(); 11.81 + 11.82 +} 11.83 + 11.84 +var revlink = '<li style="_STYLE"><span class="desc">'; 11.85 +revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; 11.86 +revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>'; 11.87 + 11.88 +graph.vertex = function(x, y, color, parity, cur) { 11.89 + 11.90 + this.ctx.beginPath(); 11.91 + color = this.setColor(color, 0.25, 0.75); 11.92 + this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); 11.93 + this.ctx.fill(); 11.94 + 11.95 + var bg = '<li class="bg parity' + parity + '"></li>'; 11.96 + var left = (this.columns + 1) * this.bg_height; 11.97 + var nstyle = 'padding-left: ' + left + 'px;'; 11.98 + var item = revlink.replace(/_STYLE/, nstyle); 11.99 + item = item.replace(/_PARITY/, 'parity' + parity); 11.100 + item = item.replace(/_NODEID/, cur[0]); 11.101 + item = item.replace(/_NODEID/, cur[0]); 11.102 + item = item.replace(/_DESC/, cur[3]); 11.103 + item = item.replace(/_USER/, cur[4]); 11.104 + item = item.replace(/_DATE/, cur[5]); 11.105 + 11.106 + var tagspan = ''; 11.107 + if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { 11.108 + tagspan = '<span class="logtags">'; 11.109 + if (cur[6][1]) { 11.110 + tagspan += '<span class="branchhead" title="' + cur[6][0] + '">'; 11.111 + tagspan += cur[6][0] + '</span> '; 11.112 + } else if (!cur[6][1] && cur[6][0] != 'default') { 11.113 + tagspan += '<span class="branchname" title="' + cur[6][0] + '">'; 11.114 + tagspan += cur[6][0] + '</span> '; 11.115 + } 11.116 + if (cur[7].length) { 11.117 + for (var t in cur[7]) { 11.118 + var tag = cur[7][t]; 11.119 + tagspan += '<span class="tag">' + tag + '</span> '; 11.120 + } 11.121 + } 11.122 + tagspan += '</span>'; 11.123 + } 11.124 + 11.125 + item = item.replace(/_TAGS/, tagspan); 11.126 + return [bg, item]; 11.127 + 11.128 +} 11.129 + 11.130 +graph.render(data); 11.131 + 11.132 +// stop hiding script --> 11.133 +</script> 11.134 + 11.135 +<div class="navigate"> 11.136 +<a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> 11.137 +<a href="{url}graph/{rev}{morevars%urlparameter}">more</a> 11.138 +| rev {rev}: {changenav%navgraphentry} 11.139 +</div> 11.140 + 11.141 +</div> 11.142 +</div> 11.143 + 11.144 +{footer}
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/header.tmpl Sun Nov 08 23:30:24 2009 +0100 12.3 @@ -0,0 +1,6 @@ 12.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 12.5 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 12.6 +<head> 12.7 +<link rel="icon" href="{staticurl}favicon.ico" type="image/ico" /> 12.8 +<meta name="robots" content="index, nofollow" /> 12.9 +<link rel="stylesheet" href="{staticurl}style-slitaz.css" type="text/css" />
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/index.tmpl Sun Nov 08 23:30:24 2009 +0100 13.3 @@ -0,0 +1,54 @@ 13.4 +{header} 13.5 + <title>Mercurial repositories index</title> 13.6 +</head> 13.7 +<body> 13.8 + 13.9 +<!-- Header --> 13.10 +<div id="header"> 13.11 + <a href="http://hg.slitaz.org/"><img id="logo" 13.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 13.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 13.14 + <p id="titre">#!/Hg/repos</p> 13.15 +</div> 13.16 + 13.17 +<div class="container"> 13.18 + 13.19 +<div id="nav"> 13.20 + 13.21 +<div class="nav_box"> 13.22 +<h4>About SliTaz repos</h4> 13.23 +<p> 13.24 +This web interface let you follow in real time all improvments, fixes 13.25 +and other changes made by SliTaz contributors. 13.26 +</p> 13.27 +</div> 13.28 + 13.29 + 13.30 +<div class="nav_box"> 13.31 +<h4>SliTaz Network</h4> 13.32 +<ul> 13.33 + <li><a href="http://www.slitaz.org/">Main Website</a></li> 13.34 + <li><a href="http://forum.slitaz.org/">Community Forum</a></li> 13.35 + <li><a href="http://labs.slitaz.org/">SliTaz Laboratories</a></li> 13.36 + <li><a href="http://pkgs.slitaz.org/">Packages Database</a></li> 13.37 + <li><a href="http://bb.slitaz.org/">SliTaz Build Bot</a></li> 13.38 +</ul> 13.39 +</div> 13.40 +</div> 13.41 + 13.42 +<div class="main"> 13.43 +<h2>SliTaz Mercurial Repositories</h2> 13.44 + 13.45 +<table class="bigtable"> 13.46 + <tr> 13.47 + <th><a href="?sort={sort_name}">Name</a></th> 13.48 + <th><a href="?sort={sort_description}">Description</a></th> 13.49 + <th><a href="?sort={sort_contact}">Contact</a></th> 13.50 + <th><a href="?sort={sort_lastchange}">Last change</a></th> 13.51 + <th> </th> 13.52 + </tr> 13.53 + {entries%indexentry} 13.54 +</table> 13.55 +</div> 13.56 +</div> 13.57 +{footer}
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/manifest.tmpl Sun Nov 08 23:30:24 2009 +0100 14.3 @@ -0,0 +1,67 @@ 14.4 +{header} 14.5 +<title>{repo|escape}: {node|short} {path|escape}</title> 14.6 +</head> 14.7 +<body> 14.8 + 14.9 +<!-- Header --> 14.10 +<div id="header"> 14.11 + <a href="http://hg.slitaz.org/"><img id="logo" 14.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 14.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 14.14 + <p id="titre">#!/Hg/repos</p> 14.15 +</div> 14.16 + 14.17 +<div class="container"> 14.18 +<div id="nav"> 14.19 + 14.20 +<div class="nav_box"> 14.21 +<h4>Navigation</h4> 14.22 +<ul> 14.23 + <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> 14.24 + <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> 14.25 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 14.26 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 14.27 + <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> 14.28 + <li class="active">browse</li> 14.29 +</ul> 14.30 +</div> 14.31 + 14.32 +<div class="nav_box"> 14.33 +<h4>Search</h4> 14.34 +<form class="search" action="{url}log"> 14.35 +{sessionvars%hiddenformentry} 14.36 +<p><input name="rev" id="search1" type="text" /></p> 14.37 +<div id="hint">find changesets by author, revision, 14.38 +files, or words in the commit message</div> 14.39 +</form> 14.40 +</div> 14.41 + 14.42 +<div class="nav_box"> 14.43 +<h4>Archive</h4> 14.44 +<ul> 14.45 + {archives%archiveentry} 14.46 +</ul> 14.47 +</div> 14.48 +</div> 14.49 + 14.50 +<div class="main"> 14.51 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 14.52 +<h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</h3> 14.53 + 14.54 +<table class="bigtable"> 14.55 +<tr> 14.56 + <th class="name">name</th> 14.57 + <th class="size">size</th> 14.58 + <th class="permissions">permissions</th> 14.59 +</tr> 14.60 +<tr class="fileline parity{upparity}"> 14.61 + <td class="name"><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> 14.62 + <td class="size"></td> 14.63 + <td class="permissions">drwxr-xr-x</td> 14.64 +</tr> 14.65 +{dentries%direntry} 14.66 +{fentries%fileentry} 14.67 +</table> 14.68 +</div> 14.69 +</div> 14.70 +{footer}
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/map Sun Nov 08 23:30:24 2009 +0100 15.3 @@ -0,0 +1,191 @@ 15.4 +default = 'shortlog' 15.5 + 15.6 +mimetype = 'text/html; charset={encoding}' 15.7 +header = header.tmpl 15.8 +footer = footer.tmpl 15.9 +search = search.tmpl 15.10 + 15.11 +changelog = shortlog.tmpl 15.12 +shortlog = shortlog.tmpl 15.13 +shortlogentry = shortlogentry.tmpl 15.14 +graph = graph.tmpl 15.15 + 15.16 +naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' 15.17 +navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' 15.18 +navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' 15.19 +filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' 15.20 +filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' 15.21 +filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' 15.22 +filenolink = '{file|escape} ' 15.23 +fileellipses = '...' 15.24 +changelogentry = shortlogentry.tmpl 15.25 +searchentry = shortlogentry.tmpl 15.26 +changeset = changeset.tmpl 15.27 +manifest = manifest.tmpl 15.28 + 15.29 +direntry = ' 15.30 + <tr class="fileline parity{parity}"> 15.31 + <td class="name"> 15.32 + <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"> 15.33 + <img src="{staticurl}coal-folder.png" alt="dir."/> {basename|escape}/ 15.34 + </a> 15.35 + <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}"> 15.36 + {emptydirs|escape} 15.37 + </a> 15.38 + </td> 15.39 + <td class="size"></td> 15.40 + <td class="permissions">drwxr-xr-x</td> 15.41 + </tr>' 15.42 + 15.43 +fileentry = ' 15.44 + <tr class="fileline parity{parity}"> 15.45 + <td class="filename"> 15.46 + <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> 15.47 + <img src="{staticurl}coal-file.png" alt="file"/> {basename|escape} 15.48 + </a> 15.49 + </td> 15.50 + <td class="size">{size}</td> 15.51 + <td class="permissions">{permissions|permissions}</td> 15.52 + </tr>' 15.53 + 15.54 +filerevision = filerevision.tmpl 15.55 +fileannotate = fileannotate.tmpl 15.56 +filediff = filediff.tmpl 15.57 +filelog = filelog.tmpl 15.58 +fileline = ' 15.59 + <div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>' 15.60 +filelogentry = filelogentry.tmpl 15.61 + 15.62 +annotateline = ' 15.63 + <tr class="parity{parity}"> 15.64 + <td class="annotate"> 15.65 + <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" 15.66 + title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> 15.67 + </td> 15.68 + <td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td> 15.69 + </tr>' 15.70 + 15.71 +diffblock = '<div class="source bottomline parity{parity}"><pre>{lines}</pre></div>' 15.72 +difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>' 15.73 +difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>' 15.74 +difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>' 15.75 +diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}' 15.76 + 15.77 +changelogparent = ' 15.78 + <tr> 15.79 + <th class="parent">parent {rev}:</th> 15.80 + <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> 15.81 + </tr>' 15.82 + 15.83 +changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' 15.84 + 15.85 +filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> ' 15.86 +filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> ' 15.87 + 15.88 +filerename = '{file|escape}@' 15.89 +filelogrename = ' 15.90 + <tr> 15.91 + <th>base:</th> 15.92 + <td> 15.93 + <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> 15.94 + {file|escape}@{node|short} 15.95 + </a> 15.96 + </td> 15.97 + </tr>' 15.98 +fileannotateparent = ' 15.99 + <tr> 15.100 + <td class="metatag">parent:</td> 15.101 + <td> 15.102 + <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> 15.103 + {rename%filerename}{node|short} 15.104 + </a> 15.105 + </td> 15.106 + </tr>' 15.107 +changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' 15.108 +changelogchild = ' 15.109 + <tr> 15.110 + <th class="child">child</th> 15.111 + <td class="child"> 15.112 + <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> 15.113 + {node|short} 15.114 + </a> 15.115 + </td> 15.116 + </tr>' 15.117 +fileannotatechild = ' 15.118 + <tr> 15.119 + <td class="metatag">child:</td> 15.120 + <td> 15.121 + <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> 15.122 + {node|short} 15.123 + </a> 15.124 + </td> 15.125 + </tr>' 15.126 +tags = tags.tmpl 15.127 +tagentry = ' 15.128 + <tr class="tagEntry parity{parity}"> 15.129 + <td> 15.130 + <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> 15.131 + {tag|escape} 15.132 + </a> 15.133 + </td> 15.134 + <td class="node"> 15.135 + {node|short} 15.136 + </td> 15.137 + </tr>' 15.138 +branches = branches.tmpl 15.139 +branchentry = ' 15.140 + <tr class="tagEntry parity{parity}"> 15.141 + <td> 15.142 + <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> 15.143 + {branch|escape} 15.144 + </a> 15.145 + </td> 15.146 + <td class="node"> 15.147 + {node|short} 15.148 + </td> 15.149 + </tr>' 15.150 +changelogtag = '<span class="tag">{name|escape}</span> ' 15.151 +changesettag = '<span class="tag">{tag|escape}</span> ' 15.152 +changelogbranchhead = '<span class="branchhead">{name|escape}</span> ' 15.153 +changelogbranchname = '<span class="branchname">{name|escape}</span> ' 15.154 + 15.155 +filediffparent = ' 15.156 + <tr> 15.157 + <th class="parent">parent {rev}:</th> 15.158 + <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> 15.159 + </tr>' 15.160 +filelogparent = ' 15.161 + <tr> 15.162 + <th>parent {rev}:</th> 15.163 + <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> 15.164 + </tr>' 15.165 +filediffchild = ' 15.166 + <tr> 15.167 + <th class="child">child {rev}:</th> 15.168 + <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> 15.169 + </td> 15.170 + </tr>' 15.171 +filelogchild = ' 15.172 + <tr> 15.173 + <th>child {rev}:</th> 15.174 + <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> 15.175 + </tr>' 15.176 + 15.177 +indexentry = ' 15.178 + <tr class="parity{parity}"> 15.179 + <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td> 15.180 + <td>{description}</td> 15.181 + <td>{contact|obfuscate}</td> 15.182 + <td class="age">{lastchange|age} ago</td> 15.183 + <td class="indexlinks">{archives%indexarchiveentry}</td> 15.184 + </tr>\n' 15.185 +indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}"> ↓{type|escape}</a>' 15.186 +index = index.tmpl 15.187 +archiveentry = ' 15.188 + <li> 15.189 + <a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> 15.190 + </li>' 15.191 +notfound = notfound.tmpl 15.192 +error = error.tmpl 15.193 +urlparameter = '{separator}{name}={value|urlescape}' 15.194 +hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 16.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/notfound.tmpl Sun Nov 08 23:30:24 2009 +0100 16.3 @@ -0,0 +1,35 @@ 16.4 +{header} 16.5 +<title>Mercurial repository not found</title> 16.6 +</head> 16.7 +<body> 16.8 + 16.9 +<!-- Header --> 16.10 +<div id="header"> 16.11 + <a href="http://hg.slitaz.org/"><img id="logo" 16.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 16.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 16.14 + <p id="titre">#!/Hg/repos</p> 16.15 +</div> 16.16 + 16.17 +<div class="container"> 16.18 + 16.19 +<div id="nav"> 16.20 +<div class="nav_box"> 16.21 +<h4>SliTaz Network</h4> 16.22 +<ul> 16.23 + <li><a href="http://www.slitaz.org/">Main Website</a></li> 16.24 + <li><a href="http://forum.slitaz.org/">Community Forum</a></li> 16.25 + <li><a href="http://labs.slitaz.org/">SliTaz Laboratories</a></li> 16.26 + <li><a href="http://pkgs.slitaz.org/">Packages Database</a></li> 16.27 + <li><a href="http://bb.slitaz.org/">SliTaz Build Bot</a></li> 16.28 +</ul> 16.29 +</div> 16.30 +</div> 16.31 + 16.32 +<h2>Mercurial repository not found</h2> 16.33 + 16.34 +<p>The specified repository "{repo|escape}" is unknown, sorry. 16.35 + 16.36 +Please go back to the main repository list page.</p> 16.37 + 16.38 +{footer}
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 17.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/search.tmpl Sun Nov 08 23:30:24 2009 +0100 17.3 @@ -0,0 +1,54 @@ 17.4 +{header} 17.5 +<title>{repo|escape}: searching for {query|escape}</title> 17.6 +</head> 17.7 +<body> 17.8 + 17.9 +<!-- Header --> 17.10 +<div id="header"> 17.11 + <a href="http://hg.slitaz.org/"><img id="logo" 17.12 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 17.13 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 17.14 + <p id="titre">#!/Hg/repos</p> 17.15 +</div> 17.16 + 17.17 +<div class="container"> 17.18 +<div id="nav"> 17.19 + 17.20 +<div class="nav_box"> 17.21 +<h4>Navigation</h4> 17.22 +<ul> 17.23 +<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> 17.24 +<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> 17.25 +<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 17.26 +<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 17.27 +</ul> 17.28 +</div> 17.29 + 17.30 +<div class="nav_box"> 17.31 +<h4>Search</h4> 17.32 +<form class="search" action="{url}log"> 17.33 +{sessionvars%hiddenformentry} 17.34 +<p><input name="rev" id="search1" type="text" /></p> 17.35 +<div id="hint">find changesets by author, revision, 17.36 +files, or words in the commit message</div> 17.37 +</form> 17.38 +</div> 17.39 +</div> 17.40 + 17.41 +<div class="main"> 17.42 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 17.43 +<h3>searching for '{query|escape}'</h3> 17.44 + 17.45 +<table class="bigtable"> 17.46 + <tr> 17.47 + <th class="age">age</th> 17.48 + <th class="author">author</th> 17.49 + <th class="description">description</th> 17.50 + </tr> 17.51 +{entries} 17.52 +</table> 17.53 + 17.54 +</div> 17.55 +</div> 17.56 + 17.57 +{footer}
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 18.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/shortlog.tmpl Sun Nov 08 23:30:24 2009 +0100 18.3 @@ -0,0 +1,69 @@ 18.4 +{header} 18.5 +<title>{repo|escape}: log</title> 18.6 +<link rel="alternate" type="application/atom+xml" 18.7 + href="{url}atom-log" title="Atom feed for {repo|escape}" /> 18.8 +<link rel="alternate" type="application/rss+xml" 18.9 + href="{url}rss-log" title="RSS feed for {repo|escape}" /> 18.10 +</head> 18.11 +<body> 18.12 + 18.13 +<!-- Header --> 18.14 +<div id="header"> 18.15 + <a href="http://hg.slitaz.org/"><img id="logo" 18.16 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 18.17 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 18.18 + <p id="titre">#!/Hg/repos</a></p> 18.19 +</div> 18.20 +<div class="container"> 18.21 +<div id="nav"> 18.22 + 18.23 +<div class="nav_box"> 18.24 +<h4>Navigation</h4> 18.25 +<ul> 18.26 + <li class="active">log</li> 18.27 + <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> 18.28 + <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> 18.29 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 18.30 + <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> 18.31 + <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> 18.32 +</ul> 18.33 +</div> 18.34 + 18.35 +<div class="nav_box"> 18.36 +<h4>Search</h4> 18.37 +<form class="search" action="{url}log"> 18.38 +{sessionvars%hiddenformentry} 18.39 +<p><input name="rev" id="search1" type="text" /></p> 18.40 +<div id="hint">find changesets by author, revision, 18.41 +files, or words in the commit message</div> 18.42 +</form> 18.43 +</div> 18.44 + 18.45 +<div class="nav_box"> 18.46 +<h4>Archive</h4> 18.47 +<ul> 18.48 + {archives%archiveentry} 18.49 +</ul> 18.50 +</div> 18.51 +</div> 18.52 + 18.53 +<div class="main"> 18.54 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 18.55 +<h3>log</h3> 18.56 + 18.57 +<div class="navigate">rev {rev}: {changenav%navshortentry}</div> 18.58 + 18.59 +<table class="bigtable"> 18.60 + <tr> 18.61 + <th class="age">age</th> 18.62 + <th class="author">author</th> 18.63 + <th class="description">description</th> 18.64 + </tr> 18.65 +{entries%shortlogentry} 18.66 +</table> 18.67 + 18.68 +<div class="navigate">rev {rev}: {changenav%navshortentry}</div> 18.69 +</div> 18.70 +</div> 18.71 + 18.72 +{footer}
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 19.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/shortlogentry.tmpl Sun Nov 08 23:30:24 2009 +0100 19.3 @@ -0,0 +1,5 @@ 19.4 + <tr class="parity{parity}"> 19.5 + <td class="age">{date|age}</td> 19.6 + <td class="author">{author|person}</td> 19.7 + <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}</td> 19.8 + </tr>
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/slitaz-mercurial-style/stuff/templates/slitaz/tags.tmpl Sun Nov 08 23:30:24 2009 +0100 20.3 @@ -0,0 +1,56 @@ 20.4 +{header} 20.5 +<title>{repo|escape}: tags</title> 20.6 +<link rel="alternate" type="application/atom+xml" 20.7 + href="{url}atom-tags" title="Atom feed for {repo|escape}: tags" /> 20.8 +<link rel="alternate" type="application/rss+xml" 20.9 + href="{url}rss-tags" title="RSS feed for {repo|escape}: tags" /> 20.10 +</head> 20.11 +<body> 20.12 + 20.13 +<!-- Header --> 20.14 +<div id="header"> 20.15 + <a href="http://hg.slitaz.org/"><img id="logo" 20.16 + src="{staticurl}logo.png" title="www.slitaz.org" alt="www.slitaz.org" 20.17 + style="border: 0px solid ; width: 200px; height: 74px;" /></a> 20.18 + <p id="titre">#!/Hg/repos</p> 20.19 +</div> 20.20 + 20.21 +<div class="container"> 20.22 +<div id="nav"> 20.23 + 20.24 +<div class="nav_box"> 20.25 +<h4>Navigation</h4> 20.26 +<ul> 20.27 + <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> 20.28 + <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> 20.29 + <li class="active">tags</li> 20.30 + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> 20.31 +</ul> 20.32 +</div> 20.33 + 20.34 +<div class="nav_box"> 20.35 +<h4>Search</h4> 20.36 +<form class="search" action="{url}log"> 20.37 +{sessionvars%hiddenformentry} 20.38 +<p><input name="rev" id="search1" type="text" /></p> 20.39 +<div id="hint">find changesets by author, revision, 20.40 +files, or words in the commit message</div> 20.41 +</form> 20.42 +</div> 20.43 +</div> 20.44 + 20.45 +<div class="main"> 20.46 +<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> 20.47 +<h3>tags</h3> 20.48 + 20.49 +<table class="bigtable"> 20.50 +<tr> 20.51 + <th>tag</th> 20.52 + <th>node</th> 20.53 +</tr> 20.54 +{entries%tagentry} 20.55 +</table> 20.56 +</div> 20.57 +</div> 20.58 + 20.59 +{footer}
21.1 Binary file slitaz-mercurial-style/stuff/templates/static/coal-folder.png has changed
22.1 Binary file slitaz-mercurial-style/stuff/templates/static/favicon.ico has changed
23.1 Binary file slitaz-mercurial-style/stuff/templates/static/header.png has changed
24.1 Binary file slitaz-mercurial-style/stuff/templates/static/logo.png has changed
25.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 25.2 +++ b/slitaz-mercurial-style/stuff/templates/static/style-slitaz.css Sun Nov 08 23:30:24 2009 +0100 25.3 @@ -0,0 +1,351 @@ 25.4 +html { 25.5 + height: 102%; 25.6 +} 25.7 + 25.8 +body { 25.9 + background: #ffffff; 25.10 + color: black; 25.11 + font: 13px sans-serif, vernada, arial; 25.12 + margin: 0; 25.13 +} 25.14 + 25.15 +/* Header and title */ 25.16 + 25.17 +#header{ 25.18 + background: #f0ba08 url(header.png) repeat-x top; 25.19 + color: black; 25.20 + width: 100%; 25.21 + height: 50px; 25.22 + border-top: 1px solid black; 25.23 + border-bottom: 1px solid black; 25.24 + margin-bottom: 30px; 25.25 +} 25.26 + 25.27 +#titre { 25.28 + position: absolute; 25.29 + font-size: 16px; 25.30 + font-weight: bolder ; 25.31 + margin-left: 200px; 25.32 + margin-top: 28px; 25.33 +} 25.34 + 25.35 +#logo { 25.36 + position: absolute; 25.37 + float: left; 25.38 + margin-left: 16px; 25.39 + margin-top: 0px; 25.40 +} 25.41 + 25.42 +/* Navigation */ 25.43 + 25.44 +#nav { 25.45 + position: absolute; 25.46 + top: 76px; 25.47 + right: 40px; 25.48 + color: #555555; 25.49 + float: right; 25.50 + width: 250px; 25.51 + line-height: 1.5em; 25.52 + text-align: left; 25.53 + font-size: 12px; 25.54 +} 25.55 + 25.56 +#nav ul { 25.57 + list-style-type: none; 25.58 + margin: 10px 0; 25.59 +} 25.60 + 25.61 +#nav .nav_box ul { 25.62 + list-style-type: none; 25.63 + margin: 0; 25.64 + padding: 10px 24px 10px 0px; 25.65 +} 25.66 + 25.67 +#nav li { 25.68 + display: inline; 25.69 +} 25.70 + 25.71 +#nav h4 { 25.72 + font-size: 110%; 25.73 + color: #666666; 25.74 + font-weight: bold; 25.75 + margin: 0; 25.76 + padding: 0 0 1px 0; 25.77 + border-bottom: 1px solid #cecece; 25.78 +} 25.79 + 25.80 +#nav a { 25.81 + color: #0F314E; 25.82 + background: inherit; 25.83 + display: block; 25.84 + text-decoration: none; 25.85 + font-weight: bold; 25.86 +} 25.87 + 25.88 +#nav a:hover { 25.89 + color: #DF8F06; 25.90 + text-decoration: none; 25.91 + display: block; 25.92 +} 25.93 + 25.94 +.nav_box { 25.95 + -moz-border-radius: 8px; 25.96 + -webkit-border-radius: 8px; 25.97 + margin: 10px 0; 25.98 + padding: 10px 24px 10px 24px; 25.99 + background-color: #eaeaea; 25.100 + text-align: justify; 25.101 +} 25.102 + 25.103 +#nav .nav_box p { 25.104 + line-height: 1.3em; 25.105 +} 25.106 + 25.107 +#nav .nav_box p a { 25.108 + display: inline; 25.109 + font-weight: normal; 25.110 + text-decoration: underline; 25.111 +} 25.112 + 25.113 +#nav .nav_box p a:hover { 25.114 + text-decoration: none; 25.115 + color: blue; 25.116 + background: inherit; 25.117 +} 25.118 + 25.119 +#footer { 25.120 + float: none; 25.121 + background: inherit; 25.122 + color: black; 25.123 + width: auto; 25.124 + clear: both; 25.125 + padding: 0; 25.126 + margin: 0; 25.127 + text-align: center; 25.128 + vertical-align: middle; 25.129 +} 25.130 + 25.131 +a { 25.132 + text-decoration: underline; 25.133 + color: #0F314E; 25.134 + background: inherit; 25.135 +} 25.136 + 25.137 +a:hover { 25.138 + text-decoration: none; 25.139 + color: blue; 25.140 + background: inherit; 25.141 +} 25.142 + 25.143 +h3 { 25.144 + font-weight: bold; 25.145 + color: #6c0023; 25.146 + background: inherit; 25.147 +} 25.148 + 25.149 +.container { 25.150 + margin: 6px 280px 0px 0px; 25.151 + padding: 0px 40px 60px 40px; 25.152 +} 25.153 + 25.154 +.main { 25.155 + background: white; 25.156 +} 25.157 + 25.158 +#.main { 25.159 + width: 100%; 25.160 +} 25.161 + 25.162 +.overflow { 25.163 + width: 100%; 25.164 + overflow: auto; 25.165 +} 25.166 + 25.167 +.search { 25.168 + text-align: center; 25.169 +} 25.170 + 25.171 +form.search div#hint { 25.172 + display: none; 25.173 + position: absolute; 25.174 + top: 0px; 25.175 + right: 280px; 25.176 + width: 200px; 25.177 + padding: 5px; 25.178 + background: #ffc; 25.179 + font-size: 80%; 25.180 + border: 1px solid yellow; 25.181 + -moz-border-radius: 5px; /* this works only in camino/firefox */ 25.182 + -webkit-border-radius: 5px; /* this is just for Safari */ 25.183 +} 25.184 + 25.185 +form.search:hover div#hint { display: block; } 25.186 + 25.187 +a { text-decoration:none; } 25.188 +.age { white-space:nowrap; } 25.189 +.date { white-space:nowrap; } 25.190 +.indexlinks { white-space:nowrap; } 25.191 +.parity0 { background-color: #f0f0f0; } 25.192 +.parity1 { background-color: white; } 25.193 +.plusline { color: green; } 25.194 +.minusline { color: #dc143c; } /* crimson */ 25.195 +.atline { color: purple; } 25.196 + 25.197 +.navigate { 25.198 + text-align: right; 25.199 + font-size: 80%; 25.200 + margin: 1em 0; 25.201 +} 25.202 + 25.203 +.tag { 25.204 + color: #999; 25.205 + font-size: 70%; 25.206 + font-weight: normal; 25.207 + margin-left: .5em; 25.208 + vertical-align: baseline; 25.209 +} 25.210 + 25.211 +.branchhead { 25.212 + color: #000; 25.213 + font-size: 80%; 25.214 + font-weight: normal; 25.215 + margin-left: .5em; 25.216 + vertical-align: baseline; 25.217 +} 25.218 + 25.219 +ul#graphnodes .branchhead { 25.220 + font-size: 75%; 25.221 +} 25.222 + 25.223 +.branchname { 25.224 + color: #000; 25.225 + font-size: 60%; 25.226 + font-weight: normal; 25.227 + margin-left: .5em; 25.228 + vertical-align: baseline; 25.229 +} 25.230 + 25.231 +h3 .branchname { 25.232 + font-size: 80%; 25.233 +} 25.234 + 25.235 +/* Common */ 25.236 +pre { margin: 0; } 25.237 + 25.238 +h2 { font-size: 140%; color: black; } 25.239 +h2 a { color: #000; } 25.240 +h3 { 25.241 + margin-top: -.7em; 25.242 + font-size: 100%; 25.243 +} 25.244 + 25.245 +/* log and tags tables */ 25.246 +.bigtable { 25.247 + border-bottom: 1px solid #999; 25.248 + border-collapse: collapse; 25.249 + font-size: 90%; 25.250 + width: 100%; 25.251 + font-weight: normal; 25.252 + text-align: left; 25.253 +} 25.254 + 25.255 +.bigtable td { 25.256 + vertical-align: top; 25.257 +} 25.258 + 25.259 +.bigtable th { 25.260 + padding: 1px 4px; 25.261 + border-bottom: 1px solid #999; 25.262 +} 25.263 +.bigtable tr { border: none; } 25.264 +.bigtable .age { width: 6em; } 25.265 +.bigtable .author { width: 12em; } 25.266 +.bigtable .description { } 25.267 +.bigtable .node { width: 5em; font-family: monospace;} 25.268 +.bigtable .permissions { width: 8em; text-align: left;} 25.269 +.bigtable .size { width: 5em; text-align: right; } 25.270 +.bigtable .annotate { text-align: right; } 25.271 +.bigtable td.annotate { font-size: smaller; } 25.272 +.bigtable td.source { font-size: inherit; } 25.273 + 25.274 +.source, .sourcefirst, .sourcelast { 25.275 + font-family: monospace; 25.276 + white-space: pre; 25.277 + padding: 1px 4px; 25.278 + font-size: 90%; 25.279 +} 25.280 +.sourcefirst { border-bottom: 1px solid #999; font-weight: bold; } 25.281 +.sourcelast { border-top: 1px solid #999; } 25.282 +.source a { color: #999; font-size: smaller; font-family: monospace;} 25.283 +.bottomline { border-bottom: 1px solid #999; } 25.284 + 25.285 +.fileline { font-family: monospace; } 25.286 +.fileline img { border: 0; } 25.287 + 25.288 +.tagEntry .closed { color: #99f; } 25.289 + 25.290 +/* Changeset entry */ 25.291 +#changesetEntry { 25.292 + border-collapse: collapse; 25.293 + font-size: 90%; 25.294 + width: 100%; 25.295 + margin-bottom: 1em; 25.296 +} 25.297 + 25.298 +#changesetEntry th { 25.299 + padding: 1px 4px; 25.300 + width: 4em; 25.301 + text-align: right; 25.302 + font-weight: normal; 25.303 + color: #999; 25.304 + margin-right: .5em; 25.305 + vertical-align: top; 25.306 +} 25.307 + 25.308 +div.description { 25.309 + border-left: 2px solid #999; 25.310 + margin: 1em 0 1em 0; 25.311 + padding: .3em; 25.312 +} 25.313 + 25.314 +/* Graph */ 25.315 +div#wrapper { 25.316 + position: relative; 25.317 + border-top: 1px solid black; 25.318 + border-bottom: 1px solid black; 25.319 + margin: 0; 25.320 + padding: 0; 25.321 +} 25.322 + 25.323 +canvas { 25.324 + position: absolute; 25.325 + z-index: 5; 25.326 + top: -0.7em; 25.327 + margin: 0; 25.328 +} 25.329 + 25.330 +ul#graphnodes { 25.331 + position: absolute; 25.332 + z-index: 10; 25.333 + top: -1.0em; 25.334 + list-style: none inside none; 25.335 + padding: 0; 25.336 +} 25.337 + 25.338 +ul#nodebgs { 25.339 + list-style: none inside none; 25.340 + padding: 0; 25.341 + margin: 0; 25.342 + top: -0.7em; 25.343 +} 25.344 + 25.345 +ul#graphnodes li, ul#nodebgs li { 25.346 + height: 39px; 25.347 +} 25.348 + 25.349 +ul#graphnodes li .info { 25.350 + display: block; 25.351 + font-size: 70%; 25.352 + position: relative; 25.353 + top: -3px; 25.354 +}