chore(wen/problem/manage): remove click_zan from manage page

This commit is contained in:
Baoshuo Ren 2022-12-06 16:35:00 +08:00
parent 21a24e66e7
commit 3ceb26a0e7
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
3 changed files with 7 additions and 17 deletions

View File

@ -735,18 +735,17 @@ $info_form->runAtServer();
</a>
</li>
</ul>
<div class="card-footer bg-transparent">
评价:<?= UOJProblem::cur()->getZanBlock() ?>
</div>
</div>
<div class="order-1 order-lg-2">
<div>
<div class="mb-2">
<?php if ($problem['hackable']) : ?>
<i class="bi bi-check-lg text-success"></i> Hack 功能已启用
<?php else : ?>
<i class="bi bi-x-lg text-danger"></i> Hack 功能已禁用
<?php endif ?>
</div>
<?php $hackable_form->printHTML() ?>
</div>
<?php if ($problem['hackable']) : ?>

View File

@ -130,7 +130,6 @@ if (isSuperUser(Auth::user())) {
<!-- right col -->
<aside class="col-lg-3 mt-3 mt-lg-0">
<div class="card card-default mb-2">
<ul class="nav nav-pills nav-fill flex-column" role="tablist">
<li class="nav-item text-start">
@ -170,12 +169,7 @@ if (isSuperUser(Auth::user())) {
</a>
</li>
</ul>
<div class="card-footer bg-transparent">
评价:<?= UOJProblem::cur()->getZanBlock() ?>
</div>
</div>
<?php uojIncludeView('sidebar') ?>
</aside>
<!-- end right col -->

View File

@ -172,9 +172,6 @@ $difficulty_form->runAtServer();
</a>
</li>
</ul>
<div class="card-footer bg-transparent">
评价:<?= UOJProblem::cur()->getZanBlock() ?>
</div>
</div>
<div class="card mt-3">