Module ui_render

Module ui_render 

Source
Expand description

support for defining routes - mostly, Tera templates

We embed the templates in the binary because that’s simple to deploy, and avoids entanglement of the build system (and asset configuration).

Structs§

ContentType
Representation of HTTP Content-Types.
EmbeddedTemplate
EmbeddedTemplateIsJustAPart
Tera
Main point of interaction in this library.
UiReqInfo
UiReqInfoUnchecked

Enums§

SendFormat

Functions§

embedded_tera_templates
make_navbar_for
tera_templates

Type Aliases§

NavbarEntry
title text; template name; route path
RenderedTemplate