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> </a>
</li> </li>
</ul> </ul>
<div class="card-footer bg-transparent">
评价:<?= UOJProblem::cur()->getZanBlock() ?>
</div>
</div> </div>
<div class="order-1 order-lg-2"> <div class="order-1 order-lg-2">
<div> <div>
<?php if ($problem['hackable']) : ?> <div class="mb-2">
<i class="bi bi-check-lg text-success"></i> Hack 功能已启用 <?php if ($problem['hackable']) : ?>
<?php else : ?> <i class="bi bi-check-lg text-success"></i> Hack 功能已启用
<i class="bi bi-x-lg text-danger"></i> Hack 功能已禁用 <?php else : ?>
<?php endif ?> <i class="bi bi-x-lg text-danger"></i> Hack 功能已禁用
<?php endif ?>
</div>
<?php $hackable_form->printHTML() ?> <?php $hackable_form->printHTML() ?>
</div> </div>
<?php if ($problem['hackable']) : ?> <?php if ($problem['hackable']) : ?>

View File

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

View File

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