diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/standalone-html.tx | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/templates/standalone-html.tx b/templates/standalone-html.tx new file mode 100644 index 0000000..dd9677c --- /dev/null +++ b/templates/standalone-html.tx @@ -0,0 +1,84 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <title><: $title :></title> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAArUlEQVR4AWOgOhAOqf4vEFh2RkZGRpAsA7jT5/7nSJ97RlJSklwD5vznTJxCgQFpQAMSJlJoQPwEuroAMxA5U2ZSYsA8YCzMp9AFydMpjMakKZSmg8nkG8CVMe8/e9ai80AD5ICYDx0TNiBr0X/m6oOfganxJEfq7KOcSdOOciVMAuKJR0XswnsIGiAQVvOfK3vxf67M+f+5shYA6YVAeuF/3vj+l2LOcRZUz70AF5dRizrcOOQAAAAASUVORK5CYII=" rel="icon" type="image/x-icon" /> + <style type="text/css"> + +<: $style_sheet :> + + </style> +</head> + +<body> + +<main> + +<article> + +<h1>Lintian Hints</h1> + +<div>Produced by Lintian version <: $output["lintian-version"] :>.</div> + +: for $output.groups -> $group { + +<h2> + <: $group.name :> <: $group.version :> +</h2> + +<div>The run started <: $group.start :> (UTC) and took <: $group.duration :>.</div> + +<ul class="filelist"> + + : for $group["input-files"] -> $item { + <li class="fileitem"><: $item.filename :></li> + + <ul class="hintlist"> + + : for $item.hints -> $subitem { + <li class="hintitem"> + + <ul class="commentlist"> + : for $subitem.comments -> $comment { + <li class="commentitem"> + <span class="comment tiny"># <: $comment :></span> + </li> + : } + </ul> + + <a class="visibility-symbol tiny <: $subitem.visibility :>" href="https://lintian.debian.org/levels#<: $subitem.visibility :>"></a> + <span class="hint tiny"><a href="<: $subitem.url :>"><: $subitem.tag_name :></a></span> + <span class="context tiny"><: $subitem.context :></span> + + </li> + : } + : else { + <p>No hints.</p> + : } + + </ul> + + : } + +</ul> + +: } + +</article> + +</main> + +<hr/> + +<footer> + <p> + Comments about this web page? Please report a bug against the + <a href="https://salsa.debian.org/lintian/lintian">lintian</a> + package and mention the <em>standalone HTML</em> output format. + </p> +</footer> + +</body> +</html> |