2025-04-13 13:35:14 +08:00

90 lines
3.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>考试看板—广播适配</title>
<link rel="stylesheet" href="styles/base.css">
<link rel="stylesheet" href="styles/status-box.css">
<link rel="stylesheet" href="styles/schedule-table.css">
<link rel="stylesheet" href="styles/fullscreen-mode.css">
<link rel="stylesheet" href="styles/control-btn.css">
<link rel="stylesheet" href="styles/settings-panel.css">
<link rel="stylesheet" href="styles/info-error.css">
<link rel="stylesheet" href="styles/reminder-table.css">
<link rel="stylesheet" href="styles/file-input-label.css">
<link rel="stylesheet" href="styles/action-btn.css">
<link rel="stylesheet" href="styles/dark-mode.css">
<link rel="stylesheet" href="styles/switch.css">
</head>
<body class="light-mode">
<button id="return-btn" onclick="goBack()">返回</button>
<div class="info-container">
<div class="info-content" id="infoMessage"></div>
</div>
<div class="error-container">
<div class="error-content" id="errorMessage"></div>
</div>
<div class="container">
<div class="exam-info">
<h1 id="examTitle">考试看板</h1>
<div id="examMessage" class="exam-message"></div>
<div id="examRoom" class="exam-room"></div>
</div>
<div class="control-bar">
<label class="switch">
<input type="checkbox" id="theme-toggle">
<span class="slider round"></span>
</label>
</div>
<div class="status-box">
<div class="status-label" id="statusLabel">正在初始化...</div>
<div class="time-display" id="timeDisplay" onclick="adjustCountdownFontSize()">--:--</div>
<div id="timeDescription" style="text-align:center;color:#a4b0be;"></div>
</div>
<div class="settings-panel">
<h3>系统设置</h3>
<div class="button-group">
<label class="file-input-label">
<input type="file" id="importJson" accept=".json" multiple> 导入考试配置
</label>
<button class="action-btn" onclick="exportConfig()">导出配置</button>
</div>
<h3>提醒设置</h3>
<table class="reminder-table" id="reminderTable">
<tr>
<th>提醒条件</th>
<th>时间(分钟)</th>
<th>音频选择</th>
<th>操作</th>
</tr>
<tr>
<td colspan="4"><button class="action-btn" onclick="addReminder()">添加提醒</button></td>
</tr>
</table>
<button class="action-btn" onclick="saveConfig()">保存提醒设置</button>
</div>
<table class="schedule-table" id="scheduleTable">
<tr>
<th>科目</th>
<th>时间段</th>
<th>状态</th>
</tr>
</table>
</div>
<script src="scripts/errorSystem.js"></script>
<script src="scripts/audioController.js"></script>
<script src="scripts/courseSchedule.js"></script>
<script src="scripts/display.js"></script>
<script src="scripts/config.js"></script>
<script src="scripts/settings.js"></script>
<script src="scripts/reminderQueue.js"></script>
<script src="scripts/script.js"></script>
<script src="scripts/utils.js"></script>
</body>
</html>