Features: - Receive SMS from TranspondSms Android APP - HMAC-SHA256 signature verification (optional) - SQLite database storage - Web UI with login authentication - Multiple API tokens support - Timezone conversion (Asia/Shanghai) - Search, filter, and statistics - Auto refresh and session management Tech Stack: - Flask 3.0 - SQLite database - HTML5/CSS3 responsive design
74 lines
1.8 KiB
HTML
74 lines
1.8 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>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.error-container {
|
|
background: white;
|
|
padding: 40px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
text-align: center;
|
|
max-width: 500px;
|
|
}
|
|
|
|
.error-icon {
|
|
font-size: 64px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.error-container h1 {
|
|
font-size: 28px;
|
|
color: #333;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.error-container p {
|
|
color: #666;
|
|
font-size: 16px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.error-container a {
|
|
display: inline-block;
|
|
padding: 12px 24px;
|
|
background: #667eea;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
transition: background 0.3s;
|
|
}
|
|
|
|
.error-container a:hover {
|
|
background: #764ba2;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="error-container">
|
|
<div class="error-icon">⚠️</div>
|
|
<h1>{{ error or '出错了' }}</h1>
|
|
<p>抱歉,遇到了一些问题,请稍后再试。</p>
|
|
<a href="/">返回首页</a>
|
|
</div>
|
|
</body>
|
|
</html>
|