liquid_feedback_frontend

diff env/ui/box_col.lua @ 211:4993b71b383f

First checkin of lf2 (frontend second generation) prototype
author bsw
date Wed Mar 02 20:06:26 2011 +0100 (2011-03-02)
parents
children 1dab81353eb1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/env/ui/box_col.lua	Wed Mar 02 20:06:26 2011 +0100
     1.3 @@ -0,0 +1,7 @@
     1.4 +function ui.box_col(args)
     1.5 +  local class = "col"
     1.6 +  if args.class then class = class .. " " .. args.class end
     1.7 +  if app.ui_box_col == 1 then class = class .. " first" end
     1.8 +  ui.container{ attr = { class = class }, content = args.content }
     1.9 +  app.ui_box_col = app.ui_box_col + 1
    1.10 +end

Impressum / About Us