overhaul using augmented-ui
[browser-rts.git] / src / render / kingdom-overview.ts
index c44d8f852081950664658ee7a05c1fb58644c298..802eb010f239a379a2991391db3be9d226038a9a 100644 (file)
@@ -3,7 +3,9 @@ import { City } from "../repository/city";
 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>
@@ -46,5 +48,6 @@ export function renderKingomOverview(city: City, account: Account): string {
                <td>${city.bushels.toLocaleString()}</td>
        </tr>
        </table>
-       </div>`;
+       </div>
+       `;
 }
\ No newline at end of file