feat(админка): экран жалоб v2

This commit is contained in:
anor
2026-11-06 23:01:52 +10:00
parent 520b7c5a10
commit b847e6727f
10 changed files with 282 additions and 5 deletions
+3 -1
View File
@@ -4,6 +4,7 @@ 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';
import { WorkPage } from '/static/admin2/pages/work.js';
const html = htm.bind(h);
const TITLES = {
@@ -29,7 +30,8 @@ const App = () => html`
<header class="top"><div><h1>${title}</h1><p>${subtitle}</p></div></header>
${section === 'today' ? html`<${DayPage} />`
: section === 'customers' ? html`<${CustomersPage} />`
: section === 'money' ? html`<${MoneyPage} />` : html`
: section === 'money' ? html`<${MoneyPage} />`
: section === 'work' ? html`<${WorkPage} />` : html`
<section class="card" aria-labelledby="placeholder">
<h2 id="placeholder">Раздел готовится</h2>
<p>Данные и действия подключит следующий этап.</p>