diff --git a/web/app/models/UOJSubmission.php b/web/app/models/UOJSubmission.php
index f157115..02d328a 100644
--- a/web/app/models/UOJSubmission.php
+++ b/web/app/models/UOJSubmission.php
@@ -545,20 +545,20 @@ class UOJSubmission {
$actual_score = $this->getActualScore();
if ($actual_score === null) {
if ($cfg['result_badge']) {
- echo $tag_st, ' class="fs-5">', $this->info['result_error'], '', $tag_ed;
+ echo $tag_st, ' class="fs-5 uoj-submission-result-td">', $this->info['result_error'], '', $tag_ed;
} else {
- echo $tag_st, ' class="small text-decoration-none">', $this->info['result_error'], $tag_ed;
+ echo $tag_st, ' class="small text-decoration-none uoj-submission-result-td">', $this->info['result_error'], $tag_ed;
}
} else {
echo $tag_st, ' class="vstack d-inline-flex">';
if ($cfg['result_badge']) {
- echo '';
+ echo '';
if ($actual_score == 100) {
// rgb(0, 204, 0)
- echo '', 'Accepted', '';
+ echo '', 'Accepted', '';
} else {
// rgb(204, 0, 0)
- echo '', 'Unaccepted', '';
+ echo '', 'Unaccepted', '';
}
echo '';
}
@@ -568,9 +568,9 @@ class UOJSubmission {
}
} else {
if ($cfg['result_badge']) {
- echo $tag_st, ' class="fs-5">', $this->publicStatus(), '', $tag_ed;
+ echo $tag_st, ' class="fs-5 uoj-submission-result-td">', $this->publicStatus(), '', $tag_ed;
} else {
- echo $tag_st, ' class="small text-decoration-none">', $this->publicStatus(), $tag_ed;
+ echo $tag_st, ' class="small text-decoration-none uoj-submission-result-td">', $this->publicStatus(), $tag_ed;
}
}
break;