summaryrefslogtreecommitdiff
path: root/templates/devel/index.html
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-11 19:50:08 -0400
committerDusty Phillips <buchuki@gmail.com>2008-10-11 19:50:08 -0400
commit7dedeeafd5b2e34f05bd75e548ca56942919c668 (patch)
tree57a9310a4f540772a93a7dcbc80cff0e1384d08d /templates/devel/index.html
parentf260843deb371a7d2ef5a265f52e643fcf64f86f (diff)
simplify both look and code for dashboard
Diffstat (limited to 'templates/devel/index.html')
-rw-r--r--templates/devel/index.html47
1 files changed, 23 insertions, 24 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 661db3c0..f3c6d463 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -78,32 +78,31 @@
</div>
<br /><br />
- <div class="box">
- <h3 class="title">Package Maintenance</h3>
+ <div class="greybox">
+ <h3 class="title">My Flagged Packages</h3>
+ <form method="post" action="/devel/notify/">
+ <input name="notify" type="checkbox" value="yes"
+ {% if user.get_profile.notify %} checked="checked"{% endif %} />
+ Notify me when packages are flagged&nbsp;&nbsp;
+ <input type="submit" value="Update" />
+ </form>
<br />
- <table width="100%">
+ <table class="results" width="100%">
<tr>
- <td style="vertical-align: top">
- <br />
- <a
- href="http://wiki.archlinux.org/index.php/DeveloperWiki:HOWTO_Be_A_Packager">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
- &nbsp; &nbsp;
- <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 }} &nbsp; &nbsp; {{ pkg.pkgver }} &nbsp; &nbsp; {{ pkg.arch.name }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
- </td>
+ <th style="width: 50%">Name</th>
+ <th>Repo</th>
+ <th>Version</th>
+ <th>Arch</th>
</tr>
+ {% for pkg in user.maintained_packages.flagged %}
+ <tr class="{% cycle pkgr2,pkgr1 %}">
+ <td>
+ <a href="/packages/{{ pkg.id }}/">{{ pkg.pkgname }}</a>
+ </td>
+ <td>{{ pkg.pkgver }}</td>
+ <td>{{ pkg.repo.name }}</td>
+ <td>{{ pkg.arch.name }}</td>
+ </tr>
+ {% endfor %}
</table>
{% endblock %}