mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2025-03-25 06:57:04 +00:00
fix: a90815b20c506463438463db59e7ffa2f38b509f
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6582722f50
commit
23ff07e9e1
@ -54,10 +54,10 @@
|
|||||||
if (isset($_COOKIE['show_tags_mode'])) {
|
if (isset($_COOKIE['show_tags_mode'])) {
|
||||||
foreach (queryProblemTags($problem['id']) as $tag) {
|
foreach (queryProblemTags($problem['id']) as $tag) {
|
||||||
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
||||||
echo '<a class="uoj-problem-tag my-1">';
|
echo ' <a class="uoj-problem-tag my-1">';
|
||||||
echo '<span class="badge bg-secondary">';
|
echo '<span class="badge bg-secondary">';
|
||||||
} else {
|
} else {
|
||||||
echo '<a class="uoj-problem-tag">';
|
echo ' <a class="uoj-problem-tag">';
|
||||||
echo '<span class="badge badge-pill badge-secondary">';
|
echo '<span class="badge badge-pill badge-secondary">';
|
||||||
}
|
}
|
||||||
echo HTML::escape($tag), '</span>';
|
echo HTML::escape($tag), '</span>';
|
||||||
|
@ -66,10 +66,10 @@
|
|||||||
if (isset($_COOKIE['show_tags_mode'])) {
|
if (isset($_COOKIE['show_tags_mode'])) {
|
||||||
foreach (queryProblemTags($problem['id']) as $tag) {
|
foreach (queryProblemTags($problem['id']) as $tag) {
|
||||||
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
||||||
echo '<a class="uoj-problem-tag my-1">';
|
echo ' <a class="uoj-problem-tag my-1">';
|
||||||
echo '<span class="badge bg-secondary">';
|
echo '<span class="badge bg-secondary">';
|
||||||
} else {
|
} else {
|
||||||
echo '<a class="uoj-problem-tag">';
|
echo ' <a class="uoj-problem-tag">';
|
||||||
echo '<span class="badge badge-pill badge-secondary">';
|
echo '<span class="badge badge-pill badge-secondary">';
|
||||||
}
|
}
|
||||||
echo HTML::escape($tag), '</span>';
|
echo HTML::escape($tag), '</span>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user