khufu.scaffolding.login_page module

Simple Login Page

Author

David Young

class login_page(log, mainCssFilePath='/static/styles/main.css', jsFilePath='/static/js/main-ck.js', pageTitle='Login', iconPath='', came_from='/', message='')[source]

Bases: object

The worker class for the login_page module

Key Arguments

  • log – logger

  • mainCssFilePath – the filepath of the main CSS file

  • jsFilePath – the filepath of the main JS file

  • pageTitle – pageTitle

  • iconPath – webapp icon path

  • came_from – the url this login page was triggered from

  • message – message to display as notification

close()[source]
get()[source]

get the login_page object

Return

  • login_page – the html login page

_build_webapge_scaffolding()[source]

build webapge scaffolding

Key Arguments

Return

  • webpage – the html login page