MCPcopy Create free account
hub / github.com/cppla/ServerStatus / card

Function card

web/js/app.js:231–231  ·  view source on GitHub ↗
(label, value, hint, cls)

Source from the content-addressed store, hash-verified

229 ].join('');
230}
231function card(label, value, hint, cls){ return `<div class="overview-card ${cls}"><span class="label">${esc(label)}</span><span class="value">${esc(value)}</span><span class="hint">${esc(hint)}</span></div>`; }
232
233function alertStats(){
234 const stats = { offline: 0, abnormal: 0, blocked: 0, total: 0 };

Callers 1

renderOverviewFunction · 0.85

Calls 1

escFunction · 0.85

Tested by

no test coverage detected