Expand description
Templates rendering
Modules§
- Helps rendering each template with sample data
Macros§
- Macro that helps generating helper function that renders a specific template with a strongly-typed context. It also register the template in a static array to help detecting missing templates at startup time.
Structs§
- Context used by theswagger/doc.htmltemplate
- Context used by theapp.htmltemplate
- Context used by thesso.htmltemplate
- Context used by theconsent.htmltemplate
- Context used by thedevice_consent.htmltemplate
- Context used by thedevice_link.htmltemplate
- Context used by theemails/recovery.{txt,html,subject}templates
- Context used by theemails/verification.{txt,html,subject}templates
- An empty context used for composition
- Context used by theerror.htmltemplate
- Context used by theform_post.htmltemplate
- The state of a form and its fields
- Context used by theindex.htmltemplate
- Context used by thelogin.htmltemplate
- Context used by the not found (404.html) template
- Context used by thepassword_register.htmltemplate
- Context used by thepolicy_violation.htmltemplate
- Context used in login and reauth screens, for the post-auth action to do
- Context used by thereauth.htmltemplate
- Context used by thepages/recovery/expired.htmltemplate
- Context used by thepages/recovery/finish.htmltemplate
- Context used by thepages/recovery/progress.htmltemplate
- Context used by thepages/recovery/start.htmltemplate
- Context used by theregister.htmltemplate
- Context used by thedisplay_name.htmltemplate
- Context used by thepages/register/steps/email_in_use.htmltemplate
- Context used by thepages/register/steps/verify_email.htmltemplates
- Site branding information.
- Site features information.
- Wrapper aroundminijinja::Environmenthelping rendering the various templates
- Context used by thepages/upstream_oauth2/{link_mismatch,do_login}.htmltemplates
- Context used by thepages/upstream_oauth2/do_register.htmltemplates
- Context used by thepages/upstream_oauth2/suggest_link.htmltemplates
- Context with an optional CAPTCHA configuration in it
- Context with a CSRF token in it
- Context with a specified locale in it
- Context with an optional user session in it
- Context with a user session in it
Enums§
- Form fields on the device link page
- An error on a form field
- An error on the whole form
- Fields of the login form
- Inner context used in login and reauth screens. SeePostAuthContext.
- Fields of the reauthentication form
- Fields of the account recovery finish form
- Fields of the account recovery start form
- Fields of the registration form
- Fields for the display name form
- Fields of the email verification form
- Failed to render a template
- There was an issue while loading the templates
- User-editeable fields of the upstream account link form
Traits§
- A trait which should be used for form field enums
- Helper trait to construct context wrappers
- Utility trait to help creatingFormStateout of a form
Functions§
- Escape the given string for use in HTML