forked from DrimTech-program/yg-task-list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (32 loc) · 1.59 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="zh">
<head>
<link rel="stylesheet" href="styles.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>作业单</title>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> <!-- 引入 marked.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/dompurify/2.3.0/purify.min.js"></script>
<script src="script.js"></script> <!-- 引入外部 JavaScript 文件 -->
</head>
<body>
<button class="show-password-button" id="showPasswordButton"></></button> <!-- 新增按钮 -->
<h1>作业单</h1>
<input type="password" class="password-input" id="passwordInput" placeholder=">_" style="display: none;" /> <!-- 密码输入框初始隐藏 -->
<div class="container" style="display: none;"> <!-- 初始隐藏 -->
<form id="messageForm">
<div class="textarea-container">
<textarea id="messageInput" rows="4" placeholder="输入作业内容...[支持 MarkDown !]" required></textarea><br>
<button class="submit-button">提交</button>
</div>
</form>
</div>
<div class="messages" id="messages"></div>
<footer class="footer">
<div class="footer-center">
<p>© 2024 <a href="https://dt.lpslps.com">DrimTech</a> <a href="https://github.com/DrimTech-program/yg-task-list"><img src="assets/github.ico" alt="GitHub" style="width: 12px; height: 12px;"></a> | 一群热爱信息技术,善于创造的羊羔</p>
<br>
</div>
</footer>
</body>
</html>