{% extends "base.html" %} {% block css %} {{ super() }} /* --- Map --- */ #map { width: 100%; height: 400px; margin-bottom: 20px; border-radius: 8px; display: block; } .leaflet-container { background: #1a1a1a; z-index: 1; } /* --- Node Info --- */ .node-info { color: #ddd; font-size: 0.88rem; margin-bottom: 14px; display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); grid-column-gap: 12px; grid-row-gap: 12px; } .node-info-col { background-color: #1f2226; border: 1px solid #3a3f44; border-radius: 8px; padding: 12px 14px; } .node-info-col div { padding: 2px 0; } .node-info strong { color: #9fd4ff; font-weight: 600; } /* --- Charts --- */ .chart-container { width: 100%; height: 380px; margin-bottom: 25px; border: 1px solid #3a3f44; border-radius: 8px; overflow: hidden; background-color: #16191d; } .chart-header { display: flex; justify-content: space-between; align-items: center; background: #1f2226; padding: 6px 12px; font-weight: bold; border-bottom: 1px solid #333; font-size: 1rem; } .chart-actions button { background: rgba(255,255,255,0.05); border: 1px solid #555; border-radius: 4px; color: #ccc; font-size: 0.8rem; padding: 2px 6px; cursor: pointer; } .chart-actions button:hover { color: #fff; background: rgba(255,255,255,0.15); border-color: #888; } /* --- Packet Table --- */ .packet-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; color: #e4e9ee; } .packet-table th, .packet-table td { border: 1px solid #3a3f44; padding: 6px 10px; text-align: left; } .packet-table th { background-color: #1f2226; font-weight: bold; } .packet-table tr:nth-of-type(odd) { background-color: #272b2f; } .packet-table tr:nth-of-type(even) { background-color: #212529; } .port-tag { padding: 2px 6px; border-radius: 6px; font-size: 0.75rem; color: #fff; } .to-mqtt { font-style: italic; color: #aaa; } .payload-row { display: none; background-color: #1b1e22; } .payload-cell { padding: 8px 12px; font-family: monospace; white-space: pre-wrap; color: #b0bec5; } .packet-table tr.expanded + .payload-row { display: table-row; } .toggle-btn { cursor: pointer; color: #aaa; margin-right: 6px; } .toggle-btn:hover { color: #fff; } /* --- Chart Modal --- */ #chartModal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.9); z-index:9999; align-items:center; justify-content:center; } #chartModal > div { background:#1b1e22; border-radius:8px; width:90%; height:85%; padding:10px; } /* Inline link */ .inline-link { margin-left: 6px; font-weight: bold; text-decoration: none; color: #9fd4ff; } .inline-link:hover { color: #c7e6ff; } /* --- QR Code & Import --- */ .node-actions { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; } .node-actions { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; } .node-actions button { background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%); border: 1px solid #4a5568; border-radius: 8px; color: #e4e9ee; padding: 8px 16px; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 500; transition: all 0.2s; } .node-actions button:hover { background: linear-gradient(135deg, #3d4758 0%, #2a303c 100%); border-color: #6a7788; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); } .node-actions button.copied { background: linear-gradient(135deg, #276749 0%, #22543d 100%); border-color: #48bb78; color: #fff; } .copy-success { color: #4ade80 !important; transition: opacity 0.3s; } /* --- QR Modal --- */ #qrModal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.95); z-index:10000; align-items:center; justify-content:center; backdrop-filter:blur(4px); } #qrModal > div { background:linear-gradient(145deg, #1e2228, #16191d); border:1px solid #3a4450; border-radius:16px; padding:28px; max-width:380px; text-align:center; color:#e4e9ee; box-shadow:0 25px 80px rgba(0,0,0,0.6); } #qrModal .qr-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; } #qrModal .qr-title { font-size:1.3rem; font-weight:600; margin:0; color:#9fd4ff; } #qrModal .qr-close { background:rgba(255,255,255,0.05); border:1px solid #4a5568; color:#9ca3af; width:32px; height:32px; border-radius:8px; cursor:pointer; font-size:1.2rem; display:flex; align-items:center; justify-content:center; transition:all 0.2s; } #qrModal .qr-close:hover { background:rgba(255,255,255,0.1); color:#fff; border-color:#6a7788; } #qrModal .qr-node-name { font-size:1.15rem; color:#fff; margin:12px 0 20px; font-weight:500; } #qrModal .qr-image { background:#fff; padding:16px; border-radius:12px; display:inline-block; margin-bottom:16px; box-shadow:0 8px 30px rgba(0,0,0,0.4); } #qrModal .qr-image img { display:block; border-radius:4px; } #qrModal .qr-url-container { background:rgba(0,0,0,0.4); border-radius:8px; padding:12px; margin-bottom:18px; } #qrModal .qr-url { font-size:0.65rem; color:#9ca3af; word-break:break-all; font-family:'Monaco', 'Menlo', monospace; line-height:1.4; max-height:48px; overflow-y:auto; display:block; } #qrModal .qr-actions { display:flex; gap:12px; justify-content:center; } #qrModal .qr-btn { background:linear-gradient(135deg, #2d3748 0%, #1a202c 100%); border:1px solid #4a5568; color:#e4e9ee; padding:12px 24px; border-radius:10px; cursor:pointer; font-size:0.9rem; font-weight:500; transition:all 0.2s; display:flex; align-items:center; gap:8px; min-width:140px; justify-content:center; } #qrModal .qr-btn:hover { background:linear-gradient(135deg, #3d4758 0%, #2a303c 100%); border-color:#6a7788; transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,0.3); } #qrModal .qr-btn.copied { background:linear-gradient(135deg, #276749 0%, #22543d 100%); border-color:#48bb78; color:#fff; } {% endblock %} {% block body %}
๐Ÿ“ก Specifications::
Node ID: โ€”
Hex ID: โ€”
Short Name: โ€”
Long Name: โ€”
Channel: โ€”
Latitude: โ€”
Longitude: โ€”
Role: โ€”
Hardware Model: โ€”
MQTT Gateway: โ€”
First Update: โ€”
Last Update: โ€”
Firmware: โ€”
Statistics: โ€”
๐Ÿ”‹ Battery & Voltage
๐Ÿ“ถ Air & Channel Utilization
๐Ÿ“ก Neighbors (SNR Over Time)
๐Ÿ“Š Packets per Day (Last 7 Days)
Time Packet ID From To Port Size

Share Contact QR

Loading...
Generating...
{% endblock %}