{% extends 'base.html' %} | |
{% block content %} | |
<h2>Kiểm tra Kết nối Cơ sở dữ liệu</h2> | |
<form method="POST"> | |
<button type="submit">Kiểm tra kết nối</button> | |
</form> | |
{% if status != 'none' %} | |
<p><strong>Phiên bản PostgreSQL:</strong> {{ db_version }}</p> | |
<p><strong>Trạng thái:</strong> {{ status }}</p> | |
{% endif %} | |
{% endblock %} |