mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
d8b2eb4b62
commit
d2480e8b9d
3 changed files with 49 additions and 80 deletions
|
@ -1,31 +1,21 @@
|
|||
<?php
|
||||
$username = username_from_sid($_COOKIE["AURSID"]);
|
||||
$username = username_from_sid($_COOKIE["AURSID"]);
|
||||
?>
|
||||
<table class='boxSoft'>
|
||||
<tr>
|
||||
<th colspan='2' class='boxSoftTitle'>
|
||||
<span class='f3'><?php print __("My Statistics"); ?></span>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='boxSoft'>
|
||||
<span class='f4'><a href="packages.php?SeB=m&L=2&K=<?php echo $username; ?>">
|
||||
<?php print __("Packages in unsupported"); ?></a></span>
|
||||
</td>
|
||||
<td class='boxSoft'>
|
||||
<span class='f4'><?php print $maintainer_unsupported_count; ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='boxSoft'>
|
||||
<span class='f4'><a href="packages.php?SeB=m&outdated=on&K=<?php echo $username; ?>">
|
||||
<?php print __("Out of Date"); ?></a></span>
|
||||
</td>
|
||||
<td class='boxSoft'>
|
||||
<span class='f4'>
|
||||
<?php echo $flagged_outdated ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<h3><?php echo __("My Statistics"); ?></h3>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="packages.php?SeB=m&L=2&K=<?php echo $username; ?>">
|
||||
<?php print __("Packages in unsupported"); ?></a>
|
||||
</td>
|
||||
<td><?php print $maintainer_unsupported_count; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="packages.php?SeB=m&outdated=on&K=<?php echo $username; ?>"><?php print __("Out of Date"); ?></a>
|
||||
</td>
|
||||
<td><?php echo $flagged_outdated ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue