Template library¶
The Templates page lists every template in the installation and is where templates are uploaded, previewed, edited, analyzed, renamed, replaced and deleted. Each template belongs to one event. This page covers the list and the dialogs; what a template is and how to write one starts on Getting started with templates, and where a template can be assigned on How templates are assigned.
The list¶
| Column | Meaning |
|---|---|
| Title | The name you gave it; the row menu opens the actions below |
| Event Title | The event the template belongs to |
| Type | Dynamic if the template binds to JSON data, Static if not |
| Data Scope | Static, Current Item, Room Scoped or Event Scoped — derived from the attributes the template uses, see How templates are assigned |
| Dimensions (px) | The width × height recorded at upload, as a note of the screen the template was designed for |
| Template In Use | Whether any event, room or scheduled item currently uses it |
| Created At | Upload date |
Search Templates matches the title; Filter by Event(s) and Filter by Data Scope (Static, Current Item, Room Scoped, Event Scoped) narrow the list. How long the filters are remembered follows the Filter Persistence setting in User Settings.
Clicking a template's title opens the preview dialog. A Current Item template opens without data: turn on Enable preview editing to fill its fields with generated sample data and edit that data as JSON beside the preview. A Room Scoped template is filled with a generated sample schedule straight away, without the editor. An Event Scoped template is previewed with its event's real schedule, across all of the event's enabled physical rooms, as it is now: a today list is empty on a day without items, and an upcoming list is empty once the event is over. A Virtual Room with custom source rooms shows only its selected rooms on its signs (see Source rooms).
Preview Template in a New Tab in the row menu shows the same preview full-size, except that a Current Item template is filled with the sample data straight away; there is no JSON editor. The sample data is the same as in the Template Editor. Event Settings and Room Settings have a button for each preview beside their content and gap templates.
Uploading a template¶
Add new template opens Upload New Template with three tabs. All of them ask for a Template Title (up to 45 characters) and the Event the template belongs to.
HTML Template Upload¶
Drop or pick one file:
- a ZIP of a template you wrote —
index.htmlandstyles.cssat the root, an optionalscript.js, everything else underassets/(the rules are on Getting started with templates). You can add a Default Pixel Width and Height (at least 100 each) to record the screen size the template targets; they appear as the template's Dimensions in the list. - a single video (
.mp4) or image (.jpg,.jpeg,.png). The app wraps it in a full-screen template for you — no HTML needed. For these the dialog asks for the Template Dimension Type instead: Responsive fills whatever screen the sign has; Absolute takes a Fixed Pixel Width and Height and renders at exactly that size.
The Template Guidelines panel at the top of the dialog repeats the packaging rules.
Web Page URL and HLS Stream URL¶
The other two tabs build a template from a single HTTPS address — a web page shown full-screen, or an HLS livestream with reconnect handling and an optional audio toggle. Both ask for the dimension type as above. They are described on Livestream and web page templates.
What the upload checks¶
A ZIP goes through two kinds of checks:
- Packaging and safety rules that cannot be overridden. The upload is refused with the
reason, for example Extra top-level directory found: … Root files must not be inside a
wrapper folder, Required root file missing: styles.css, Forbidden file type found in
assets (no
.html,.css, archives or executables underassets/), Template must not include backend-injected scripts (digital-sign.js,luxon.min.jsand the other player scripts are added by the server), Illegal local runtime loading pattern(s) (scripts may notfetch,importor otherwise load files from the ZIP at runtime — reference assets fromindex.htmlorstyles.css), Missing asset in ZIP file, Non-ASCII character or Character requiring URL encoding found in path segment. Archive limits apply too: 500 entries, 500 MB in total, 50 MB per file, no encrypted entries or symlinks. - Static analysis of the HTML, CSS, JavaScript and assets — the checks are listed on What the static analysis checks. Findings with severity Error stop the upload and open Template Validation Errors, listing them. Fix and re-upload, or choose Force Upload Anyway to publish the template regardless; the findings stay visible under View Template Analysis. Warnings and notes never block an upload.
A template that binds both room-scoped and event-scoped data is refused: it has to be one or the other (see data scopes).
Where else you can upload¶
The Event Settings and Room Settings dialogs have the same uploader, so a template can be created and assigned in one go. A template uploaded there lands in the library like any other.
Actions on a template¶
The row menu offers:
| Action | What it does |
|---|---|
| Preview Template in a New Tab | Opens the template full-size in a new tab, with the same data as the preview dialog; a Current Item template is filled with sample data straight away (see The list) |
| Open in Template Editor | Edit the files in the browser and save a new version — Template Editor and analysis |
| View Usage Details | Three tabs — Events, Rooms, Scheduled Items — listing every slot the template is assigned to, with a search box; This template is not being used anywhere when none |
| Trigger AI Analysis / View Template Analysis | Send the template's source files for an AI review, and read the static and AI findings — Template Editor and analysis |
| Download Template | The ZIP as stored |
| Rename or Replace Template | See below |
| Delete Template | See below |
Download Base Template on the page header gives you the starting ZIP described on Getting started with templates.
Renaming or replacing¶
Rename or Replace Template opens Update Existing Template. Change the title and save to rename. Upload a file only if you want to replace the template's files — the dialog says so. A replacement goes through the same checks as a new upload, and when it is accepted it becomes a new version of the same template: every event, room and item that uses it keeps its assignment, and the signs showing it reload and re-cache their assets. Prefer one replacement with all your changes over several small ones.
Deleting¶
Delete Template asks for confirmation. A template that is in use cannot be deleted — the dialog says This template is currently in use. Please remove it from the used events/rooms/items to enable deleting this template. Use View Usage Details to find the assignments, change or clear them, and delete again.