summaryrefslogtreecommitdiff
path: root/templates/devel/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/devel/index.html')
-rw-r--r--templates/devel/index.html42
1 files changed, 29 insertions, 13 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 939e7ecd..8c621cc5 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -23,18 +23,36 @@
{% endif %}
<div class="greybox">
- <h3 class="title">Repository Package Stats</h3>
+ <h3 class="title">Stats by Architecture</h3>
+ <table class="results" width="100%">
+ <tr>
+ <th width="50%">Arch</th>
+ <th># Packages</th>
+ <th># Flagged</th>
+ </tr>
+ {% for arch in arches %}
+ <tr class="{% cycle pkgr2,pkgr1 %}">
+ <td><strong>{{ arch.name }}</strong></td>
+ <td><a href="/packages/?arch={{ arch.name }}"><strong>{{ arch.count }}</strong> packages</a></td>
+ <td><a href="/packages/?arch={{ arch.name }}&flagged_only=y"><strong>{{ arch.flagged }}</strong> packages</a></td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
+ <br /><br />
+ <div class="greybox">
+ <h3 class="title">Stats by Repository</h3>
<table class="results" width="100%">
<tr>
<th width="50%">Repository</th>
- <th># Package</th>
+ <th># Packages</th>
<th># Flagged</th>
</tr>
{% for repo in repos %}
<tr class="{% cycle pkgr2,pkgr1 %}">
- <td><a href="/packages/?repo={{ repo.name }}">{{ repo.name }}</a></td>
- <td><strong>{{ repo.count }}</strong> packages</td>
- <td><strong>{{ repo.flagged }}</strong> packages</td>
+ <td><strong>{{ repo.name }}</strong></td>
+ <td><a href="/packages/?repo={{ repo.name }}"><strong>{{ repo.count }}</strong> packages</a></td>
+ <td><a href="/packages/?repo={{ repo.name }}&flagged_only=y"><strong>{{ repo.flagged }}</strong> packages</a></td>
</tr>
{% endfor %}
</table>
@@ -42,20 +60,18 @@
<br /><br />
<div class="greybox">
- <h3 class="title">Maintainer Package Stats</h3>
+ <h3 class="title">Stats by Maintainer</h3>
<table class="results" width="100%">
<tr>
<th width="50%">Maintainer</th>
- <th># Package</th>
+ <th># Packages</th>
<th># Flagged</th>
- <th># Flagged notesting</th>
</tr>
{% for maint in stats %}
<tr class="{% cycle pkgr2,pkgr1 %}">
- <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>
- <td><strong>{{ maint.3 }}</strong> packages</td>
+ <td><strong>{{ maint.0.get_full_name }}</strong></td>
+ <td><a href="/packages/?maint={{ maint.0.id }}"><strong>{{ maint.1 }}</strong> packages</a></td>
+ <td><a href="/packages/?maint={{ maint.0.id }}&flagged_only=y"><strong>{{ maint.2 }}</strong> packages</a></td>
</tr>
{% endfor %}
</table>
@@ -86,7 +102,7 @@
</ul>
<ul class="small">
{% for pkg in pkgs %}
- <li><a href="/packages/{{ pkg.id }}/">{{ pkg.repo.name }}::{{ pkg.pkgname }} {{ pkg.pkgver }}</a></li>
+ <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 %}