#NEWLINE# @ presentation . render_for ( Header ) #NEWLINE# def render_Header( self , h , comp , * args ) : #NEWLINE# #INDENT# 'Head renderer' #NEWLINE# ( h . head << h . head . title ( self . app_banner ) ) #NEWLINE# ( h . head << h . head . meta ( name = 'viewport' , content = 'width=device-width, initial-scale=1.0' ) ) #NEWLINE# h . head . css_url ( 'css/knacss.css' ) #NEWLINE# h . head . css_url ( 'css/themes/fonts.css' ) #NEWLINE# h . head . css_url ( 'css/themes/kansha.css' ) #NEWLINE# h . head . css_url ( 'css/themes/login.css' ) #NEWLINE# h . head . css_url ( ( 'css/themes/%s/kansha.css' % self . theme ) ) #NEWLINE# h . head . css_url ( ( 'css/themes/%s/login.css' % self . theme ) ) #NEWLINE# with h . div ( class_ = 'header' ) : #NEWLINE# #INDENT# with h . a ( href = comp . request . application_url ) : #NEWLINE# #INDENT# ( h << h . div ( class_ = 'logo' ) ) #NEWLINE# #UNINDENT# ( h << h . h1 ( self . app_banner ) ) #NEWLINE# #UNINDENT# return h . root