feat(админка): экран денег с графиками
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user