mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 16:08:42 +00:00
feat(web/problem): submissions button
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
44b0087356
commit
c0512e35d8
@ -351,6 +351,12 @@ if (UOJContest::cur()) {
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
<li class="nav-item text-start">
|
||||||
|
<a class="nav-link" href="/submissions?problem_id=<?= UOJProblem::info('id') ?>">
|
||||||
|
<i class="bi bi-list-ul"></i>
|
||||||
|
<?= UOJLocale::get('submissions') ?>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<?php if (UOJContest::cur() && UOJContest::cur()->userCanSeeProblemStatistics(Auth::user())) : ?>
|
<?php if (UOJContest::cur() && UOJContest::cur()->userCanSeeProblemStatistics(Auth::user())) : ?>
|
||||||
<li class="nav-item text-start">
|
<li class="nav-item text-start">
|
||||||
<a class="nav-link" href="/contest/<?= UOJContest::info('id') ?>/problem/<?= $problem['id'] ?>/statistics">
|
<a class="nav-link" href="/contest/<?= UOJContest::info('id') ?>/problem/<?= $problem['id'] ?>/statistics">
|
||||||
|
@ -735,6 +735,12 @@ $info_form->runAtServer();
|
|||||||
<?= UOJLocale::get('problems::solutions') ?>
|
<?= UOJLocale::get('problems::solutions') ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item text-start">
|
||||||
|
<a class="nav-link" href="/submissions?problem_id=<?= UOJProblem::info('id') ?>">
|
||||||
|
<i class="bi bi-list-ul"></i>
|
||||||
|
<?= UOJLocale::get('submissions') ?>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li class="nav-item text-start">
|
<li class="nav-item text-start">
|
||||||
<a class="nav-link" href="/problem/<?= $problem['id'] ?>/statistics">
|
<a class="nav-link" href="/problem/<?= $problem['id'] ?>/statistics">
|
||||||
<i class="bi bi-graph-up"></i>
|
<i class="bi bi-graph-up"></i>
|
||||||
|
@ -145,6 +145,12 @@ if (isSuperUser(Auth::user())) {
|
|||||||
<?= UOJLocale::get('problems::solutions') ?>
|
<?= UOJLocale::get('problems::solutions') ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item text-start">
|
||||||
|
<a class="nav-link" href="/submissions?problem_id=<?= UOJProblem::info('id') ?>">
|
||||||
|
<i class="bi bi-list-ul"></i>
|
||||||
|
<?= UOJLocale::get('submissions') ?>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li class="nav-item text-start">
|
<li class="nav-item text-start">
|
||||||
<a class="nav-link" href="/problem/<?= UOJProblem::info('id') ?>/statistics">
|
<a class="nav-link" href="/problem/<?= UOJProblem::info('id') ?>/statistics">
|
||||||
<i class="bi bi-graph-up"></i>
|
<i class="bi bi-graph-up"></i>
|
||||||
|
@ -220,6 +220,12 @@ $pag = new Paginator($pag_config);
|
|||||||
<?= UOJLocale::get('problems::solutions') ?>
|
<?= UOJLocale::get('problems::solutions') ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item text-start">
|
||||||
|
<a class="nav-link" href="/submissions?problem_id=<?= UOJProblem::info('id') ?>">
|
||||||
|
<i class="bi bi-list-ul"></i>
|
||||||
|
<?= UOJLocale::get('submissions') ?>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li class="nav-item text-start">
|
<li class="nav-item text-start">
|
||||||
<a class="nav-link" href="/problem/<?= UOJProblem::info('id') ?>/statistics">
|
<a class="nav-link" href="/problem/<?= UOJProblem::info('id') ?>/statistics">
|
||||||
<i class="bi bi-graph-up"></i>
|
<i class="bi bi-graph-up"></i>
|
||||||
|
@ -129,6 +129,12 @@ $problem_editor->runAtServer();
|
|||||||
<?= UOJLocale::get('problems::solutions') ?>
|
<?= UOJLocale::get('problems::solutions') ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item text-start">
|
||||||
|
<a class="nav-link" href="/submissions?problem_id=<?= UOJProblem::info('id') ?>">
|
||||||
|
<i class="bi bi-list-ul"></i>
|
||||||
|
<?= UOJLocale::get('submissions') ?>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li class="nav-item text-start">
|
<li class="nav-item text-start">
|
||||||
<a class="nav-link" href="/problem/<?= UOJProblem::info('id') ?>/statistics">
|
<a class="nav-link" href="/problem/<?= UOJProblem::info('id') ?>/statistics">
|
||||||
<i class="bi bi-graph-up"></i>
|
<i class="bi bi-graph-up"></i>
|
||||||
|
@ -293,6 +293,12 @@ $submissions_sort_by_choice = !isset($_COOKIE['submissions-sort-by-code-length']
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
<li class="nav-item text-start">
|
||||||
|
<a class="nav-link" href="/submissions?problem_id=<?= UOJProblem::info('id') ?>">
|
||||||
|
<i class="bi bi-list-ul"></i>
|
||||||
|
<?= UOJLocale::get('submissions') ?>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li class="nav-item text-start">
|
<li class="nav-item text-start">
|
||||||
<a class="nav-link active" href="#">
|
<a class="nav-link active" href="#">
|
||||||
<i class="bi bi-graph-up"></i>
|
<i class="bi bi-graph-up"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user