progs/display/display.scala
changeset 873 c885ed3c39cf
parent 738 03f46065ef04
equal deleted inserted replaced
872:afd9dd575fc8 873:c885ed3c39cf
    71         head(link(rel := "stylesheet", href := bootstrap),
    71         head(link(rel := "stylesheet", href := bootstrap),
    72              link(rel := "stylesheet", href := "static/style.css")), 
    72              link(rel := "stylesheet", href := "static/style.css")), 
    73         body(
    73         body(
    74           div(cls := "container")( 
    74           div(cls := "container")( 
    75             h1(s"Hello"),
    75             h1(s"Hello"),
    76             i(color.green)(s"$cnt"),
       
    77             form(action := "/", method := "post")(
       
    78               button(`type` := "submit", name := "name", value := 1)(s"1"),
       
    79             ),
       
    80             ul(cls := "tree")(pp(evil2)),
    76             ul(cls := "tree")(pp(evil2)),
    81 	    ul(cls := "tree")(ppa(aevil2))
    77 	    ul(cls := "tree")(ppa(aevil2))
    82           )
    78           )
    83         )
    79         )
    84       )
    80       )