Module rustream::templates

source Β·
Expand description

Module to load all the templates for the UI.

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.
  • landing πŸ”’
    Landing page template that is served as HTML response while streaming media.
  • listing πŸ”’
    Listing page template that is served as HTML response after successful authentication.
  • logout πŸ”’
    Logout page template that is served as HTML response when the user decides to end the session.
  • profile πŸ”’
  • session πŸ”’
    Session page template that is served as HTML response when invalid/expired session tokens are received.
  • upload πŸ”’

FunctionsΒ§

  • Loads all the HTML templates’ content into a Jinja Environment