{% extends "base.html" %} {% block title %}系统设备自检{% endblock %} {% block content %}

🛡️ 系统设备自检

点击下方按钮开始对所有连接的设备进行状态检查。
检查项目包括:电视(Kodi)连通性、门禁控制器、展品LED控制器、以及Home Assistant设备状态。

{% endblock %} {% block extra_styles %} .summary-card { flex: 1; min-width: 150px; background: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); text-align: center; border: 1px solid #eee; } .summary-card .label { color: #888; margin-bottom: 5px; font-size: 0.9em; } .summary-card .value { font-size: 2em; font-weight: bold; color: #333; } .module-report { background: white; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 25px; overflow: hidden; } .module-report-header { padding: 15px 20px; background: #f8f9fa; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; } .module-title { font-weight: bold; font-size: 1.1em; color: #2c3e50; } .module-stats { font-size: 0.9em; color: #666; } .device-list { padding: 0; } .device-item { padding: 12px 20px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; } .device-item:last-child { border-bottom: none; } .device-info { flex: 1; } .device-name { font-weight: 600; color: #444; } .device-meta { font-size: 0.85em; color: #999; margin-top: 2px; } .device-status { font-weight: bold; display: flex; align-items: center; gap: 6px; font-size: 0.9em; } .status-online { color: #2ecc71; } .status-offline { color: #e74c3c; } .report-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; } .report-email-row { background: #f8f9fa; padding: 15px; border-radius: 8px; border: 1px solid #eee; margin-bottom: 25px; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 15px; } .report-email-field { flex: 1; min-width: min(100%, 220px); } .report-email-label { display: block; font-weight: bold; color: #555; margin-bottom: 8px; } .report-email-input { width: 100%; max-width: 400px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; } .report-email-send { flex-shrink: 0; } @media (max-width: 768px) { .report-header-row { flex-direction: column; align-items: flex-start; } .report-email-row { flex-direction: column; align-items: stretch; } .report-email-input { max-width: none; } .report-email-send { width: 100%; } .module-report-header { flex-direction: column; align-items: flex-start; gap: 8px; } .device-item { flex-direction: column; align-items: flex-start; gap: 10px; } .device-status { align-self: stretch; justify-content: flex-end; } } {% endblock %} {% block scripts %} {% endblock %}