summaryrefslogtreecommitdiff
path: root/templates/buglist.html
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-07-06 18:17:54 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-07-06 18:17:54 +0200
commit704a61184e9d87d0aad33b5f830e075dd7da9e4d (patch)
tree501b46e3d61fdcecc3393588c80f378400ac3c2b /templates/buglist.html
parentc35389d77608fa78affe4eee331970897707bc97 (diff)
downloadhemiptera-704a61184e9d87d0aad33b5f830e075dd7da9e4d.tar.gz
hemiptera-704a61184e9d87d0aad33b5f830e075dd7da9e4d.tar.bz2
hemiptera-704a61184e9d87d0aad33b5f830e075dd7da9e4d.zip
added templates
Diffstat (limited to 'templates/buglist.html')
-rw-r--r--templates/buglist.html48
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>