diff options
Diffstat (limited to 'templates/buglist.html')
-rw-r--r-- | templates/buglist.html | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/templates/buglist.html b/templates/buglist.html new file mode 100644 index 0000000..3e69108 --- /dev/null +++ b/templates/buglist.html @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<head> + <title> + Hemiptera Bugtracker at {{DOMAIN}} + </title> + <meta charset="utf-8"> + <link rel="stylesheet" type="text/css" href="/styles.css" > +</head> +<body> + <header> + <h1> + <a href="/" >Hemiptera Bugtracker at {{DOMAIN}}</a> + </h1> + <h3> + Bugs in {{prname}} + </h3> + </header> + <table> + <thead> + <td>Id + <td>Name + <td>Number of replies + <td>Created + <td>Last Reply + <td>Status + </thead> + {% for i in bugs %} + <tr class="{% if i.closed %} closed {% endif %}" > + <td> + {{ i.id }} + <td> + <a href="/{{ prname }}/{{ i.id }}.html"> {{ i.subject }}</a> + <td> + {{ i.replies }} + <td title="{{ i.created }}"> + {{ i.nicecreated }} + <td title="{{ i.last_reply }}"> + {{ i.nicereply }} + <td> + {% if i.closed %} + closed + {% else %} + open + {% endif %} + </tr> + {% endfor %} + </table> +</body> |