mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-23 18:18:42 +00:00
Compare commits
2 Commits
b88d78b2a8
...
4fabe53a51
Author | SHA1 | Date | |
---|---|---|---|
4fabe53a51 | |||
610afc0994 |
@ -142,7 +142,7 @@
|
||||
echo '<a href="/problem/', $problem['id'], '">', $problem['title'], '</a>';
|
||||
|
||||
if (isset($_COOKIE['show_tags_mode'])) {
|
||||
echo ' <span class="text-info" style="font: 10px">' . $problem["uploader"] . '</span> ';
|
||||
echo ' <span class="text-info" style="font-size: 10px">' . $problem["uploader"] . '</span> ';
|
||||
|
||||
foreach (queryProblemTags($problem['id']) as $tag) {
|
||||
echo '<a class="uoj-problem-tag">', '<span class="badge badge-pill badge-secondary">', HTML::escape($tag), '</span>', '</a>';
|
||||
|
@ -48,6 +48,8 @@
|
||||
}
|
||||
echo '<a href="/problem/', $problem['id'], '">', $problem['title'], '</a>';
|
||||
if (isset($_COOKIE['show_tags_mode'])) {
|
||||
echo ' <span class="text-info" style="font-size: 10px">' . $problem["uploader"] . '</span> ';
|
||||
|
||||
foreach (queryProblemTags($problem['id']) as $tag) {
|
||||
echo '<a class="uoj-problem-tag">', '<span class="badge badge-pill badge-secondary">', HTML::escape($tag), '</span>', '</a>';
|
||||
}
|
||||
|
@ -130,7 +130,7 @@
|
||||
<ul class="list-group-item-text nav">
|
||||
<?php
|
||||
foreach ($ac_problems as $problem) {
|
||||
echo '<li><a href="/problem/', $problem['problem_id'], '" role="button" class="btn btn-light mr-1 mb-1" style="width: 12rem;">#', $problem['problem_id'], '. ', $problem['title'], '</a></li>';
|
||||
echo '<li><a href="/problem/', $problem['problem_id'], '" role="button" class="btn btn-light h-100 mr-1 mb-1" style="width: 12rem;">#', $problem['problem_id'], '. ', $problem['title'], '</a></li>';
|
||||
}
|
||||
|
||||
if (empty($ac_problems)) {
|
||||
|
Loading…
Reference in New Issue
Block a user