summaryrefslogtreecommitdiffstats
path: root/web/template/stats/general_stats_table.php
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-05-23 13:49:02 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-06 11:26:25 +0200
commitd2480e8b9d3d0f946d57fa9422811cb37296b8b4 (patch)
tree46c2f3de265c25bb40fadb507688e10dd1733e62 /web/template/stats/general_stats_table.php
parentd8b2eb4b628e8927b0bed1b254c996520de95b83 (diff)
downloadaurweb-d2480e8b9d3d0f946d57fa9422811cb37296b8b4.tar.xz
Overhaul to stat tables to match archweb
* Move stat tables into widget boxes to match archweb * Remove old span styles * Clean-up XHTML formatting * Minor whitespace fix Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/stats/general_stats_table.php')
-rw-r--r--web/template/stats/general_stats_table.php39
1 files changed, 19 insertions, 20 deletions
diff --git a/web/template/stats/general_stats_table.php b/web/template/stats/general_stats_table.php
index a100dfe..e2b12c7 100644
--- a/web/template/stats/general_stats_table.php
+++ b/web/template/stats/general_stats_table.php
@@ -1,37 +1,36 @@
-<table class='boxSoft'>
+<h3><?php echo __("Statistics") ?></h3>
+
+<table>
<tr>
- <th colspan='2' class='boxSoftTitle'><span class='f3'><?php print __("Statistics") ?></span></th>
+ <td><?php print __("Packages"); ?></td>
+ <td><?php print $unsupported_count; ?></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages"); ?></span></td>
- <td class='boxSoft'><span class='f4'><?php print $unsupported_count; ?></span></td>
+ <td><?php print __("Orphan Packages"); ?></td>
+ <td><?php print $orphan_count; ?></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Orphan Packages"); ?></span></td>
- <td class='boxSoft'><span class='f4'><?php print $orphan_count; ?></span></td>
+ <td><?php print __("Packages added in the past 7 days"); ?></td>
+ <td><?php print $add_count; ?></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages added in the past 7 days"); ?></span></td>
- <td class='boxSoft'><span class='f4'><?php print $add_count; ?></span></td>
+ <td><?php print __("Packages updated in the past 7 days"); ?></td>
+ <td><?php print $update_count; ?></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages updated in the past 7 days"); ?></span></td>
- <td class='boxSoft'><span class='f4'><?php print $update_count; ?></span></td>
+ <td><?php print __("Packages updated in the past year"); ?></td>
+ <td><?php print $update_year_count; ?></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages updated in the past year"); ?></span></td>
- <td class='boxSoft'><span class='f4'><?php print $update_year_count; ?></span></td>
+ <td><?php print __("Packages never updated"); ?></td>
+ <td><?php print $never_update_count; ?></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages never updated"); ?></span></td>
- <td class='boxSoft'><span class='f4'><?php print $never_update_count; ?></span></td>
+ <td><?php print __("Registered Users"); ?></td>
+ <td><?php print $user_count; ?></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Registered Users"); ?></span></td>
- <td class='boxSoft'><span class='f4'><?php print $user_count; ?></span></td>
- </tr>
- <tr>
- <td class='boxSoft'><span class='f4'><?php print __("Trusted Users"); ?></span></td>
- <td class='boxSoft'><span class='f4'><?php print $tu_count; ?></span></td>
+ <td><?php print __("Trusted Users"); ?></td>
+ <td><?php print $tu_count; ?></td>
</tr>
</table>