2025-12-18 09:07:06 +03:00

27 lines
759 B
HTML

<!-- templates/index.html -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ title }}</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<div class="container">
<h1>🧱 FastAPI + SQLite</h1>
<div class="db-status">
<h2>🗄 Состояние базы данных</h2>
<p><strong>Статус:</strong> {{ db_info.status | safe }}</p>
{% if db_info.url %}
<p><strong>База:</strong> <code>{{ db_info.url }}</code></p>
{% endif %}
</div>
<div class="info">
<p>📁 Архитектура: всё по папкам (как в Laravel)</p>
<p>🐳 Запущено в Docker без зависимостей</p>
</div>
</div>
</body>
</html>