diff --git a/meshview/templates/nodelist.html b/meshview/templates/nodelist.html index 8d91a07..be47b61 100644 --- a/meshview/templates/nodelist.html +++ b/meshview/templates/nodelist.html @@ -4,9 +4,7 @@ table { width: 80%; border-collapse: collapse; - margin-top: 1em; - margin-left: auto; - margin-right: auto; + margin: 1em auto; } th, td { @@ -18,10 +16,15 @@ th, td { th { background-color: #1f1f1f; color: white; - cursor: pointer; position: sticky; top: 0; z-index: 2; + cursor: pointer; +} + +.sort-icon { + font-size: 0.7em; + margin-left: 4px; } tr:nth-child(even) { @@ -36,164 +39,172 @@ tr:hover { background-color: #2a2a2a; } -.search-container { +.filter-container { + width: 80%; + margin: 1em auto; display: flex; gap: 10px; - margin-bottom: 10px; - width: 80%; - margin-left: auto; - margin-right: auto; + flex-wrap: wrap; } -.search, .filter-role, .filter-channel, .filter-hw_model, .export-btn { - padding: 8px; - border: 1px solid #333; +select, .export-btn, .search-box, .clear-btn { + padding: 6px; border-radius: 4px; + border: 1px solid #333; + cursor: pointer; } -.filter-role, .filter-channel, .filter-hw_model { - cursor: pointer; +.search-box { + flex: 1; } .export-btn { - background: #28a745; + background-color: #28a745; color: white; border: none; - cursor: pointer; } .export-btn:hover { - background: #218838; + background-color: #218838; +} + +.clear-btn { + background-color: #dc3545; + color: white; + border: none; +} + +.clear-btn:hover { + background-color: #c82333; } .count-container { - margin-bottom: 10px; + width: 80%; + margin: 0 auto 10px; font-weight: bold; color: white; - width: 80%; - margin-left: auto; - margin-right: auto; } {% endblock %} {% block body %} +
| Long Name | -Short Name | -HW Model | -Firmware | -Role | -Last Latitude | -Last Longitude | -Channel | -Last Update | +Short | +Long Name | +HW Model | +Firmware | +Role | +Last Latitude | +Last Longitude | +Channel | +Last Update |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Loading nodes... | |||||||||||||||||