Module sysmonk::templates

source Β·

ModulesΒ§

  • error πŸ”’
    Error page template that is served as HTML response for any error message to be conveyed.
  • index πŸ”’
    Index page template that is served as HTML response for the root endpoint.
  • logout πŸ”’
    Logout page template that is served as HTML response when the user decides to end the session.
  • monitor πŸ”’
    Monitor page template that is served as HTML response for the monitor endpoint.
  • session πŸ”’
    Session page template that is served as HTML response when invalid/expired session tokens are received.
  • unauthorized πŸ”’
    Unauthorized template that is served as HTML response when the user is unauthorized.

FunctionsΒ§

  • capwords_filter πŸ”’
    Capitalizes the first character of each word in a string.
  • Loads all the HTML templates’ content into a Jinja Environment