Updated the core site style and removed AI fuzz.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* Net Statistics Rendering */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
function renderNetStats(data, callsignsContainer, weeklyContainer) {
|
||||
const callsigns = data.callsigns || [];
|
||||
const weekly = data.weekly || [];
|
||||
|
||||
// Render Callsigns List
|
||||
if (callsignsContainer && callsigns.length > 0) {
|
||||
callsignsContainer.innerHTML = '';
|
||||
callsigns.forEach(call => {
|
||||
const li = document.createElement('li');
|
||||
li.textContent = call;
|
||||
callsignsContainer.appendChild(li);
|
||||
});
|
||||
document.getElementById('callsigns-section')?.classList.remove('hidden');
|
||||
}
|
||||
|
||||
// Render Weekly Check-Ins List
|
||||
if (weeklyContainer && weekly.length > 0) {
|
||||
weeklyContainer.innerHTML = '';
|
||||
weekly.forEach(week => {
|
||||
const li = document.createElement('li');
|
||||
li.innerHTML = `${week.date}: <strong>${week.count}</strong> check-ins`;
|
||||
weeklyContainer.appendChild(li);
|
||||
});
|
||||
document.getElementById('weekly-section')?.classList.remove('hidden');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user