marshall_webapp.templates.commonelements.pagetemplates package

The webpage scaffolding for the pessto marshall

Author

David Young

defaultpagetemplate(log, request, bodyId=False, pageTitle='ePESSTO+ Marshall', topNavBar=False, sideBar=False, mainContent=False, relativePathFromDocRoot=False, thisPageName='')[source]

Generate the webpage to be displayed

Key Arguments

  • log – logger

  • bodyId – the bodyId of the page

  • pageTitle – the title for the page (shows in browser tab)

  • topNavBar – topNavBar

  • sideBar – sideBar

  • mainContent – mainContent

  • relativePathFromDocRoot – the path to the assets folder relative to the document root

  • thisPageName – the name of the page currently displayed

  • params – dictionary of parameters passed to via the url of webpage

Return

  • webpage – the webpage to be displayed