mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamCloudSchedule
synced 2025-04-29 08:06:33 +00:00
更新考试配置表单,添加考场号输入字段
This commit is contained in:
parent
432ffb8e5b
commit
a1a7c2ef63
@ -12,7 +12,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
$newConfig = [
|
$newConfig = [
|
||||||
'examName' => $_POST['examName'],
|
'examName' => $_POST['examName'],
|
||||||
'message' => $_POST['message'],
|
'message' => $_POST['message'],
|
||||||
'room' => ' ',
|
'room' => $_POST['room'],
|
||||||
'examInfos' => []
|
'examInfos' => []
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -136,6 +136,10 @@ if (!empty($id) && file_exists("../configs/{$id}.json")) {
|
|||||||
<label>考试提示语:</label>
|
<label>考试提示语:</label>
|
||||||
<input type="text" name="message" value="<?= htmlspecialchars($config['message']) ?>">
|
<input type="text" name="message" value="<?= htmlspecialchars($config['message']) ?>">
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<label>考场号:</label>
|
||||||
|
<input type="text" name="room" value="<?= htmlspecialchars($config['room'] ?? '') ?>" required>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3>考试科目安排</h3>
|
<h3>考试科目安排</h3>
|
||||||
<div id="subjects">
|
<div id="subjects">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user