mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-09 17:18:42 +00:00
This commit is contained in:
parent
56344b759d
commit
4347189794
@ -140,7 +140,7 @@ UOJGroup::cur()->userCanView(Auth::user(), ['ensure' => true]);
|
||||
<?= UOJLocale::get('top solver') ?>
|
||||
</h2>
|
||||
<?php UOJRanklist::printHTML([
|
||||
'page_len' => 25,
|
||||
'page_len' => 15,
|
||||
'group_id' => UOJGroup::info('id'),
|
||||
]) ?>
|
||||
</div>
|
||||
|
@ -409,7 +409,7 @@ EOD);
|
||||
echo '</tr>';
|
||||
},
|
||||
[
|
||||
'page_len' => 20,
|
||||
'page_len' => 10,
|
||||
'div_classes' => ['table-responsive'],
|
||||
'table_classes' => ['table', 'align-middle'],
|
||||
]
|
||||
@ -469,7 +469,7 @@ EOD);
|
||||
echo HTML::tag('td', [], UOJUser::getLink($row['username']));
|
||||
echo '<td>';
|
||||
echo '<form class="d-inline-block" method="POST" onsubmit=\'return confirm("你真的要从小组中移除这个用户吗?")\'>'
|
||||
. '<input type="hidden" name="_token" value="' . crsf_token() . '">'
|
||||
. HTML::hiddenToken()
|
||||
. '<input type="hidden" name="remove_username" value="' . $row['username'] . '">'
|
||||
. '<button class="btn btn-link text-danger text-decoration-none p-0" type="submit" name="submit-remove_user" value="remove_user">移除</button>'
|
||||
. '</form>';
|
||||
@ -477,7 +477,7 @@ EOD);
|
||||
echo HTML::tag_end('tr');
|
||||
},
|
||||
[
|
||||
'page_len' => 20,
|
||||
'page_len' => 10,
|
||||
'div_classes' => ['table-responsive'],
|
||||
'table_classes' => ['table', 'align-middle'],
|
||||
]
|
||||
|
@ -64,7 +64,7 @@ $header .= '<th class="text-center" style="width:50px;">' . UOJLocale::get('appr
|
||||
$header .= '</tr>';
|
||||
|
||||
$pag_config = [
|
||||
'page_len' => 40,
|
||||
'page_len' => 20,
|
||||
'col_names' => [
|
||||
'best_ac_submissions.submission_id as submission_id',
|
||||
'problems.id as id',
|
||||
|
@ -341,7 +341,7 @@ EOD);
|
||||
echo HTML::tag_end('tr');
|
||||
},
|
||||
[
|
||||
'page_len' => 20,
|
||||
'page_len' => 10,
|
||||
'div_classes' => ['table-responsive'],
|
||||
'table_classes' => ['table', 'align-middle'],
|
||||
'print_after_table' => function () use ($n_problems) {
|
||||
|
Loading…
Reference in New Issue
Block a user