added new device consolidation

This commit is contained in:
2025-08-19 19:19:08 +02:00
parent ba34e2ad56
commit 7dd0733d6d
6 changed files with 802 additions and 2 deletions
@@ -0,0 +1,106 @@
.consolidation-container {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.consolidation-section .card-header {
font-weight: bold;
padding: .75rem 1.25rem;
border-bottom: 1px solid #dee2e6;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.consolidation-section .card-header .fas {
transition: transform 0.2s ease-in-out;
}
.consolidation-section .card-header.collapsed .fa-chevron-down {
transform: rotate(-90deg);
}
.consolidation-section .card-body {
padding: 1.25rem;
}
.consolidation-section .list-group-item {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
}
.consolidation-section .device-info {
flex-grow: 1;
}
.consolidation-section .actions {
flex-shrink: 0;
margin-left: 1rem;
display: flex;
gap: 0.5rem;
}
#map-modal .modal-body {
height: 60vh;
padding: 0;
position: relative;
}
#map-modal .modal-body > .form-group {
position: absolute;
top: 10px;
left: 50px;
z-index: 1001;
background-color: white;
padding: 5px 10px;
border-radius: 5px;
}
#leaflet-map {
width: 100%;
height: 100%;
}
/* Leaflet GeoSearch styles */
#map-modal .leaflet-control-geosearch a.glass,
#map-modal .leaflet-control-geosearch .results a.glass {
border-radius: 4px 0 0 4px;
}
#map-modal .leaflet-control-geosearch form input {
padding: 0 10px;
height: 30px;
border: 1px solid #ccc;
}
#map-modal .leaflet-control-geosearch .results {
max-height: 40vh;
}
.coords-display {
position: absolute;
bottom: 10px;
left: 10px;
background: rgba(255,255,255,0.8);
padding: 5px 10px;
border-radius: 4px;
z-index: 1000;
font-family: monospace;
}
.bg-purple {
background-color: #6f42c1 !important;
}
.device-info a {
margin-left: 8px;
color: #6c757d;
font-size: 0.9em;
}
.device-info a:hover {
color: #343a40;
}