liquid_feedback_frontend

diff env/ui/sectionRow.lua @ 1045:701a5cf6b067

Imported LiquidFeedback Frontend 3.0 branch
author bsw
date Thu Jul 10 01:19:48 2014 +0200 (2014-07-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/env/ui/sectionRow.lua	Thu Jul 10 01:19:48 2014 +0200
     1.3 @@ -0,0 +1,15 @@
     1.4 +function ui.sectionRow ( arg1, arg2 )
     1.5 +
     1.6 +  local class = "sectionRow"
     1.7 +  local content
     1.8 +  
     1.9 +  if arg2 then
    1.10 +    class = class .. " " .. arg1
    1.11 +    content = arg2
    1.12 +  else
    1.13 +    content = arg1
    1.14 +  end
    1.15 +
    1.16 +  ui.container { attr = { class = class }, content = content }
    1.17 +
    1.18 +end

Impressum / About Us