aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/templates/layout.html21
1 files changed, 19 insertions, 2 deletions
diff --git a/web/templates/layout.html b/web/templates/layout.html
index 6e93caa..01d3d0a 100644
--- a/web/templates/layout.html
+++ b/web/templates/layout.html
@@ -188,8 +188,24 @@ def alpha_url(baseurl):
<p class="package"><a href="${relurl('/package/'+pkg.atom.key)}">${pkg.atom.cpvstr}</a></p>
<p class="description">${pkg.meta.description}</p>
<div class="changelogmsg">${HTML(pkg.meta.commitmsg)}</div>
- <!-- <pkginfo /> -->
- <pkgarches />
+ <!-- <pkgarches> -->
+ <div style="overflow-x: auto">
+ <table class="main">
+ <tr class="d0 arch">
+ <td class="emptycell"></td>
+ <td class="d0 arch" py:for="arch in sorted(arches)">${arch}</td>
+ </tr>
+ <tr py:for="pkg_keywords in pkg.keywords">
+ <td class="ebuild">${pkg_keywords.atom.fullver}</td>
+ <div py:for="arch in sorted(arches)" py:strip="True">
+ <td py:if="arch not in pkg_keywords" class="blank"></td>
+ <td py:if="arch in pkg_keywords" class="${pkg_keywords[arch].name}">${pkg_keywords[arch].mode}</td>
+ </div>
+ </tr>
+ </table>
+ </div>
+ <!-- </pkgarches> -->
+ <!-- <pkginfo> -->
<table class="pkginfo">
<tr>
<td class="category"><a href="${relurl('/category/'+pkg.meta.atom.category)}">${pkg.meta.atom.category}</a></td>
@@ -201,6 +217,7 @@ def alpha_url(baseurl):
<td class="forums" ><a href="${pkg.forums}">Forums</a></td>
</tr>
</table>
+ <!-- </pkginfo> -->
</div>
</py:match>
</html>