jerrynnms commited on
Commit
a0804d5
·
verified ·
1 Parent(s): 768506f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +46 -46
index.html CHANGED
@@ -1,46 +1,46 @@
1
- <!DOCTYPE html>
2
- <html lang="zh-Hant">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>預測詐騙訊息</title>
7
- <link rel="stylesheet" href="style.css">
8
- </head>
9
- <body>
10
- <h1>檢查可疑訊息</h1>
11
-
12
- <div class="main-container">
13
- <!-- 使用者輸入 -->
14
- <section id="input_area" class="panel">
15
- <textarea id="predict_info" placeholder="請輸入內容 (最多5000字)" maxlength="5000"></textarea>
16
- <div class="button-group">
17
- <button id="detect_button" type="submit">檢測!</button>
18
- <button id="clear_button" type="reset">清除</button>
19
- </div>
20
- </section>
21
-
22
- <!-- 模型預測結果 + 使用者回饋(已合併) -->
23
- <section id="output_area" class="panel">
24
- <h2>檢測結果</h2>
25
- <p><strong>是否為詐騙訊息:</strong> <span id="is_scam">待檢測</span></p>
26
- <p><strong>模型預測可疑度:</strong> <span id="confidence_score">待檢測</span></p>
27
- <p><strong>可疑詞句分析:</strong></p>
28
- <div id="suspicious_phrases">
29
- <p>請輸入訊息並點擊「檢測!」按鈕。</p>
30
- </div>
31
-
32
- <!-- ✅ 使用者回饋區塊放在 output_area 內 -->
33
- <section id="feedback_area" style="display: none;">
34
- <p><strong>這筆預測結果正確嗎?</strong></p>
35
- <div class="button-group">
36
- <button id="feedback_correct">✅ 正確</button>
37
- <button id="feedback_wrong">❌ 錯誤</button>
38
- </div>
39
- <p id="feedback_status" style="color: green;"></p>
40
- </section>
41
- </section>
42
- </div>
43
-
44
- <script src="script.js"></script>
45
- </body>
46
- </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="zh-Hant">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>預測詐騙訊息</title>
7
+ <link rel="stylesheet" href="/static/style.css">
8
+ </head>
9
+ <body>
10
+ <h1>檢查可疑訊息</h1>
11
+
12
+ <div class="main-container">
13
+ <!-- 使用者輸入 -->
14
+ <section id="input_area" class="panel">
15
+ <textarea id="predict_info" placeholder="請輸入內容 (最多5000字)" maxlength="5000"></textarea>
16
+ <div class="button-group">
17
+ <button id="detect_button" type="submit">檢測!</button>
18
+ <button id="clear_button" type="reset">清除</button>
19
+ </div>
20
+ </section>
21
+
22
+ <!-- 模型預測結果 + 使用者回饋(已合併) -->
23
+ <section id="output_area" class="panel">
24
+ <h2>檢測結果</h2>
25
+ <p><strong>是否為詐騙訊息:</strong> <span id="is_scam">待檢測</span></p>
26
+ <p><strong>模型預測可疑度:</strong> <span id="confidence_score">待檢測</span></p>
27
+ <p><strong>可疑詞句分析:</strong></p>
28
+ <div id="suspicious_phrases">
29
+ <p>請輸入訊息並點擊「檢測!」按鈕。</p>
30
+ </div>
31
+
32
+ <!-- ✅ 使用者回饋區塊 -->
33
+ <section id="feedback_area" style="display: none;">
34
+ <p><strong>這筆預測結果正確嗎?</strong></p>
35
+ <div class="button-group">
36
+ <button id="feedback_correct">✅ 正確</button>
37
+ <button id="feedback_wrong">❌ 錯誤</button>
38
+ </div>
39
+ <p id="feedback_status" style="color: green;"></p>
40
+ </section>
41
+ </section>
42
+ </div>
43
+
44
+ <script src="/static/script.js"></script>
45
+ </body>
46
+ </html>