feat(админка): экран денег с графиками

This commit is contained in:
anor
2026-11-06 22:34:50 +10:00
parent e4d2c9601b
commit 72cba3600f
8 changed files with 244 additions and 1 deletions
+3 -1
View File
@@ -3,6 +3,7 @@ import htm from '/static/admin2/vendor/htm.module.js';
import { SECTIONS, sectionFromPath, hrefFor } from '/static/admin2/router.js';
import { DayPage } from '/static/admin2/pages/day.js';
import { CustomersPage } from '/static/admin2/pages/customers.js';
import { MoneyPage } from '/static/admin2/pages/money.js';
const html = htm.bind(h);
const TITLES = {
@@ -27,7 +28,8 @@ const App = () => html`
<main class="main">
<header class="top"><div><h1>${title}</h1><p>${subtitle}</p></div></header>
${section === 'today' ? html`<${DayPage} />`
: section === 'customers' ? html`<${CustomersPage} />` : html`
: section === 'customers' ? html`<${CustomersPage} />`
: section === 'money' ? html`<${MoneyPage} />` : html`
<section class="card" aria-labelledby="placeholder">
<h2 id="placeholder">Раздел готовится</h2>
<p>Данные и действия подключит следующий этап.</p>