Layout
Page grid
The four column shapes an ERP screen needs, and the section header that separates them.
import { EcoPageGrid, EcoSection } from "vue-ecosphere"
Two-up
Auto-fit grids reflow on their own and need no breakpoint.
Enrolment
916 students across 34 sections.
Staff
68 teaching, 22 support.
Three-up
Classes
12
Sections
34
Rooms
34
Body and a fixed rail
Something edited on the left and summarised on the right. A rail that narrows into a thin column is worse than one that becomes a row underneath, so it stacks.
Body
The working column: a table, a register, a timetable.
Rail
Summary, activity, whatever is read but not edited.
Studio
A fixed source list, a fluid middle, a fixed inspector.
Sources
Question bank, past papers.
Paper
The paper being set.
Inspector
Marks, section, difficulty.
Section
The section below the fold: a heading with one link or control opposite it.
Rooms and capacity
API
| Name | Type | Default | Description |
|---|---|---|---|
layout | "2" | "3" | "rail" | "studio" | "2" | cg--2 and cg--3 auto-fit cards; cg--rail is a body beside a fixed --rail-w rail; cg--studio is three panes. All stack at 1240px. |
tag | string | "div" | Element to render. |
EcoSection title | string | — | Display-face heading at 15px (csec__t); #title slot overrides it. |
EcoSection #action | slot | — | One link or control opposite the heading. |
EcoSection as / tag | string | "h3" / "section" | Heading level and wrapper element. |