76 lines
2.3 KiB
HTML
76 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>确认加载历史数据</title>
|
|
<link rel="stylesheet" href="/static/cdnback/bootstrap.min.css">
|
|
<style>
|
|
body {
|
|
background-color: #f8f9fa;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
}
|
|
.confirm-container {
|
|
background: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
padding: 30px;
|
|
max-width: 500px;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
h1 {
|
|
color: #343a40;
|
|
margin-bottom: 20px;
|
|
}
|
|
p {
|
|
color: #6c757d;
|
|
margin-bottom: 30px;
|
|
font-size: 16px;
|
|
}
|
|
.btn-group {
|
|
display: flex;
|
|
gap: 15px;
|
|
justify-content: center;
|
|
margin-top: 20px;
|
|
}
|
|
.btn {
|
|
padding: 10px 30px;
|
|
font-size: 16px;
|
|
border-radius: 5px;
|
|
}
|
|
.btn-primary {
|
|
background-color: #007bff;
|
|
border: none;
|
|
}
|
|
.btn-primary:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
.btn-secondary {
|
|
background-color: #6c757d;
|
|
border: none;
|
|
}
|
|
.btn-secondary:hover {
|
|
background-color: #545b62;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="confirm-container">
|
|
<h1>加载历史数据确认</h1>
|
|
<p>您即将进入学习环境,是否需要加载您之前的对话历史记录和学习进度数据?</p>
|
|
<div class="btn-group">
|
|
<a href="{{ url_for('vscode.desktop', user_uuid=user_uuid, course_id=course_id, chapter_name=chapter_name, lesson_name=lesson_name, load_history='true') }}" class="btn btn-primary">
|
|
是,加载历史数据
|
|
</a>
|
|
<a href="{{ url_for('vscode.desktop', user_uuid=user_uuid, course_id=course_id, chapter_name=chapter_name, lesson_name=lesson_name, load_history='false') }}" class="btn btn-secondary">
|
|
否,重新开始
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |