mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 11:31:52 +00:00
fix: friend link styles
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
4e1d156f0e
commit
f75752397f
@ -99,7 +99,12 @@
|
||||
<?php if (!isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<h4 class="card-title" style="font-size: 1.25rem">倒计时</h4>
|
||||
<?php endif ?>
|
||||
<ul class="list-unstyled mb-0">
|
||||
<ul class="
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
list-unstyled
|
||||
<?php else: ?>
|
||||
pl-4
|
||||
<?php endif ?> mb-0">
|
||||
<?php foreach ($countdowns as $countdown): ?>
|
||||
<?php
|
||||
$enddate = strtotime($countdown['endtime']);
|
||||
@ -130,10 +135,20 @@
|
||||
<?php if (!isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<h4 class="card-title" style="font-size: 1.25rem">友情链接</h4>
|
||||
<?php endif ?>
|
||||
<ul class="list-unstyled mb-0">
|
||||
<ul class="
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
ps-3
|
||||
<?php else: ?>
|
||||
pl-4
|
||||
<?php endif ?>
|
||||
mb-0">
|
||||
<?php foreach ($friend_links as $friend_link): ?>
|
||||
<li>
|
||||
<a href="<?= $friend_link['url'] ?>" target="_blank"><?= $friend_link['title'] ?></a>
|
||||
<a
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
class="text-decoration-none"
|
||||
<?php endif ?>
|
||||
href="<?= $friend_link['url'] ?>" target="_blank"><?= $friend_link['title'] ?></a>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user