⬡ Lacelium
⌘K
Version 2.x ▾

Twig View Catalog

Introduction

This catalog provides an architectural map of all Twig templates present in app/Views, including top-level routed entry views, shared layout shells, and reusable partial components.

Runtime Entry Views

These templates represent primary page entry points invoked directly by controller actions or route closures:

Template Path Controller Handler Architectural Purpose
welcome.twig WelcomeController::welcomePage Framework welcome hero page and initial status dashboard.
docs/*.twig DocsController::view Official framework documentation pages (40+ topics).
docs/auth/login.twig AuthController::showLogin User login interface with CSRF token and session flashes.
docs/auth/register.twig AuthController::showRegister User registration form with password hashing validation.
docs/account/me.twig AccountController::me Authenticated user profile and security overview.
docs/tasks/index.twig TaskController::index Full task orchestration datatable with card and table view modes.
docs/upload/image.twig UploadController::show MIME-verified binary file upload interface with image preview.

Shared Layouts & Shells

Layouts define the outer HTML structure of the application. Child views extend these layouts using the {% extends %} tag:

Layout Path Primary Blocks Description
shared/layouts/top.twig title, head, docs_content The main 3-column documentation shell with sticky search, sidebar navigation, and scroll-spy TOC.
shared/layouts/bare.twig title, head, body Minimal headless layout without navigation, suitable for authentication pages, modals, and embeds.

Reusable Partials & Components

Partials are modular snippets embedded into views via the {% include %} tag:

Partial Path Usage Example Description
shared/alerts.twig {% include 'shared/alerts.twig' %} Renders session flash messages (success, warning, error, info) with dismiss buttons.
docs/paginator.twig {% include 'docs/paginator.twig' %} Renders accessible pagination link controls for paginated query sets.

Maintenance & ArgusKit Views

These views power the built-in database maintenance and schema builder studio:

  • maintenance/table_builder.twig: Interactive schema designer and migration generator.
  • maintenance/table_list.twig: Database table explorer with row counts and schema inspector.
  • maintenance/embed.twig: Headless embed view for integrating ArgusKit inside custom admin panels.

Next Steps