aboutsummaryrefslogtreecommitdiff
blob: 59e05f998ec64452f1f013e25c534625399636a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "layout.html" %}
{% block title %}Your Dashboard{% endblock %}
{% block script %}
<script type="text/javascript" language="javascript" src="{{ url_for('static', filename='js/jquery.min.js' )}}"></script>
<script type="text/javascript" language="javascript" src="{{ url_for('static', filename='js/jquery.dataTables.min.js' )}}"></script>
<script type="text/javascript">
$(document).ready(function() {
  $('#owned_pkgs').dataTable();
} );
</script>
{% endblock %}
{% 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 %}