import * as _ from 'lodash';
export function renderKingomOverview(city: City, account: Account): string {
- return `<div hx-trigger="reload-construction-queue from:body, reload-unit-training from:body, every 600s" hx-get="/poll/overview">
+ return `
+ <div hx-trigger="every 600s" hx-get="/poll/overview">
+ <h2 data-augmented-ui="tl-clip bl-clip none">Kingdom Overview</h2>
<table>
<tr>
<th>Lord</th>
<td>${city.bushels.toLocaleString()}</td>
</tr>
</table>
- </div>`;
+ </div>
+ `;
}
\ No newline at end of file