Files

29 lines
804 B
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>python310-flask</title>
<style>
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; margin: 40px; color: #333; }
table { border-collapse: collapse; min-width: 520px; }
th, td { border: 1px solid #ddd; padding: 8px 12px; text-align: left; }
th { background: #f5f5f5; width: 160px; }
a { color: #1677ff; }
</style>
</head>
<body>
<h2>python310-flask 运行信息</h2>
<table>
{% for key, value in info.items() %}
<tr>
<th>{{ key }}</th>
<td>{{ value }}</td>
</tr>
{% endfor %}
</table>
<p>
其它接口:<a href="/api/hello/demo">/api/hello/&lt;name&gt;</a>、<a href="/health">/health</a>
</p>
</body>
</html>