@presentation.render_for(Header)
def render_Header(self, h, comp, *args):

    h.head << h.head.title(self.app_banner)
    h.head << h.head.meta(
        name='viewport', content='width=device-width, initial-scale=1.0')

    h.head.css_url('css/knacss.css')
    h.head.css_url('css/themes/fonts.css')
    h.head.css_url('css/themes/kansha.css')
    h.head.css_url('css/themes/login.css')
    h.head.css_url('css/themes/%s/kansha.css' % self.theme)
    h.head.css_url('css/themes/%s/login.css' % self.theme)

    with h.div(class_='header'):
        with h.a(href=h.request.application_url):
            h << h.div(class_='logo')
        h << h.h1(self.app_banner)
    return h.root
Test ToolSelectionStmt factory method
dataset/ETHPy150Open Net-ng/kansha/kansha/authentication/database/forms.py/render_Header--crossover with--dataset/ETHPy150Open curtacircuitos/pcb-tools/gerber/tests/test_excellon_statements.py/test_toolselection_factory