summaryrefslogtreecommitdiffstats
path: root/templates/devel
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-12 01:50:08 +0200
committerDusty Phillips <buchuki@gmail.com>2008-10-12 01:50:08 +0200
commit7dedeeafd5b2e34f05bd75e548ca56942919c668 (patch)
tree57a9310a4f540772a93a7dcbc80cff0e1384d08d /templates/devel
parentf260843deb371a7d2ef5a265f52e643fcf64f86f (diff)
downloadarchweb-7dedeeafd5b2e34f05bd75e548ca56942919c668.tar.gz
archweb-7dedeeafd5b2e34f05bd75e548ca56942919c668.tar.xz
simplify both look and code for dashboard
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/index.html47
-rw-r--r--templates/devel/siteindex.html1
2 files changed, 24 insertions, 24 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 661db3c..f3c6d46 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 %}
diff --git a/templates/devel/siteindex.html b/templates/devel/siteindex.html
index 94ef405..27a5b51 100644
--- a/templates/devel/siteindex.html
+++ b/templates/devel/siteindex.html
@@ -46,6 +46,7 @@
<li><a href="/packages/signoffs/">Signoffs</a></li>
<li><a href="/todo/">Todos</a></li>
<li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li>
+ <li><a href="http://wiki.archlinux.org/index.php/DeveloperWiki:HOWTO_Be_A_Packager">Package Maintainer's Guide</a></li>
<li><a href="/devel/profile/">Profile</a></li>
</ul>
<h3>Main Site Links:</h3>