mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-22 15:41:52 +00:00
feat(web/problem): display uploader
This commit is contained in:
parent
1ce854744f
commit
6a2915b3a4
@ -224,10 +224,13 @@ EOD
|
||||
$limit = getUOJConf("/var/uoj_data/{$problem['id']}/problem.conf");
|
||||
$time_limit = $limit['time_limit'];
|
||||
$memory_limit = $limit['memory_limit'];
|
||||
|
||||
$problem_uploader = $limit['poster'] ?: $problem['uploader'];
|
||||
?>
|
||||
<div class="row d-flex justify-content-center">
|
||||
<span class="badge badge-secondary mr-1">时间限制:<?=$time_limit!=null?"$time_limit s":"N/A"?></span>
|
||||
<span class="badge badge-secondary mr-1">空间限制:<?=$memory_limit!=null?"$memory_limit MB":"N/A"?></span>
|
||||
<span class="badge badge-secondary mr-1">上传者:<?= $problem_uploader ?: "root" ?></span>
|
||||
</div>
|
||||
<div class="float-right">
|
||||
<?= getClickZanBlock('P', $problem['id'], $problem['zan']) ?>
|
||||
|
Loading…
Reference in New Issue
Block a user