feat(problem): allow hack alert
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2023-03-30 11:13:40 +08:00
parent a6d9222aea
commit 40ebdae256
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -527,6 +527,13 @@ if (UOJContest::cur()) {
</ul>
</div>
<?php if (UOJProblem::info('hackable')) : ?>
<div class="alert alert-primary mb-2">
<i class="bi bi-info-circle"></i>
本题目开放 Hack。
</div>
<?php endif ?>
<!-- 附件 -->
<div class="card mb-2">
<div class="card-header fw-bold">