[Cdd-commits] r870 - in cdd/trunk/webtools: inc templates
CDD Subversion Commit
noreply at alioth.debian.org
Sun Jun 29 19:31:14 UTC 2008
Author: tille
Date: Sun Jun 29 19:31:14 2008
New Revision: 870
Modified:
cdd/trunk/webtools/inc/style.css
cdd/trunk/webtools/templates/tasks.xhtml
Log:
Mark current page inside link list
Modified: cdd/trunk/webtools/inc/style.css
==============================================================================
--- cdd/trunk/webtools/inc/style.css (original)
+++ cdd/trunk/webtools/inc/style.css Sun Jun 29 19:31:14 2008
@@ -209,6 +209,16 @@
padding:0.5em;
}
+span.link{
+ padding:0.5em;
+}
+
+span.curlink{
+ padding-left:0.5em;
+ padding-right:0.5em;
+ background:#dee7ec;
+}
+
table{
margin:0em 0em 1em 0em;
font:9pt sans-serif;
@@ -476,15 +486,15 @@
}
tr.deb-official {
- background-color: #cf9;
+ background-color: #ccff99;
}
tr.deb-unofficial {
- background-color: #ff9;
+ background-color: #ffff99;
}
tr.deb-prospective {
- background-color: #fc9;
+ background-color: #ffcf99;
}
td.project-license {
Modified: cdd/trunk/webtools/templates/tasks.xhtml
==============================================================================
--- cdd/trunk/webtools/templates/tasks.xhtml (original)
+++ cdd/trunk/webtools/templates/tasks.xhtml Sun Jun 29 19:31:14 2008
@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}"
xmlns:py="http://genshi.edgewall.org/">
<head>
-<title>$projectname $task packages</title>
+<title>$projectname ${tasks[task].metapkg.PrintedName} packages</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
<link href="$css" type="text/css" rel="stylesheet"/>
</head>
@@ -52,15 +52,20 @@
<span class="section">${othertasks}</span>
<div class="section">
<div class="sectionTop"/>
- <div class="row"><a href="index.html">${indexlink}</a></div>
- <py:for each="task in taskskeys">
- <a href="${task}.html">${tasks[task].metapkg.PrintedName.capitalize()}</a><br />
- </py:for>
+ <div class="row">
+ <div class="link"><a href="index.html">${indexlink}</a></div>
+ <py:for each="t in taskskeys">
+ <div py:choose="t">
+ <span py:when="task" class="curlink"><a href="${t}.html">${tasks[t].metapkg.PrintedName.capitalize()}</a></span>
+ <span py:otherwise="" class="link"><a href="${t}.html">${tasks[t].metapkg.PrintedName.capitalize()}</a></span>
+ </div>
+ </py:for>
+ </div>
</div>
</td>
<td class="main">
<div class="pageBody">
- <h1>$projectname $task packages</h1>
+ <h1>$projectname ${tasks[task].metapkg.PrintedName} packages</h1>
<py:for each="type in dependencies">
<h2><a id="${type}-debs" name="${type}-debs"/>${typeheading[type]}</h2>
<py:for each="project in projects[type]">
More information about the Cdd-commits
mailing list