From e521f866d49b8f10f5058fd61a46ae9b1640260b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=A5=D0=B0?= =?UTF-8?q?=D0=BB=D0=B5=D1=86=D0=BA=D0=B8=D0=B9?= Date: Mon, 2 Nov 2026 13:30:07 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20templates/index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 81 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 templates/index.html diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..03be891 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,81 @@ +{% extends "base.html" %} +{% block title %}Проверки SMART{% endblock %} +{% block content %} +

Проверки SMART

+ +
+

Запустить новую проверку

+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+ +
+

История

+ + + + + + + + + {% for r in runs %} + + + + + + + + + + + + + {% else %} + + {% endfor %} + +
#СХДSSHСтартФинишСтатусДисковПлохихZIP
{{ r['id'] }}{{ r['hostname'] }}{{ r['ssh_host'] or '' }}{{ r['started_at'] }}{{ r['finished_at'] or '—' }} + {% if r['id'] in in_progress %}⏳ running + {% elif r['status'] == 'ok' %}✅ ok + {% elif r['status'] == 'error' %}❌ error + {% else %}{{ r['status'] }}{% endif %} + {{ r['drives_count'] }}{{ r['bad_count'] }} + {% if r['archive'] %} + ⬇ zip + {% else %}—{% endif %} + +
+ +
+
Пока пусто
+
+{% endblock %} \ No newline at end of file