- Vendor web_template base.css/base.js (v1.2 bbec859) under public/web_template with sync script - Add views/layout.ejs (fixed upstream EJS comment delimiters, mobile drawer, cmd palette, keys help, WS status, theme toggle) and lib/render.js two-step renderer - Add page routes for /, /workers, /workflows, /executions, /quick, /scheduler (stub views) - helmet with strict nonce CSP (script-src-attr 'none'), /csp-report, report-only toggle - lib/pageauth.js: shared users upsert + HTML 401/403 for page routes - PULSE_DEV_READONLY guard disabling background writers for local testing - public/assets/app.js shared runtime (Pulse namespace, delegated actions, WS singleton, themed confirm modal) and app.css - eslint globals for browser files; ignore vendored assets Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HamVMDrA8RqhyxmUHgiqRp
18 lines
579 B
Plaintext
18 lines
579 B
Plaintext
<%#
|
|
Page header partial.
|
|
Locals: title (string), subtitle (optional string), actions (optional raw HTML).
|
|
Usage from a page view:
|
|
<%- include('../partials/page-header', { title: 'Workers', subtitle: '', actions: '' }) %>
|
|
%>
|
|
<div class="lt-page-header">
|
|
<div>
|
|
<h1 class="lt-page-title"><%= title %></h1>
|
|
<% if (typeof subtitle !== 'undefined' && subtitle) { %>
|
|
<p class="lt-page-subtitle"><%= subtitle %></p>
|
|
<% } %>
|
|
</div>
|
|
<% if (typeof actions !== 'undefined' && actions) { %>
|
|
<div class="lt-page-actions"><%- actions %></div>
|
|
<% } %>
|
|
</div>
|