mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 15:28:41 +00:00
fix(web/problem): tag in problem info card
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
848607a87d
commit
edc98d5c35
@ -406,11 +406,11 @@ if (UOJContest::cur()) {
|
||||
<span>标签</span>
|
||||
<span>
|
||||
<?php foreach (UOJProblem::cur()->queryTags() as $tag) : ?>
|
||||
<a class="uoj-problem-tag">
|
||||
<span class="badge bg-secondary">
|
||||
<?= HTML::escape($tag) ?>
|
||||
</span>
|
||||
</a>
|
||||
<?= HTML::tag(
|
||||
'a',
|
||||
['class' => 'uoj-problem-tag'],
|
||||
HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag))
|
||||
) ?>
|
||||
<?php endforeach ?>
|
||||
</span>
|
||||
</li>
|
||||
|
@ -269,11 +269,11 @@ $pag = new Paginator($pag_config);
|
||||
<span>标签</span>
|
||||
<span>
|
||||
<?php foreach (UOJProblem::cur()->queryTags() as $tag) : ?>
|
||||
<a class="uoj-problem-tag">
|
||||
<span class="badge bg-secondary">
|
||||
<?= HTML::escape($tag) ?>
|
||||
</span>
|
||||
</a>
|
||||
<?= HTML::tag(
|
||||
'a',
|
||||
['class' => 'uoj-problem-tag'],
|
||||
HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag))
|
||||
) ?>
|
||||
<?php endforeach ?>
|
||||
</span>
|
||||
</li>
|
||||
|
@ -341,11 +341,11 @@ $submissions_sort_by_choice = !isset($_COOKIE['submissions-sort-by-code-length']
|
||||
<span>标签</span>
|
||||
<span>
|
||||
<?php foreach (UOJProblem::cur()->queryTags() as $tag) : ?>
|
||||
<a class="uoj-problem-tag">
|
||||
<span class="badge bg-secondary">
|
||||
<?= HTML::escape($tag) ?>
|
||||
</span>
|
||||
</a>
|
||||
<?= HTML::tag(
|
||||
'a',
|
||||
['class' => 'uoj-problem-tag'],
|
||||
HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag))
|
||||
) ?>
|
||||
<?php endforeach ?>
|
||||
</span>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user