diff --git a/web/app/controllers/problem_managers_manage.php b/web/app/controllers/problem_managers_manage.php
index a9e456e..e1c7e2d 100644
--- a/web/app/controllers/problem_managers_manage.php
+++ b/web/app/controllers/problem_managers_manage.php
@@ -15,7 +15,11 @@
if (!hasProblemPermission($myUser, $problem)) {
become403Page();
}
-
+
+ if (!isset($_COOKIE['bootstrap4'])) {
+ $REQUIRE_LIB['bootstrap5'] = '';
+ }
+
$managers_form = newAddDelCmdForm('managers',
function($username) {
if (!validateUsername($username) || !queryUser($username)) {
@@ -66,15 +70,60 @@
}
?>
-
-
- - 编辑
- - 管理者
- - 数据
- - 返回
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# |
@@ -96,7 +145,56 @@
printHTML(); ?>
- printHTML(); ?>
+
+
+printHTML(); ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/app/libs/uoj-form-lib.php b/web/app/libs/uoj-form-lib.php
index a33de03..e294175 100644
--- a/web/app/libs/uoj-form-lib.php
+++ b/web/app/libs/uoj-form-lib.php
@@ -633,7 +633,7 @@ EOD;
function newAddDelCmdForm($form_name, $validate, $handle, $final = null) {
$form = new UOJForm($form_name);
- $form->addTextArea(
+ $form->addVTextArea(
$form_name . '_cmds', '命令', '',
function($str, &$vdata) use ($validate) {
$cmds = array();