mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 05:48:41 +00:00
fix: bda7c96df6
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
bda7c96df6
commit
81aed1adc2
@ -481,7 +481,7 @@ class HTML {
|
|||||||
'span' => [
|
'span' => [
|
||||||
'class' => new CustomClassDef(['uoj-username'], ['uoj-username-']),
|
'class' => new CustomClassDef(['uoj-username'], ['uoj-username-']),
|
||||||
'data-realname' => 'Text',
|
'data-realname' => 'Text',
|
||||||
'data-color' => 'Color',
|
'data-color' => 'Enum#' . implode(',', UOJUser::AVAILABLE_COLORS),
|
||||||
],
|
],
|
||||||
'img' => ['width' => 'Text'],
|
'img' => ['width' => 'Text'],
|
||||||
]);
|
]);
|
||||||
@ -510,7 +510,7 @@ class HTML {
|
|||||||
'del' => [],
|
'del' => [],
|
||||||
'br' => [],
|
'br' => [],
|
||||||
'span' => [
|
'span' => [
|
||||||
'class' => 'Enum#uoj-username,' . implode(',', array_map(fn ($c) => "uoj-username-{$c}", UOJUser::AVAILABLE_COLORS)),
|
'class' => new CustomClassDef(['uoj-username'], ['uoj-username-']),
|
||||||
'data-realname' => 'Text',
|
'data-realname' => 'Text',
|
||||||
'data-color' => 'Enum#' . implode(',', UOJUser::AVAILABLE_COLORS),
|
'data-color' => 'Enum#' . implode(',', UOJUser::AVAILABLE_COLORS),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user