<% const positions = {
'trinity-core': { x: 12.5, y: 33 },
'command-center': { x: 43.75, y: 33 },
'panel-vps': { x: 73, y: 33 },
'tx1-dallas': { x: 60.4, y: 67 },
'nc1-charlotte': { x: 85.4, y: 67 },
'wiki-vps': { x: 27, y: 67 },
'services-vps': { x: 8.3, y: 67 },
'dev-panel': { x: 43.75, y: 88 }
}; %>
<% Object.entries(fleet.servers).forEach(([id, server]) => {
const pos = positions[id];
if (!pos) return;
const statusClass = server.status || (server.online ? 'healthy' : 'offline');
const nodeGames = id === 'tx1-dallas' ? fleet.summary.tx1Games : (id === 'nc1-charlotte' ? fleet.summary.nc1Games : 0);
%>
<%= server.label %>
<%= id === 'trinity-core' ? 'Home (Tunnel)' : (server.online ? '' : 'OFFLINE') %>
<%= server.role %>
<% if (nodeGames > 0) { %>
๐ฎ <%= nodeGames %> servers
<% } %>
<% }); %>