Example #1
0
def template(content):
    return render(
        html(
            head(title("Test web app"), script(src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js")),
            body(navigation(), h1("Greetings, comrade!"), div({"id": "content"}, content)),
        )
    )
Example #2
0
def template(content):
    return render(
        html(
            head(
                title("Test web app"),
                script(
                    src=
                    "//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"
                )),
            body(navigation(), h1("Greetings, comrade!"),
                 div({'id': 'content'}, content))))
Example #3
0
def render_basic(tag):
    return render(tag)
Example #4
0
def render_basic(tag):
    return render(tag)