base/src/sqwl/cms/layout/Navbar.scala
changeset 8 8e0809dad9f7
parent 7 50a354e5bda4
child 12 e7512f9dc903
equal deleted inserted replaced
7:50a354e5bda4 8:8e0809dad9f7
    14     )
    14     )
    15     */
    15     */
    16 
    16 
    17     val navSections = ul(cls:="nav navbar-nav navbar-section", width:="100%",
    17     val navSections = ul(cls:="nav navbar-nav navbar-section", width:="100%",
    18       cnt.categories map(c =>
    18       cnt.categories map(c =>
    19         li(cls:="text-center", a(href:=c.pathSegment, c.name))
    19         li(cls:="text-center", a(href:=s"/${http.prefix}/${c.pathSegment}", c.name))
    20       )
    20       )
    21     )
    21     )
    22 
    22 
    23     header(cls:="navbar navbar-default navbar-fixed-top",
    23     header(cls:="navbar navbar-default navbar-fixed-top",
    24       div(cls:="navbar-inner",
    24       div(cls:="navbar-inner",