stackage-server/templates/package-list.hamlet
Michael Snoyman 522d2228a9 Package page per snapshot #36 #49
This is not yet live. We'll have a link for all packages in each
snapshot, which includes the version number, doc link if available, and
synopsis.
2014-12-10 12:06:55 +02:00

25 lines
820 B
Plaintext

<div .container>
<h1>Packages
$maybe (back, backText) <- mback
<p>
<a href=@{back}>#{asText backText}
<div .packages>
<table .table>
<thead>
<th>Package
<th>Docs
<th>Synopsis
<tbody>
$forall (name,mversion,synopsis,mdoc) <- packages
<tr>
<td>
<a href=@{PackageR name}>
#{name}
$maybe version <- mversion
-#{asText version}
<td>
$maybe doc <- mdoc
<a href=@{doc}>Docs
<td>
#{synopsis}