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 the
account/deactivated.htmlandaccount/locked.htmltemplates - Context used by the
swagger/doc.htmltemplate - Context used by the
app.htmltemplate - Context used by the
sso.htmltemplate - Context used by the
consent.htmltemplate - Context used by the
device_consent.htmltemplate - Context used by the
device_link.htmltemplate - Context used by the
emails/recovery.{txt,html,subject}templates - Context used by the
emails/verification.{txt,html,subject}templates - An empty context used for composition
- Context used by the
error.htmltemplate - Context used by the
form_post.htmltemplate - The state of a form and its fields
- Context used by the
index.htmltemplate - Context used by the
login.htmltemplate - Context used by the not found (
404.html) template - Context used by the
password_register.htmltemplate - Context used by the
policy_violation.htmltemplate - Context used in login and reauth screens, for the post-auth action to do
- Context used by the
reauth.htmltemplate - Context used by the
pages/recovery/expired.htmltemplate - Context used by the
pages/recovery/finish.htmltemplate - Context used by the
pages/recovery/progress.htmltemplate - Context used by the
pages/recovery/start.htmltemplate - Context used by the
register.htmltemplate - Context used by the
display_name.htmltemplate - Context used by the
pages/register/steps/email_in_use.htmltemplate - Context used by the
pages/register/steps/verify_email.htmltemplates - Site branding information.
- Site features information.
- Wrapper around
minijinja::Environmenthelping rendering the various templates - Context used by the
pages/upstream_oauth2/{link_mismatch,do_login}.htmltemplates - Context used by the
pages/upstream_oauth2/do_register.htmltemplates - Context used by the
pages/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. See
PostAuthContext. - 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 creating
FormStateout of a form
Functions§
- Escape the given string for use in HTML