diff options
author | eliott <eliott@cactuswax.net> | 2007-11-03 03:45:10 -0400 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2007-11-03 03:45:10 -0400 |
commit | 39a548fd2629f3b6383990264b2e331b3aea99fb (patch) | |
tree | f68c3156dad5f7814473ceff2461679ddf11a2e8 /templates/devel/index.html |
Initial import for public release...
Special Note
Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
Diffstat (limited to 'templates/devel/index.html')
-rw-r--r-- | templates/devel/index.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html new file mode 100644 index 00000000..2617de9f --- /dev/null +++ b/templates/devel/index.html @@ -0,0 +1,75 @@ +{% extends "base.html" %} + +{% block content %} + {% if todos %} + <div class="greybox"> + <h3 class="title">Package ToDo Lists</h3> + <table class="results" width="100%"> + <tr> + <th>Name</th> + <th>Creation Date</th> + <th>Description</th> + </tr> + {% for todo in todos %} + <tr> + <td style="white-space:nowrap"><a href="/todo/{{ todo.id }}/">{{ todo.name }}</a></td> + <td>{{ todo.date_added }}</td> + <td>{{ todo.description }}</td> + </tr> + {% endfor %} + </table> + </div> + <br /><br /> + {% endif %} + + <div class="greybox"> + <h3 class="title">Flagged Package Stats</h3> + <table class="results" width="100%"> + <tr> + <th>Maintainer</th> + <th># Package</th> + <th># Flagged</th> + </tr> + {% for maint in stats %} + <tr> + <td><a href="/packages/?maint={{ maint.0.id }}">{{ maint.0.get_full_name }}</a></td> + <td><strong>{{ maint.1 }}</strong> packages</td> + <td><strong>{{ maint.2 }}</strong> packages</td> + </tr> + {% endfor %} + </table> + </div> + <br /><br /> + + <div class="box"> + <h3 class="title">Package Maintenance</h3> + <br /> + <table width="100%"> + <tr> + <td style="vertical-align: top"> + {% if maint %} + <a href="/packages/?maint={{ maint.id }}">My Packages</a><br /> + {% endif %} + <a href="/packages/?maint=0">Orphan Packages</a><br /> + <br /> + <a href="/devel/guide/">Package Maintainer's Guide</a><br /> + </td><td style="vertical-align: top"> + {% if pkgs %} + <h4>My Flagged Packages:</h4> + <ul class="small"> + <li><form method="post" action="/devel/notify/"> + <input name="notify" type="checkbox" value="yes"{% if maint.get_profile.notify %} checked{% endif %} /> Notify me when packages are flagged + + <input type="submit" value="Update" /> + </form></li> + </ul> + <ul class="small"> + {% for pkg in pkgs %} + <li><a href="/packages/{{ pkg.id }}/">{{ pkg.repo.name }}::{{ pkg.pkgname }} {{ pkg.pkgver }}</a></li> + {% endfor %} + </ul> + {% endif %} + </td> + </tr> + </table> +{% endblock %} |