mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-26 07:08: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>标签</span>
|
||||||
<span>
|
<span>
|
||||||
<?php foreach (UOJProblem::cur()->queryTags() as $tag) : ?>
|
<?php foreach (UOJProblem::cur()->queryTags() as $tag) : ?>
|
||||||
<a class="uoj-problem-tag">
|
<?= HTML::tag(
|
||||||
<span class="badge bg-secondary">
|
'a',
|
||||||
<?= HTML::escape($tag) ?>
|
['class' => 'uoj-problem-tag'],
|
||||||
</span>
|
HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag))
|
||||||
</a>
|
) ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
@ -269,11 +269,11 @@ $pag = new Paginator($pag_config);
|
|||||||
<span>标签</span>
|
<span>标签</span>
|
||||||
<span>
|
<span>
|
||||||
<?php foreach (UOJProblem::cur()->queryTags() as $tag) : ?>
|
<?php foreach (UOJProblem::cur()->queryTags() as $tag) : ?>
|
||||||
<a class="uoj-problem-tag">
|
<?= HTML::tag(
|
||||||
<span class="badge bg-secondary">
|
'a',
|
||||||
<?= HTML::escape($tag) ?>
|
['class' => 'uoj-problem-tag'],
|
||||||
</span>
|
HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag))
|
||||||
</a>
|
) ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
@ -341,11 +341,11 @@ $submissions_sort_by_choice = !isset($_COOKIE['submissions-sort-by-code-length']
|
|||||||
<span>标签</span>
|
<span>标签</span>
|
||||||
<span>
|
<span>
|
||||||
<?php foreach (UOJProblem::cur()->queryTags() as $tag) : ?>
|
<?php foreach (UOJProblem::cur()->queryTags() as $tag) : ?>
|
||||||
<a class="uoj-problem-tag">
|
<?= HTML::tag(
|
||||||
<span class="badge bg-secondary">
|
'a',
|
||||||
<?= HTML::escape($tag) ?>
|
['class' => 'uoj-problem-tag'],
|
||||||
</span>
|
HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag))
|
||||||
</a>
|
) ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user