diff options
Diffstat (limited to 'grumpy/templates/dashboard.html')
-rw-r--r-- | grumpy/templates/dashboard.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/grumpy/templates/dashboard.html b/grumpy/templates/dashboard.html new file mode 100644 index 0000000..0bec1f0 --- /dev/null +++ b/grumpy/templates/dashboard.html @@ -0,0 +1,19 @@ +{% extends "layout.html" %} +{% block body %} +<h2>Hi, {{ g.user.email.split('@')[0] }}</h2> +<h3>Managed packages</h3> +{% if pkgs %} +<table id="owned_pkgs"> +<thead> + <tr><th>Package</th></tr> +</thead> +<tbody> +{% for pkg in pkgs %} +<tr><td>{{ pkg.key | e }}</td></tr> +{% endfor %} +</tbody> +</table> +{% else %} +You are not listed as maintainer of any packages +{% endif %} +{% endblock %} |