mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Move user statistics table to the right
Display user statistics under the general package statistics table. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
6a319a3be7
commit
8535435595
1 changed files with 5 additions and 14 deletions
|
@ -71,20 +71,6 @@ html_header( __("Home") );
|
||||||
<?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.'); ?>
|
<?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php if (!empty($_COOKIE["AURSID"])): ?>
|
|
||||||
<div id="pkg-updates" class="widget box">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td class="pkg-name">
|
|
||||||
<?php
|
|
||||||
$userid = uid_from_sid($_COOKIE["AURSID"]);
|
|
||||||
user_table($userid);
|
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="content-right">
|
<div id="content-right">
|
||||||
|
@ -103,6 +89,11 @@ html_header( __("Home") );
|
||||||
<div id="pkg-stats" class="widget box">
|
<div id="pkg-stats" class="widget box">
|
||||||
<?php general_stats_table(); ?>
|
<?php general_stats_table(); ?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php if (!empty($_COOKIE["AURSID"])): ?>
|
||||||
|
<div id="pkg-stats" class="widget box">
|
||||||
|
<?php user_table(uid_from_sid($_COOKIE["AURSID"])); ?>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue