css dla komorek
This commit is contained in:
@@ -293,26 +293,19 @@ function renderEventLog(events, range) {
|
||||
const timeRangeStr = `${start.toLocaleTimeString('pl-PL', {hour:'2-digit', minute:'2-digit'})} - ${end.toLocaleTimeString('pl-PL', {hour:'2-digit', minute:'2-digit'})}`;
|
||||
|
||||
item.innerHTML = `
|
||||
<div style="display: flex; align-items: center; flex-grow: 1;">
|
||||
<div class="event-badge" style="
|
||||
background-color: ${config.color};
|
||||
box-shadow: 0 0 0 2px ${phase.color};
|
||||
margin-left: 2px;
|
||||
margin-right: 14px;
|
||||
width: 10px; height: 10px;">
|
||||
</div>
|
||||
<div class="event-time">
|
||||
<div>${start.toLocaleDateString('pl-PL', {day:'2-digit', month:'2-digit'})}, ${timeRangeStr}</div>
|
||||
</div>
|
||||
<div class="event-content">
|
||||
<div class="event-badge" style="background-color: ${config.color}; box-shadow: 0 0 0 2px ${phase.color};"></div>
|
||||
<div class="event-time">${start.toLocaleDateString('pl-PL', {day:'2-digit', month:'2-digit'})}, ${timeRangeStr}</div>
|
||||
<div class="event-desc">
|
||||
<span style="color: ${phase.color}; font-weight: bold;">${phase.label}</span>:
|
||||
<strong>${config.label}</strong> przez ${dur} min.
|
||||
</div>
|
||||
</div>
|
||||
<button onclick="showEventOnChart('${ev.start}')" class="time-btn" style="padding: 4px 8px !important; margin-left: 10px;">
|
||||
Pokaż 🔍
|
||||
<button onclick="showEventOnChart('${ev.start}')" class="zoom-btn-mobile">
|
||||
Pokaż na wykresie 🔍
|
||||
</button>
|
||||
`;
|
||||
|
||||
container.appendChild(item);
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user