[Blends-commit] [SCM] website branch, master, updated. e8d5fb50cb899f0fe3e941b49c66bbe2c4fc0374

Ole Streicher debian at liska.ath.cx
Mon Nov 23 15:47:43 UTC 2015


The following commit has been merged in the master branch:
commit e8d5fb50cb899f0fe3e941b49c66bbe2c4fc0374
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Mon Nov 23 16:47:16 2015 +0100

    Migrate blends tasks list to Debian css

diff --git a/webtools/templates/tasks_idx.xhtml b/webtools/templates/tasks_idx.xhtml
index 6cf144f..9be4f8d 100644
--- a/webtools/templates/tasks_idx.xhtml
+++ b/webtools/templates/tasks_idx.xhtml
@@ -3,61 +3,91 @@
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}"
       xmlns:py="http://genshi.edgewall.org/">
-<head>
-<title>$projectname</title>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
-<link href="/css/sentinel.css" type="text/css" rel="stylesheet"/>
-</head>
-<body>
-<div style="text-align: center;">
-<a href="$projecturl"><span py:choose="logourl">
-	           <span py:when="None">${projectname} Project</span>
-	           <span py:otherwise=""><img src="$logourl" alt="$projectname Project" height="93" /></span>
-                 </span>
-</a>
-</div>
-<div class="heading" py:if="projectadvertising">
-	<div class="tabBar" style="text-align: center;">$projectadvertising</div>
-</div>
-<table class="columns">
-<tr>
-	<td class="left">
-		<span class="section">$summary</span>
-		<div class="section">
-			<div class="sectionTop"></div>
-			<div class="row">${idxsummary}</div>
-		</div>
-	</td>
-	<td class="main">
-		<div class="pageBody">
-			<h1>$gtstrTasksPage</h1>
-			<p>$gtstrThisIsAList</p>
-			<dl>
-                             <py:for each="task in taskskeys">
-                                <dt><a href="${task}" name="${task}" id="${task}">${tasks[task].metapkg.PrintedName.capitalize()} - <span py:choose="">
-	           <span py:when="tasks[task].metapkg.desc.has_key(lang)">${tasks[task].metapkg.desc[lang]['short']}</span>
-	           <span py:otherwise="">${tasks[task].metapkg.desc['en']['short']}</span>
-                 </span></a></dt>
-				<dd><span py:choose="">
-	           <span py:when="tasks[task].metapkg.desc.has_key(lang)">${tasks[task].metapkg.desc[lang]['long']}</span>
-	           <span py:otherwise="">${tasks[task].metapkg.desc['en']['long']}</span>
-                 </span></dd>
-                             </py:for>
-			</dl>
-		</div>
-	</td>
-</tr>
-</table>
-<div id="footer">
-  <hr class="hidecss" />
-<p>${langavail}</p>
-<py:for each="l in languages">
-  <span py:if="lang != l" class="navpara">
-    <a href="index.${language_dict[l]['short']}.html" title="${language_dict[l]['title']}" hreflang="${language_dict[l]['htaccess']}" lang="${language_dict[l]['htaccess']}" rel="alternate">${language_dict[l]['printed']}</a>
-  </span>
-</py:for>
-<p>${howtosetlang}</p>
-  <address>${updatetimestamp}</address>
-</div>
-</body>
+  <head>
+    <title>$projectname</title>
+    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
+    <link href="http://www.debian.org/debhandheld.css" media="screen"
+	  rel="stylesheet" type="text/css" />
+    <link href="http://www.debian.org/debian.css" rel="stylesheet"
+	  type="text/css" />
+    <link href="http://blends.debian.org/css/blends.css" rel="stylesheet"
+	  type="text/css" />
+    <link rel="shortcut icon" href="http://www.debian.org/favicon.ico" />
+  </head>
+  <body>
+    <div id="header">
+      <div id="upperheader">
+	<div id="logo">
+	  <a href="http://www.debian.org/" title="Debian Home">
+	    <img src= "http://www.debian.org/Pics/openlogo-50.png"
+		 alt="Debian" width="50" height= "61" /></a>
+	  </div>
+	  <p class="section">Pure Blend</p>
+	</div>
+	<div id="navbar">
+	  <ul> 
+	    <li><a href="$projecturl">$projectname</a></li>
+	    <!--
+	    <li><a href="../tasks">Packages</a></li>
+		<li><a href="../contact.html">Contact</a></li>
+	    <li><a href="../contribute.html">Contribute</a></li>
+	    -->
+	    <li><a href="../tasks">Tasks</a></li>
+	    <li><a href="../bugs/">Bugs</a></li>
+	    <li><a href="../thermometer/">Thermometer</a></li>
+	    <li><a href="../maintstats/">Maintainer Stats</a></li>
+	  </ul>
+	</div>
+      <p id="breadcrumbs">
+	<a href="http://blends.debian.org">Debian Pure Blends</a>
+	/ <a href="$projecturl">$projectname</a>
+	/ Packages
+      </p>
+    </div><!-- end header -->
+    <div id="content">
+      <h1>$projectname Packages</h1>
+      <p> The packages of the $projectname Pure Blend are grouped by
+	metapackages. Each metapackage will cause the installation of
+	packages for a specific topic. The following table lists the
+	metapackages of $projectname:
+      </p>
+      <table>
+	<thead>
+	  <tr><th>Metapackage</th><th>Description</th></tr>
+	</thead>
+	<tbody>
+          <py:for each="task in taskskeys">
+	    <tr>
+	      <td>
+		<a href="${task}" name="${task}" id="${task}">
+		  ${tasks[task].metapkg.PrintedName.capitalize()}
+		</a>
+	      </td>
+	      <td>
+		<span py:choose="">
+	          <span py:when="tasks[task].metapkg.desc.has_key(lang)">
+		    ${tasks[task].metapkg.desc[lang]['short']}
+		  </span>
+	          <span py:otherwise="">
+		    ${tasks[task].metapkg.desc['en']['short']}
+		  </span>
+		</span>
+	      </td>
+	    </tr>
+	  </py:for>
+	</tbody>
+      </table>
+    </div>
+    <div id="footer">
+      <hr class="hidecss" />
+      <p>${langavail}</p>
+      <py:for each="l in languages">
+	<span py:if="lang != l" class="navpara">
+	  <a href="index.${language_dict[l]['short']}.html" title="${language_dict[l]['title']}" hreflang="${language_dict[l]['htaccess']}" lang="${language_dict[l]['htaccess']}" rel="alternate">${language_dict[l]['printed']}</a>
+	</span>
+      </py:for>
+      <p>${howtosetlang}</p>
+      <address>${updatetimestamp}</address>
+    </div>
+  </body>
 </html>

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list