liquid_feedback_frontend

annotate env/ui/box_col.lua @ 213:acf92c2d33f4

Seperated css and fixed issue delegations for second generation frontend
author bsw
date Thu Mar 03 21:26:35 2011 +0100 (2011-03-03)
parents 4993b71b383f
children 1dab81353eb1
rev   line source
bsw@211 1 function ui.box_col(args)
bsw@211 2 local class = "col"
bsw@211 3 if args.class then class = class .. " " .. args.class end
bsw@211 4 if app.ui_box_col == 1 then class = class .. " first" end
bsw@211 5 ui.container{ attr = { class = class }, content = args.content }
bsw@211 6 app.ui_box_col = app.ui_box_col + 1
bsw@211 7 end

Impressum / About Us