diff --git a/web/app/controllers/problem.php b/web/app/controllers/problem.php index ff339c3..6a791fe 100644 --- a/web/app/controllers/problem.php +++ b/web/app/controllers/problem.php @@ -314,7 +314,7 @@ $('#contest-countdown').countdown(getTimestamp() - UOJ - + = CONTEST_FINISHED): ?> diff --git a/web/app/controllers/problem_statement_manage.php b/web/app/controllers/problem_statement_manage.php index 692c81b..912a84e 100644 --- a/web/app/controllers/problem_statement_manage.php +++ b/web/app/controllers/problem_statement_manage.php @@ -135,39 +135,7 @@ -
- - -
- - + diff --git a/web/app/models/UOJBlogEditor.php b/web/app/models/UOJBlogEditor.php index 85fa565..0b92f28 100644 --- a/web/app/models/UOJBlogEditor.php +++ b/web/app/models/UOJBlogEditor.php @@ -231,6 +231,18 @@ EOD echo '
'; echo $this->post_data['content']; echo '
'; + + if (isset($REQUIRE_LIB['bootstrap5'])) { + echo << +$(document).ready(function() { + $('.markdown-body table').each(function() { + $(this).addClass('table table-bordered table-striped'); + }); +}); + +EOD; + } echoUOJPageFooter(array('ShowPageFooter' => false)); } elseif ($this->type == 'slide') { uojIncludeView('slide', array_merge(