liquid_feedback_frontend
view env/ui/contextbar.lua @ 1190:9700ce0d5541
Update installation instructions regarding Moonbridge command line options; Typo in heading of installation instructions fixed
| author | jbe | 
|---|---|
| date | Sun Mar 29 20:31:32 2015 +0200 (2015-03-29) | 
| parents | 701a5cf6b067 | 
| children | 
 line source
     1 function ui.contextbar ( arg1, arg2 )
     3   local class = "sidebarSection"
     4   local content
     6   if arg2 then
     7     class = class .. " " .. arg1
     8     content = arg2
     9   else
    10     content = arg1
    11   end
    13   slot.select ( "contextbar", function ()
    14     ui.container { attr = { class = class }, content = content }
    15   end )
    17 end
