fix: 比赛资料
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-06 20:22:31 +08:00
parent ebd4ee92f3
commit c2c569da31
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -597,20 +597,19 @@ EOD;
<?php $publish_result_form->printHTML(); ?> <?php $publish_result_form->printHTML(); ?>
</div> </div>
<?php endif ?> <?php endif ?>
</div>
<?php if ($contest['extra_config']['links']): ?> <?php if ($contest['extra_config']['links']): ?>
<div class="card border-info top-buffer-lg"> <div class="card card-default border-info mt-3">
<div class="card-header bg-info"> <div class="card-header bg-info">
<h3 class="card-title">比赛资料</h3> <h3 class="h4 card-title">比赛资料</h3>
</div> </div>
<div class="list-group"> <div class="list-group list-group-flush">
<?php foreach ($contest['extra_config']['links'] as $link): ?> <?php foreach ($contest['extra_config']['links'] as $link): ?>
<a href="/blogs/<?=$link[1]?>" class="list-group-item"><?=$link[0]?></a> <a href="/blogs/<?=$link[1]?>" class="list-group-item"><?=$link[0]?></a>
<?php endforeach ?> <?php endforeach ?>
</div> </div>
</div> </div>
</div>
<?php endif ?> <?php endif ?>
</div>
<?php endif ?> <?php endif ?>
</div> </div>